{"openapi": "3.0.3", "info": {"title": "Diretório de teste MTProto do Telegram", "version": "0.1.0", "description": "Каталог методов клиентского API Telegram."}, "servers": [{"url": "."}], "tags": [{"name": "Métodos utilitários", "description": "Operações Globais de TL."}, {"name": "Autorização", "description": "Namespace TL: auth."}, {"name": "Conta", "description": "Namespace TL: account."}, {"name": "Usuários", "description": "Namespace TL: users."}, {"name": "Contatos", "description": "Namespace TL: contacts."}, {"name": "Mensagens", "description": "Namespace TL: messages."}, {"name": "Atualizações", "description": "Namespace TL: updates."}, {"name": "Fotos", "description": "Namespace TL: photos."}, {"name": "Arquivos", "description": "Namespace TL: upload."}, {"name": "Configuração e Ajuda", "description": "Namespace TL: help."}, {"name": "Canais e supergrupos", "description": "Namespace TL: channels."}, {"name": "Robôs", "description": "Namespace TL: bots."}, {"name": "Pagamentos", "description": "Namespace TL: payments."}, {"name": "Adesivos", "description": "Namespace TL: stickers."}, {"name": "Chamadas", "description": "Namespace TL: phone."}, {"name": "Traduções", "description": "Namespace TL: langpack."}, {"name": "Pastas", "description": "Namespace TL: folders."}, {"name": "Estatísticas", "description": "Namespace TL: stats."}, {"name": "Pastas de bate-papo", "description": "Namespace TL: chatlists."}, {"name": "Histórias", "description": "Namespace TL: stories."}, {"name": "Telegram Premium", "description": "Namespace TL: premium."}, {"name": "SMS", "description": "Namespace TL: smsjobs."}, {"name": "Fragment", "description": "Namespace TL: fragment."}, {"name": "Editor com IA", "description": "Namespace TL: aicompose."}, {"name": "Comunidades", "description": "Namespace TL: communities."}, {"name": "Mensagens temporárias", "description": "Namespace TL: ephemeral."}, {"name": "TON Center", "description": "Namespace TL: toncenter."}, {"name": "Carteira", "description": "Namespace TL: wallet."}, {"name": "Feed", "description": "Namespace TL: feed."}], "paths": {"/catalog/invokeAfterMsg": {"post": {"operationId": "invokeAfterMsg", "tags": ["Métodos utilitários"], "summary": "Execute uma solicitação depois que outra for concluída com sucesso", "description": "O Telegram executará a solicitação aninhada após a anterior ser bem-sucedida. O cliente pode enviar ambas as solicitações com antecedência. Disponível para usuários e bots. [Consultas sequenciais](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 MTProto · `X`.\n\nO tipo de X é igual ao tipo de resultado do método aninhado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo TL: X."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- `MSG_WAIT_TIMEOUT` — A solicitação anterior expirou.\n- `MSG_WAIT_FAILED` — A solicitação anterior falhou com um erro RPC."}}, "externalDocs": {"description": "Documentação oficial do 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": "O ID de transporte de 64 bits da solicitação MTProto anterior.", "x-tl-type": "long"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "Uma solicitação TL aninhada que o Telegram executará após a anterior."}}, "additionalProperties": false, "required": ["msg_id", "query"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `msg_id` | `long` | Sim | O ID de transporte de 64 bits da solicitação MTProto anterior. |\n| `query` | `!X` | Sim | Uma solicitação TL aninhada que o Telegram executará após a anterior. |"}, "x-telegram-rpc-errors": ["MSG_WAIT_TIMEOUT", "MSG_WAIT_FAILED"], "x-browser-schema-id": "3416209197"}}, "/catalog/invokeAfterMsgs": {"post": {"operationId": "invokeAfterMsgs", "tags": ["Métodos utilitários"], "summary": "Invoca uma consulta após a conclusão bem-sucedida de consultas anteriores", "description": "Invoca uma consulta após a conclusão bem-sucedida de 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 MTProto · `X`.\n\nRetorna o tipo retornado pelo método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo TL: X."}}}}}, "externalDocs": {"description": "Documentação oficial do 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista de mensagens das quais depende uma consulta atual"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "A consulta em si"}}, "additionalProperties": false, "required": ["msg_ids", "query"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `msg_ids` | `Vector<long>` | Sim | Lista de mensagens das quais depende uma consulta atual |\n| `query` | `!X` | Sim | A consulta em si |"}, "x-browser-schema-id": "1036301552"}}, "/catalog/initConnection": {"post": {"operationId": "initConnection", "tags": ["Métodos utilitários"], "summary": "Inicializar conexão", "description": "Inicializar conexão\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 MTProto · `X`.\n\nRetorna o tipo retornado pelo método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo TL: X."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CONNECTION_LAYER_INVALID` — Camada inválida."}}, "externalDocs": {"description": "Documentação oficial do 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 do aplicativo (consulte. [Configuração do aplicativo](https://core.telegram.org/myapp))"}, "device_model": {"type": "string", "x-tl-type": "string", "description": "Modelo do dispositivo"}, "system_version": {"type": "string", "x-tl-type": "string", "description": "Versão do sistema operacional"}, "app_version": {"type": "string", "x-tl-type": "string", "description": "Versão do aplicativo"}, "system_lang_code": {"type": "string", "x-tl-type": "string", "description": "Código para o idioma usado no sistema operacional do dispositivo, padrão 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": "Um código de idioma ISO 639-1 ou um nome de pacote de idiomas obtido de um [link do pacote de idiomas](https://core.telegram.org/api/links.md#language-pack-links)."}, "proxy": {"type": "object", "x-tl-type": "InputClientProxy", "oneOf": [{"$ref": "#/components/schemas/inputClientProxy"}], "description": "Informações sobre um 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 initConnection adicionais.  Por enquanto, apenas o campo `tz_offset` é suportado, para especificar o deslocamento do fuso horário em segundos.", "x-tl-flag": "flags.1?JSONValue"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "A consulta em si"}}, "additionalProperties": false, "required": ["api_id", "device_model", "system_version", "app_version", "system_lang_code", "lang_pack", "lang_code", "query"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `api_id` | `int` | Sim | Identificador do aplicativo (consulte. [Configuração do aplicativo](https://core.telegram.org/myapp)) |\n| `device_model` | `string` | Sim | Modelo do dispositivo |\n| `system_version` | `string` | Sim | Versão do sistema operacional |\n| `app_version` | `string` | Sim | Versão do aplicativo |\n| `system_lang_code` | `string` | Sim | Código para o idioma usado no sistema operacional do dispositivo, padrão ISO 639-1 |\n| `lang_pack` | `string` | Sim | Identificador de plataforma (i.e. `android`, `tdesktop`, etc). |\n| `lang_code` | `string` | Sim | Um código de idioma ISO 639-1 ou um nome de pacote de idiomas obtido de um [link do pacote de idiomas](https://core.telegram.org/api/links.md#language-pack-links). |\n| `proxy` | `InputClientProxy` | Não | Informações sobre um proxy MTProto |\n| `params` | `JSONValue` | Não | Parâmetros initConnection adicionais.  Por enquanto, apenas o campo `tz_offset` é suportado, para especificar o deslocamento do fuso horário em segundos. |\n| `query` | `!X` | Sim | A consulta em si |"}, "x-telegram-rpc-errors": ["CONNECTION_LAYER_INVALID"], "x-browser-schema-id": "3251461801"}}, "/catalog/invokeWithLayer": {"post": {"operationId": "invokeWithLayer", "tags": ["Métodos utilitários"], "summary": "Invoque a consulta especificada usando a camada API especificada", "description": "Invoque a consulta especificada usando o API [camada](https://core.telegram.org/api/invoking.md#layers) especificado\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Chamando métodos API](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 MTProto · `X`.\n\nRetorna o tipo retornado pelo método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo TL: X."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `AUTH_BYTES_INVALID` — A autorização fornecida é inválida.\n- 400 · `CDN_METHOD_INVALID` — Você não pode chamar este método em um DC CDN.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `CONNECTION_API_ID_INVALID` — O ID API fornecido é inválido.\n- 400 · `CONNECTION_LAYER_INVALID` — Camada inválida.\n- 406 · `INVITE_HASH_EXPIRED` — O link de convite expirou."}}, "externalDocs": {"description": "Documentação oficial do 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": "A camada a ser usada"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "A consulta"}}, "additionalProperties": false, "required": ["layer", "query"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `layer` | `int` | Sim | A camada a ser usada |\n| `query` | `!X` | Sim | A 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 utilitários"], "summary": "Invoque uma solicitação sem inscrever a conexão usada para atualizações (isso é habilitado por padrão para consultas de arquivos).", "description": "Invoque uma solicitação sem assinar a conexão usada para [updates](https://core.telegram.org/api/updates.md) (isso é habilitado por padrão para [file queries](https://core.telegram.org/api/files.md)).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Fazendo upload e download de arquivos](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 MTProto · `X`.\n\nRetorna o tipo retornado pelo método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo TL: X."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "A consulta"}}, "additionalProperties": false, "required": ["query"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `query` | `!X` | Sim | A consulta |"}, "x-browser-schema-id": "3214170551"}}, "/catalog/invokeWithMessagesRange": {"post": {"operationId": "invokeWithMessagesRange", "tags": ["Métodos utilitários"], "summary": "Invocar com o intervalo de mensagens fornecido", "description": "Invocar com o intervalo de mensagens fornecido", "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 MTProto · `X`.\n\nRetorna o tipo retornado pelo método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo TL: X."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Intervalo de mensagens"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "Consulta"}}, "additionalProperties": false, "required": ["range", "query"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `range` | `MessageRange` | Sim | Intervalo de mensagens |\n| `query` | `!X` | Sim | Consulta |"}, "x-browser-schema-id": "911373810"}}, "/catalog/invokeWithTakeout": {"post": {"operationId": "invokeWithTakeout", "tags": ["Métodos utilitários"], "summary": "Invoque um método em uma sessão de entrega, veja aqui » para mais informações.", "description": "Invoque um método dentro de uma [sessão de entrega, veja aqui » para mais informações](https://core.telegram.org/api/takeout.md).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Para viagem 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 MTProto · `X`.\n\nRetorna o tipo retornado pelo método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo TL: X."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 da sessão para viagem »](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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `takeout_id` | `long` | Sim | [ID da sessão para viagem »](https://core.telegram.org/api/takeout.md) |\n| `query` | `!X` | Sim | Consulta |"}, "x-browser-schema-id": "2896821550"}}, "/catalog/invokeWithBusinessConnection": {"post": {"operationId": "invokeWithBusinessConnection", "tags": ["Métodos utilitários"], "summary": "Invoque um método usando uma conexão Telegram Business Bot, veja aqui » para mais informações, incluindo uma lista dos métodos que podem ser agrupados neste construtor.", "description": "Invoque um método usando uma [conexão Telegram Business Bot, veja aqui » para obter mais informações, incluindo uma lista dos métodos que podem ser agrupados neste construtor](https://core.telegram.org/api/bots/connected-business-bots.md).\n\nCertifique-se de sempre enviar consultas agrupadas em `invokeWithBusinessConnection` para o ID do datacenter, especificado no campo `dc_id` do [botBusinessConnection](https://core.telegram.org/constructor/botBusinessConnection.md) que está sendo usado.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Bots de negócios 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 MTProto · `X`.\n\nRetorna o tipo retornado pelo método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo TL: X."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 conexão comercial."}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "A consulta real."}}, "additionalProperties": false, "required": ["connection_id", "query"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `connection_id` | `string` | Sim | ID de conexão comercial. |\n| `query` | `!X` | Sim | A consulta real. |"}, "x-browser-schema-id": "3710427022"}}, "/catalog/invokeWithGooglePlayIntegrity": {"post": {"operationId": "invokeWithGooglePlayIntegrity", "tags": ["Métodos utilitários"], "summary": "Somente clientes oficiais, invoque com o token Google Play Integrity.", "description": "Somente clientes oficiais, invoque com o token Google Play Integrity.", "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 MTProto · `X`.\n\nRetorna o tipo retornado pelo método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo TL: X."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Uma vez."}, "token": {"type": "string", "x-tl-type": "string", "description": "Símbolo."}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "Consulta."}}, "additionalProperties": false, "required": ["nonce", "token", "query"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `nonce` | `string` | Sim | Uma vez. |\n| `token` | `string` | Sim | Símbolo. |\n| `query` | `!X` | Sim | Consulta. |"}, "x-browser-schema-id": "502868356"}}, "/catalog/invokeWithApnsSecret": {"post": {"operationId": "invokeWithApnsSecret", "tags": ["Métodos utilitários"], "summary": "Somente clientes oficiais, invoque com verificação push da Apple.", "description": "Somente clientes oficiais, invoque com verificação push da 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 MTProto · `X`.\n\nRetorna o tipo retornado pelo método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo TL: X."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Uma vez."}, "secret": {"type": "string", "x-tl-type": "string", "description": "Segredo."}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "Consulta."}}, "additionalProperties": false, "required": ["nonce", "secret", "query"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `nonce` | `string` | Sim | Uma vez. |\n| `secret` | `string` | Sim | Segredo. |\n| `query` | `!X` | Sim | Consulta. |"}, "x-browser-schema-id": "229528824"}}, "/catalog/invokeWithReCaptcha": {"post": {"operationId": "invokeWithReCaptcha", "tags": ["Métodos utilitários"], "summary": "Somente clientes oficiais: execute novamente uma chamada de método que exigia verificação reCAPTCHA por meio de `RECAPTCHA_CHECK_%s__%s`, onde o primeiro espaço reservado é `action` e o segundo é o ID da chave reCAPTCHA.", "description": "Somente clientes oficiais: execute novamente uma chamada de método que exigia verificação reCAPTCHA por meio de `RECAPTCHA_CHECK_%s__%s`, onde o primeiro espaço reservado é `action` e o segundo é o ID da chave 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 MTProto · `X`.\n\nRetorna o tipo retornado pelo método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo TL: X."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 recebido após verificação."}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "A chamada do método original."}}, "additionalProperties": false, "required": ["token", "query"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `token` | `string` | Sim | Token reCAPTCHA recebido após verificação. |\n| `query` | `!X` | Sim | A chamada do método original. |"}, "x-browser-schema-id": "2914717588"}}, "/catalog/auth.sendCode": {"post": {"operationId": "auth.sendCode", "tags": ["Autorização"], "summary": "Envie o código de verificação para login", "description": "Envie o código de verificação para login\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: auth.SentCode."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `API_ID_INVALID` — API ID inválido.\n- 400 · `API_ID_PUBLISHED_FLOOD` — Este id API foi publicado em algum lugar, você não pode usá-lo agora.\n- 500 · `AUTH_RESTART` — Reinicie o processo de autorização.\n- 500 · `AUTH_RESTART_%d` — Erro interno (informações de depuração %d), repita a chamada do método.\n- 400 · `PHONE_NUMBER_APP_SIGNUP_FORBIDDEN` — Você não pode se inscrever usando este aplicativo.\n- 400 · `PHONE_NUMBER_BANNED` — O número de telefone fornecido foi banido do telegrama.\n- 400 · `PHONE_NUMBER_FLOOD` — Você pediu o código muitas vezes.\n- 406 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido.\n- 406 · `PHONE_PASSWORD_FLOOD` — Você tentou fazer login muitas vezes.\n- 400 · `PHONE_PASSWORD_PROTECTED` — Este telefone é protegido por senha.\n- 400 · `SMS_CODE_CREATE_FAILED` — Ocorreu um erro ao criar o código SMS.\n- 406 · `UPDATE_APP_TO_LOGIN` — Por favor atualize seu cliente para fazer login."}}, "externalDocs": {"description": "Documentação oficial do 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 telefone em formato internacional"}, "api_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificador do aplicativo (consulte [Configuração do aplicativo](https://core.telegram.org/myapp))"}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Hash secreto do aplicativo (consulte [Configuração do aplicativo](https://core.telegram.org/myapp))"}, "settings": {"type": "object", "x-tl-type": "CodeSettings", "oneOf": [{"$ref": "#/components/schemas/codeSettings"}], "description": "Configurações para o tipo de código a ser enviado"}}, "additionalProperties": false, "required": ["phone_number", "api_id", "api_hash", "settings"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Sim | Número de telefone em formato internacional |\n| `api_id` | `int` | Sim | Identificador do aplicativo (consulte [Configuração do aplicativo](https://core.telegram.org/myapp)) |\n| `api_hash` | `string` | Sim | Hash secreto do aplicativo (consulte [Configuração do aplicativo](https://core.telegram.org/myapp)) |\n| `settings` | `CodeSettings` | Sim | Configurações para o tipo de código a ser enviado |"}, "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": ["Autorização"], "summary": "Registra um número de telefone validado no sistema.", "description": "Registra um número de telefone validado no sistema.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: auth.Authorization."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `FIRSTNAME_INVALID` — O primeiro nome é inválido.\n- 400 · `LASTNAME_INVALID` — O sobrenome é inválido.\n- 400 · `PHONE_CODE_EMPTY` — phone_code está faltando.\n- 400 · `PHONE_CODE_EXPIRED` — O código de telefone fornecido expirou.\n- 400 · `PHONE_CODE_INVALID` — O código de telefone fornecido é inválido.\n- 400 · `PHONE_NUMBER_FLOOD` — Você pediu o código muitas vezes.\n- 406 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido.\n- 400 · `PHONE_NUMBER_OCCUPIED` — O número de telefone já está em uso."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, os usuários do Telegram que já adicionaram `phone_number` aos seus contatos *não* receberão notificações de inscrição sobre este usuário."}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Número de telefone no formato internacional"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "SMS-ID da mensagem"}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Nome do novo usuário"}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Sobrenome do novo usuário"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash", "first_name", "last_name"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `no_joined_notifications` | `true` | Não | Se definido, os usuários do Telegram que já adicionaram `phone_number` aos seus contatos *não* receberão notificações de inscrição sobre este usuário. |\n| `phone_number` | `string` | Sim | Número de telefone no formato internacional |\n| `phone_code_hash` | `string` | Sim | SMS-ID da mensagem |\n| `first_name` | `string` | Sim | Nome do novo usuário |\n| `last_name` | `string` | Sim | Sobrenome do novo usuário |"}, "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": ["Autorização"], "summary": "Conecta um usuário com um número de telefone validado.", "description": "Conecta um usuário com um número de telefone validado.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: auth.Authorization."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 500 · `AUTH_RESTART` — Reinicie o processo de autorização.\n- 400 · `PHONE_CODE_EMPTY` — phone_code está faltando.\n- 400 · `PHONE_CODE_EXPIRED` — O código de telefone fornecido expirou.\n- 400 · `PHONE_CODE_INVALID` — O código de telefone fornecido é inválido.\n- 406 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido.\n- 400 · `PHONE_NUMBER_UNOCCUPIED` — O número de telefone ainda não está sendo usado.\n- 500 · `SIGN_IN_FAILED` — Falha ao fazer login.\n- 406 · `UPDATE_APP_TO_LOGIN` — Por favor atualize seu cliente para fazer login."}}, "externalDocs": {"description": "Documentação oficial do 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 telefone no formato internacional"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "SMS-ID da mensagem, obtido 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 da mensagem 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 ou token de verificação de e-mail", "x-tl-flag": "flags.1?EmailVerification"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Sim | Número de telefone no formato internacional |\n| `phone_code_hash` | `string` | Sim | SMS-ID da mensagem, obtido de [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `phone_code` | `string` | Não | Código numérico válido da mensagem SMS |\n| `email_verification` | `EmailVerification` | Não | Código ou token de verificação de e-mail |"}, "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": ["Autorização"], "summary": "Efetua logout do usuário.", "description": "Efetua logout do usuário.", "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 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": "Digite TL: auth.LoggedOut."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/auth.logOut"}, "x-browser-schema-id": "1047706137"}}, "/catalog/auth.resetAuthorizations": {"post": {"operationId": "auth.resetAuthorizations", "tags": ["Autorização"], "summary": "Encerra todas as sessões autorizadas do usuário, exceto a atual.", "description": "Encerra todas as sessões autorizadas do usuário, exceto a atual.\n\nApós chamar este método é necessário registrar novamente o dispositivo atual utilizando o método [account.registerDevice](https://core.telegram.org/method/account.registerDevice.md)\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 406 · `FRESH_RESET_AUTHORISATION_FORBIDDEN` — Você não pode sair de outras sessões se menos de 24 horas se passaram desde que você entrou na sessão atual."}}, "externalDocs": {"description": "Documentação oficial do 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": ["Autorização"], "summary": "Retorna dados para autorização de cópia para outro datacenter.", "description": "Retorna dados para autorização de cópia para outro datacenter.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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": "Digite TL: auth.ExportedAuthorization."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `DC_ID_INVALID` — O DC ID fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 um data center de destino"}}, "additionalProperties": false, "required": ["dc_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `dc_id` | `int` | Sim | Número de um data center de destino |"}, "x-telegram-rpc-errors": ["DC_ID_INVALID"], "x-browser-schema-id": "3854565325"}}, "/catalog/auth.importAuthorization": {"post": {"operationId": "auth.importAuthorization", "tags": ["Autorização"], "summary": "Efetua login de um usuário usando uma chave transmitida de seu data center nativo.", "description": "Efetua login de um usuário usando uma chave transmitida de seu data center nativo.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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": "Digite TL: auth.Authorization."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `AUTH_BYTES_INVALID` — A autorização fornecida é inválida.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do usuário", "x-tl-type": "long"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Chave de autorização"}}, "additionalProperties": false, "required": ["id", "bytes"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `long` | Sim | ID do usuário |\n| `bytes` | `bytes` | Sim | Chave de autorização |"}, "x-telegram-rpc-errors": ["AUTH_BYTES_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "2776268205"}}, "/catalog/auth.bindTempAuthKey": {"post": {"operationId": "auth.bindTempAuthKey", "tags": ["Autorização"], "summary": "Vincula uma chave de autorização temporária `temp_auth_key_id` à chave de autorização permanente `perm_auth_key_id`.", "description": "Vincula uma chave de autorização temporária `temp_auth_key_id` à chave de autorização permanente `perm_auth_key_id`.\n\nPara obter mais informações, consulte [Sigilo de encaminhamento perfeito](https://core.telegram.org/api/pfs.md).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Sigilo de Encaminhamento Perfeito](https://core.telegram.org/api/pfs.md)\n- [Protocolo móvel: descrição detalhada](https://core.telegram.org/mtproto/description.md)\n- [Chamando métodos API](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `ENCRYPTED_MESSAGE_INVALID` — Mensagem criptografada inválida.\n- 400 · `EXPIRES_AT_INVALID` — O carimbo de data/hora `expires_at` especificado é inválido.\n- 400 · `TEMP_AUTH_KEY_ALREADY_BOUND` — A chave temporária passada já está vinculada a outra **perm_auth_key_id**.\n- 400 · `TEMP_AUTH_KEY_EMPTY` — Nenhuma chave de autenticação temporária fornecida."}}, "externalDocs": {"description": "Documentação oficial do 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 vincular", "x-tl-type": "long"}, "nonce": {"type": "string", "pattern": "^-?\\d+$", "description": "Longo aleatório de [Conteúdo da mensagem de ligação](#binding-message-contents)", "x-tl-type": "long"}, "expires_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Carimbo de data e hora Unix para invalidar a chave temporária, consulte [Conteúdo da mensagem de ligação](#binding-message-contents)"}, "encrypted_message": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Consulte [Gerando encrypted_message](#generating-encrypted-message)"}}, "additionalProperties": false, "required": ["perm_auth_key_id", "nonce", "expires_at", "encrypted_message"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `perm_auth_key_id` | `long` | Sim | Permanente auth_key_id para vincular |\n| `nonce` | `long` | Sim | Longo aleatório de [Conteúdo da mensagem de ligação](#binding-message-contents) |\n| `expires_at` | `int` | Sim | Carimbo de data e hora Unix para invalidar a chave temporária, consulte [Conteúdo da mensagem de ligação](#binding-message-contents) |\n| `encrypted_message` | `bytes` | Sim | Consulte [Gerando 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": ["Autorização"], "summary": "Faça login como um bot", "description": "Faça login como um bot\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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": "Digite TL: auth.Authorization."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `ACCESS_TOKEN_EXPIRED` — O token de acesso expirou.\n- 400 · `ACCESS_TOKEN_INVALID` — Token de acesso inválido.\n- 400 · `API_ID_INVALID` — API ID inválido.\n- 400 · `API_ID_PUBLISHED_FLOOD` — Este id API foi publicado em algum lugar, você não pode usá-lo agora."}}, "externalDocs": {"description": "Documentação oficial do 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 do aplicativo (consulte. [Configuração do aplicativo](https://core.telegram.org/myapp))"}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Hash do identificador do aplicativo (consulte. [Configuração do aplicativo](https://core.telegram.org/myapp))"}, "bot_auth_token": {"type": "string", "x-tl-type": "string", "description": "Token de bot (veja [bots](https://core.telegram.org/bots.md))"}}, "additionalProperties": false, "required": ["flags", "api_id", "api_hash", "bot_auth_token"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `flags` | `int` | Sim | Reservado para uso futuro |\n| `api_id` | `int` | Sim | Identificador do aplicativo (consulte. [Configuração do aplicativo](https://core.telegram.org/myapp)) |\n| `api_hash` | `string` | Sim | Hash do identificador do aplicativo (consulte. [Configuração do aplicativo](https://core.telegram.org/myapp)) |\n| `bot_auth_token` | `string` | Sim | Token de bot (veja [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": ["Autorização"], "summary": "Tente fazer login em uma conta protegida por uma senha 2FA.", "description": "Tente fazer login em uma conta protegida por [senha 2FA](https://core.telegram.org/api/srp.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](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 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": "Digite TL: auth.Authorization."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 500 · `AUTH_KEY_UNSYNCHRONIZED` — Erro interno, repita a chamada do método.\n- 400 · `PASSWORD_HASH_INVALID` — O hash da senha fornecido é inválido.\n- 400 · `SRP_ID_INVALID` — SRP ID fornecido inválido.\n- 400 · `SRP_PASSWORD_CHANGED` — A senha foi alterada."}}, "externalDocs": {"description": "Documentação oficial do 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": "A senha da conta (veja [SRP](https://core.telegram.org/api/srp.md))"}}, "additionalProperties": false, "required": ["password"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | Sim | A senha da conta (veja [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": ["Autorização"], "summary": "Solicite o código de recuperação de uma senha 2FA, apenas para contas com email de recuperação configurado.", "description": "Solicite o código de recuperação de uma [senha 2FA](https://core.telegram.org/api/srp.md), apenas para contas com um [e-mail de recuperação configurado](https://core.telegram.org/api/srp.md#email-verification).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](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 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": "Digite TL: auth.PasswordRecovery."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PASSWORD_EMPTY` — A senha fornecida está vazia.\n- 400 · `PASSWORD_RECOVERY_NA` — Nenhum e-mail foi definido, não é possível recuperar a senha por e-mail."}}, "externalDocs": {"description": "Documentação oficial do 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": ["Autorização"], "summary": "Redefina a senha 2FA usando o código de recuperação enviado usando auth.requestPasswordRecovery.", "description": "Redefina a [senha 2FA](https://core.telegram.org/api/srp.md) usando o código de recuperação enviado usando [auth.requestPasswordRecovery](https://core.telegram.org/method/auth.requestPasswordRecovery.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](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 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": "Digite TL: auth.Authorization."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CODE_EMPTY` — O código fornecido está vazio.\n- 400 · `NEW_SETTINGS_INVALID` — As novas configurações de senha são inválidas."}}, "externalDocs": {"description": "Documentação oficial do 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 recebido por e-mail"}, "new_settings": {"type": "object", "x-tl-type": "account.PasswordInputSettings", "oneOf": [{"$ref": "#/components/schemas/account.passwordInputSettings"}], "description": "Nova senha", "x-tl-flag": "flags.0?account.PasswordInputSettings"}}, "additionalProperties": false, "required": ["code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `code` | `string` | Sim | Código recebido por e-mail |\n| `new_settings` | `account.PasswordInputSettings` | Não | Nova senha |"}, "x-telegram-rpc-errors": ["CODE_EMPTY", "NEW_SETTINGS_INVALID"], "x-browser-schema-id": "923364464"}}, "/catalog/auth.resendCode": {"post": {"operationId": "auth.resendCode", "tags": ["Autorização"], "summary": "Reenvie o código de login por outro meio, o tipo de código do telefone é determinado pelo valor de retorno do auth.sendCode/auth.resendCode anterior: veja login para mais informações.", "description": "Reenvie o código de login por outro meio, o tipo de código do telefone é determinado pelo valor de retorno do auth.sendCode/auth.resendCode anterior: consulte [login](https://core.telegram.org/api/auth.md) para obter mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autorização do usuário](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 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": "Digite TL: auth.SentCode."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `EMAIL_INSTALL_MISSING` — Tentativa de enviar um código para o e-mail de recuperação, mas nenhum e-mail está configurado.\n- 400 · `PHONE_CODE_EMPTY` — phone_code está faltando.\n- 400 · `PHONE_CODE_EXPIRED` — O código de telefone fornecido expirou.\n- 400 · `PHONE_CODE_HASH_EMPTY` — phone_code_hash está faltando.\n- 406 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido.\n- 406 · `SEND_CODE_UNAVAILABLE` — Retornado quando todas as opções disponíveis para este tipo de número já foram usadas (e.g. flash-call, depois SMS, então este erro pode ser retornado para acionar um segundo reenvio)."}}, "externalDocs": {"description": "Documentação oficial do 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": "O número de telefone"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "O hash do código do telefone obtido 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": "Apenas clientes oficiais, usados se a verificação da integridade do dispositivo falhar e nenhum segredo puder ser obtido para invocar [auth.requestFirebaseSms](https://core.telegram.org/method/auth.requestFirebaseSms.md): neste caso, o motivo da falha na verificação da integridade do dispositivo deve ser passado aqui."}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Sim | O número de telefone |\n| `phone_code_hash` | `string` | Sim | O hash do código do telefone obtido de [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `reason` | `string` | Não | Apenas clientes oficiais, usados se a verificação da integridade do dispositivo falhar e nenhum segredo puder ser obtido para invocar [auth.requestFirebaseSms](https://core.telegram.org/method/auth.requestFirebaseSms.md): neste caso, o motivo da falha na verificação da integridade do dispositivo deve ser passado aqui. |"}, "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": ["Autorização"], "summary": "Cancelar o código de verificação de login", "description": "Cancelar o código de verificação de login\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PHONE_CODE_EXPIRED` — O código de telefone fornecido expirou.\n- 406 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 telefone"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash do código do telefone de [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md)"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Sim | Número de telefone |\n| `phone_code_hash` | `string` | Sim | Hash do código do telefone 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": ["Autorização"], "summary": "Exclua todas as chaves de autorização temporárias **exceto** as especificadas", "description": "Exclua todas as chaves de autorização temporárias **exceto** as 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "As chaves de autenticação que **não devem** ser descartadas."}}, "additionalProperties": false, "required": ["except_auth_keys"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `except_auth_keys` | `Vector<long>` | Sim | As chaves de autenticação que **não devem** ser descartadas. |"}, "x-browser-schema-id": "2387124616"}}, "/catalog/auth.exportLoginToken": {"post": {"operationId": "auth.exportLoginToken", "tags": ["Autorização"], "summary": "Gere um token de login, para login via código QR.", "description": "Gere um token de login, para [login via código QR](https://core.telegram.org/api/qr-login.md).\nO token de login gerado deve ser codificado usando base64url e mostrado como `tg://login?token=base64encodedtoken` [link direto »](https://core.telegram.org/api/links.md#qr-code-login-links) no código QR.\n\nPara mais informações, consulte [login via código QR](https://core.telegram.org/api/qr-login.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Faça login através do código QR](https://core.telegram.org/api/qr-login.md)\n- [Links diretos](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 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": "Digite TL: auth.LoginToken."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `API_ID_INVALID` — API ID inválido.\n- 400 · `API_ID_PUBLISHED_FLOOD` — Este id API foi publicado em algum lugar, você não pode usá-lo agora.\n- 500 · `AUTH_RESTART` — Reinicie o processo de autorização."}}, "externalDocs": {"description": "Documentação oficial do 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 do aplicativo (consulte. [Configuração do aplicativo](https://core.telegram.org/myapp))"}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Hash do identificador do aplicativo (consulte. [Configuração do aplicativo](https://core.telegram.org/myapp))"}, "except_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista de IDs de usuários já logados, para evitar login duas vezes com o mesmo usuário"}}, "additionalProperties": false, "required": ["api_id", "api_hash", "except_ids"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `api_id` | `int` | Sim | Identificador do aplicativo (consulte. [Configuração do aplicativo](https://core.telegram.org/myapp)) |\n| `api_hash` | `string` | Sim | Hash do identificador do aplicativo (consulte. [Configuração do aplicativo](https://core.telegram.org/myapp)) |\n| `except_ids` | `Vector<long>` | Sim | Lista de IDs de usuários já logados, para evitar login duas vezes com o mesmo usuário |"}, "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": ["Autorização"], "summary": "Faça login usando um token de login redirecionado, gerado em caso de incompatibilidade de DC durante o login do código QR.", "description": "Faça login usando um token de login redirecionado, gerado em caso de incompatibilidade de DC durante [login com código QR](https://core.telegram.org/api/qr-login.md).\n\nPara mais informações, consulte [login via código QR](https://core.telegram.org/api/qr-login.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Faça login através do 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 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": "Digite TL: auth.LoginToken."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `AUTH_TOKEN_ALREADY_ACCEPTED` — O token de autenticação especificado já foi aceito.\n- 400 · `AUTH_TOKEN_EXPIRED` — O token de autorização expirou.\n- 400 · `AUTH_TOKEN_INVALID` — O token de autenticação especificado é inválido.\n- 400 · `AUTH_TOKEN_INVALIDX` — O token de autenticação especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 login"}}, "additionalProperties": false, "required": ["token"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `token` | `bytes` | Sim | Token de login |"}, "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": ["Autorização"], "summary": "Aceite o token de login do código QR, efetuando login no aplicativo que o gerou.", "description": "Aceite o token de login do código QR, efetuando login no aplicativo que o gerou.\n\nRetorna informações sobre a nova sessão.\n\nPara mais informações, consulte [login via código QR](https://core.telegram.org/api/qr-login.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Faça login através do 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 MTProto · `Authorization`.\n\n[Autorização](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: Autorização."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `AUTH_TOKEN_ALREADY_ACCEPTED` — O token de autenticação especificado já foi aceito.\n- 400 · `AUTH_TOKEN_EXCEPTION` — Ocorreu um erro ao importar o token de autenticação.\n- 400 · `AUTH_TOKEN_EXPIRED` — O token de autorização expirou.\n- 400 · `AUTH_TOKEN_INVALIDX` — O token de autenticação especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 login incorporado no código QR, para mais informações, consulte [login via código QR](https://core.telegram.org/api/qr-login.md)."}}, "additionalProperties": false, "required": ["token"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `token` | `bytes` | Sim | Token de login incorporado no código QR, para mais informações, consulte [login via 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": ["Autorização"], "summary": "Verifique se o código de recuperação 2FA enviado usando auth.requestPasswordRecovery é válido, antes de passá-lo para auth.recoverPassword.", "description": "Verifique se o [código de recuperação 2FA](https://core.telegram.org/api/srp.md) enviado usando [auth.requestPasswordRecovery](https://core.telegram.org/method/auth.requestPasswordRecovery.md) é válido, antes de passá-lo para [auth.recoverPassword](https://core.telegram.org/method/auth.recoverPassword.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CODE_EMPTY` — O código fornecido está vazio.\n- 400 · `PASSWORD_RECOVERY_EXPIRED` — O código de recuperação expirou."}}, "externalDocs": {"description": "Documentação oficial do 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 recebido por e-mail"}}, "additionalProperties": false, "required": ["code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `code` | `string` | Sim | Código recebido por e-mail |"}, "x-telegram-rpc-errors": ["CODE_EMPTY", "PASSWORD_RECOVERY_EXPIRED"], "x-browser-schema-id": "221691769"}}, "/catalog/auth.importWebTokenAuthorization": {"post": {"operationId": "auth.importWebTokenAuthorization", "tags": ["Autorização"], "summary": "Faça login importando um token de autorização", "description": "Faça login importando um token de autorização\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Criando seu aplicativo 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 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": "Digite TL: auth.Authorization."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `API_ID_INVALID` — API ID inválido.\n- 400 · `WEBAUTH_TOKEN_EXPIRED` — O token de autenticação especificado expirou."}}, "externalDocs": {"description": "Documentação oficial do 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": "[APIID](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": "O token de autorização"}}, "additionalProperties": false, "required": ["api_id", "api_hash", "web_auth_token"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `api_id` | `int` | Sim | [APIID](https://core.telegram.org/api/obtaining_api_id.md) |\n| `api_hash` | `string` | Sim | [API hash](https://core.telegram.org/api/obtaining_api_id.md) |\n| `web_auth_token` | `string` | Sim | O token de autorização |"}, "x-telegram-rpc-errors": ["API_ID_INVALID", "WEBAUTH_TOKEN_EXPIRED"], "x-browser-schema-id": "767062953"}}, "/catalog/auth.requestFirebaseSms": {"post": {"operationId": "auth.requestFirebaseSms", "tags": ["Autorização"], "summary": "Solicite um código SMS via Firebase.", "description": "Solicite um código SMS via Firebase.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autorização do usuário](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PHONE_CODE_EMPTY` — phone_code está faltando.\n- 400 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 telefone"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash do código do telefone retornado 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": "No Android, um objeto JWS obtido conforme descrito na [documentação de autenticação »](https://core.telegram.org/api/auth.md)"}, "play_integrity_token": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "No Android, um objeto obtido conforme descrito na [documentação de autenticação »](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 recebido por meio de uma notificação push da Apple"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Sim | Número de telefone |\n| `phone_code_hash` | `string` | Sim | Hash do código do telefone retornado por [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `safety_net_token` | `string` | Não | No Android, um objeto JWS obtido conforme descrito na [documentação de autenticação »](https://core.telegram.org/api/auth.md) |\n| `play_integrity_token` | `string` | Não | No Android, um objeto obtido conforme descrito na [documentação de autenticação »](https://core.telegram.org/api/auth.md) |\n| `ios_push_secret` | `string` | Não | Token secreto recebido por meio de uma notificação push da Apple |"}, "x-telegram-rpc-errors": ["PHONE_CODE_EMPTY", "PHONE_NUMBER_INVALID"], "x-browser-schema-id": "2386109982"}}, "/catalog/auth.resetLoginEmail": {"post": {"operationId": "auth.resetLoginEmail", "tags": ["Autorização"], "summary": "Redefinir o e-mail de login ».", "description": "Redefina o [e-mail de login »](https://core.telegram.org/api/auth.md#email-verification).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autorização do usuário](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 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": "Digite TL: auth.SentCode."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `EMAIL_INSTALL_MISSING` — Tentativa de enviar um código para o e-mail de recuperação, mas nenhum e-mail está configurado.\n- 400 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido.\n- 400 · `TASK_ALREADY_EXISTS` — Já foi solicitada uma redefinição de e-mail."}}, "externalDocs": {"description": "Documentação oficial do 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 telefone da conta"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash do código do telefone, obtido conforme descrito na [documentação »](https://core.telegram.org/api/auth.md)"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Sim | Número de telefone da conta |\n| `phone_code_hash` | `string` | Sim | Hash do código do telefone, obtido conforme descrito na [documentação »](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": ["Autorização"], "summary": "Apenas aplicativos oficiais, informa que o código de autenticação SMS não foi entregue.", "description": "Apenas aplicativos oficiais, informa que o código de autenticação SMS não foi entregue.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 telefone onde deveríamos receber o código"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "O hash do código do telefone obtido 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) da operadora de rede atual."}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash", "mnc"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Sim | Número de telefone onde deveríamos receber o código |\n| `phone_code_hash` | `string` | Sim | O hash do código do telefone obtido de [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `mnc` | `string` | Sim | [MNC](https://en.wikipedia.org/wiki/Mobile_country_code) da operadora de rede atual. |"}, "x-telegram-rpc-errors": ["PHONE_NUMBER_INVALID"], "x-browser-schema-id": "3416125430"}}, "/catalog/auth.checkPaidAuth": {"post": {"operationId": "auth.checkPaidAuth", "tags": ["Autorização"], "summary": "Verifica o status de um pagamento de login.", "description": "Verifica o status de um [pagamento de login](https://core.telegram.org/api/auth.md#paid-auth).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autorização do usuário](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 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": "Digite TL: auth.SentCode."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 telefone"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "O hash do código do telefone obtido de [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md)"}, "form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "O ID do formulário de pagamento passado para [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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Sim | Número de telefone |\n| `phone_code_hash` | `string` | Sim | O hash do código do telefone obtido de [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `form_id` | `long` | Sim | O ID do formulário de pagamento passado para [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": ["Autorização"], "summary": "Inicialize o login com uma senha em uma conexão não autenticada, veja aqui » para mais informações.", "description": "Inicialize o login com uma senha em uma conexão não autenticada, veja [aqui »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Login com senha](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 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": "Digite TL: auth.PasskeyLoginOptions."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `API_ID_INVALID` — API ID inválido.\n- 500 · `AUTH_RESTART` — Reinicie o processo de autorização."}}, "externalDocs": {"description": "Documentação oficial do 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 do aplicativo (consulte [Configuração do aplicativo](https://core.telegram.org/myapp))"}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Hash do identificador do aplicativo (consulte [Configuração do aplicativo](https://core.telegram.org/myapp))"}}, "additionalProperties": false, "required": ["api_id", "api_hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `api_id` | `int` | Sim | Identificador do aplicativo (consulte [Configuração do aplicativo](https://core.telegram.org/myapp)) |\n| `api_hash` | `string` | Sim | Hash do identificador do aplicativo (consulte [Configuração do aplicativo](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": ["Autorização"], "summary": "Conclua o login com uma senha em uma conexão não autenticada, veja aqui » para mais informações.", "description": "Complete o login com uma senha em uma conexão não autenticada, veja [aqui »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey) para mais informações.\n\nDeve ser enviado para o DC nativo do usuário, conforme especificado pelo `user_handle` (`dcId:userId`) retornado na asserção da chave de acesso, veja [aqui »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey) para o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Login com senha](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 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": "Digite TL: auth.Authorization."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 500 · `AUTH_RESTART` — Reinicie o processo de autorização.\n- 400 · `CREDENTIAL_INVALID` — A credencial especificada é inválida.\n- 400 · `PASSKEY_ORIGIN_MISMATCH` — Atualmente, clientes de terceiros não suportam senhas, mesmo quando a origem é alterada."}}, "externalDocs": {"description": "Documentação oficial do 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 da afirmação da chave de acesso."}, "from_dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "DC ID usado para a solicitação inicial [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md); definido apenas se o DC do usuário for diferente do DC usado para o [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md)."}, "from_auth_key_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID da chave de autenticação para a conexão com `from_dc_id` (use o ID da chave de autenticação permanente se PFS estiver habilitado); definido apenas se o DC do usuário for diferente do DC usado para o [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md).", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "additionalProperties": false, "required": ["credential"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `credential` | `InputPasskeyCredential` | Sim | Resultado da afirmação da chave de acesso. |\n| `from_dc_id` | `int` | Não | DC ID usado para a solicitação inicial [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md); definido apenas se o DC do usuário for diferente do DC usado para o [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md). |\n| `from_auth_key_id` | `long` | Não | ID da chave de autenticação para a conexão com `from_dc_id` (use o ID da chave de autenticação permanente se PFS estiver habilitado); definido apenas se o DC do usuário for diferente do DC usado para o [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md). |"}, "x-telegram-rpc-errors": ["AUTH_RESTART", "CREDENTIAL_INVALID", "PASSKEY_ORIGIN_MISMATCH"], "x-browser-schema-id": "2555882759"}}, "/catalog/auth.cancelWebTokenAuthorization": {"post": {"operationId": "auth.cancelWebTokenAuthorization", "tags": ["Autorização"], "summary": "auth.cancelWebTokenAuthorization", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 do tipo TL `string`."}}, "additionalProperties": false, "required": ["web_auth_token"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `web_auth_token` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1225633185"}}, "/catalog/auth.initFirebasePnvLogin": {"post": {"operationId": "auth.initFirebasePnvLogin", "tags": ["Autorização"], "summary": "auth.initFirebasePnvLogin", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.0?Vector<long>", "description": "Valor do tipo TL `Vector<long>`."}, "api_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["api_id", "api_hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `except_ids` | `Vector<long>` | Não | Valor do tipo TL `Vector<long>`. |\n| `api_id` | `int` | Sim | Valor do tipo TL `int`. |\n| `api_hash` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1682904512"}}, "/catalog/auth.finishFirebasePnvLogin": {"post": {"operationId": "auth.finishFirebasePnvLogin", "tags": ["Autorização"], "summary": "auth.finishFirebasePnvLogin", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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": "Digite TL: auth.Authorization."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"google_token": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["google_token"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `google_token` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "746916172"}}, "/catalog/auth.firebasePnvSignUp": {"post": {"operationId": "auth.firebasePnvSignUp", "tags": ["Autorização"], "summary": "auth.firebasePnvSignUp", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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": "Digite 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 do tipo TL `true`."}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["first_name", "last_name"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `no_joined_notifications` | `true` | Não | Valor do tipo TL `true`. |\n| `first_name` | `string` | Sim | Valor do tipo TL `string`. |\n| `last_name` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2017422166"}}, "/catalog/account.registerDevice": {"post": {"operationId": "account.registerDevice", "tags": ["Conta"], "summary": "Registre o dispositivo para receber PUSH notificações", "description": "Registre o dispositivo para receber [PUSH notificações](https://core.telegram.org/api/push-updates.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tratamento de notificações 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `TOKEN_EMPTY` — O token especificado está vazio.\n- 400 · `TOKEN_INVALID` — O token fornecido é inválido.\n- 400 · `TOKEN_TYPE_INVALID` — O tipo de token especificado é inválido.\n- 400 · `WEBPUSH_AUTH_INVALID` — O segredo de autenticação web push especificado é inválido.\n- 400 · `WEBPUSH_KEY_INVALID` — A chave pública Diffie-Hellman da curva elíptica web push especificada é inválida.\n- 400 · `WEBPUSH_TOKEN_INVALID` — O token web push especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 receber notificações (silenciosas e invisíveis em segundo plano). Útil para economizar bateria."}, "token_type": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tipo de token de dispositivo, consulte [PUSH atualizações](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para os valores possíveis."}, "token": {"type": "string", "x-tl-type": "string", "description": "Token do dispositivo, consulte [PUSH atualizações](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para os valores possíveis."}, "app_sandbox": {"type": "boolean", "x-tl-type": "Bool", "description": "Se [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md) for transmitido, um certificado sandbox será usado durante a transmissão."}, "secret": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Para VoIP FCM e APNS, chave de criptografia opcional usada para criptografar notificações push"}, "other_uids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista de identificadores de usuários de outros usuários que atualmente usam o cliente"}}, "additionalProperties": false, "required": ["token_type", "token", "app_sandbox", "secret", "other_uids"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `no_muted` | `true` | Não | Evite receber notificações (silenciosas e invisíveis em segundo plano). Útil para economizar bateria. |\n| `token_type` | `int` | Sim | Tipo de token de dispositivo, consulte [PUSH atualizações](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para os valores possíveis. |\n| `token` | `string` | Sim | Token do dispositivo, consulte [PUSH atualizações](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para os valores possíveis. |\n| `app_sandbox` | `Bool` | Sim | Se [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md) for transmitido, um certificado sandbox será usado durante a transmissão. |\n| `secret` | `bytes` | Sim | Para VoIP FCM e APNS, chave de criptografia opcional usada para criptografar notificações push |\n| `other_uids` | `Vector<long>` | Sim | Lista de identificadores de usuários de outros usuários que atualmente usam o 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": ["Conta"], "summary": "Exclui um dispositivo por seu token e para de enviar notificações PUSH para ele.", "description": "Exclui um dispositivo por seu token e para de enviar notificações PUSH para ele.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tratamento de notificações 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `TOKEN_INVALID` — O token fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 atualizações](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para os valores possíveis."}, "token": {"type": "string", "x-tl-type": "string", "description": "Token do dispositivo, consulte [PUSH atualizações](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para os valores possíveis."}, "other_uids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista de identificadores de usuários de outros usuários que atualmente usam o cliente"}}, "additionalProperties": false, "required": ["token_type", "token", "other_uids"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `token_type` | `int` | Sim | Tipo de token de dispositivo, consulte [PUSH atualizações](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para os valores possíveis. |\n| `token` | `string` | Sim | Token do dispositivo, consulte [PUSH atualizações](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para os valores possíveis. |\n| `other_uids` | `Vector<long>` | Sim | Lista de identificadores de usuários de outros usuários que atualmente usam o cliente |"}, "x-telegram-rpc-errors": ["TOKEN_INVALID"], "x-browser-schema-id": "1779249670"}}, "/catalog/account.updateNotifySettings": {"post": {"operationId": "account.updateNotifySettings", "tags": ["Conta"], "summary": "Edita configurações de notificação de um determinado usuário/grupo, de todos os usuários/todos os grupos.", "description": "Edita configurações de notificação de um determinado usuário/grupo, de todos os usuários/todos os grupos.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `SETTINGS_INVALID` — Foram fornecidas configurações inválidas."}}, "externalDocs": {"description": "Documentação oficial do 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": "Fonte de notificação"}, "settings": {"type": "object", "x-tl-type": "InputPeerNotifySettings", "oneOf": [{"$ref": "#/components/schemas/inputPeerNotifySettings"}], "description": "Configurações de notificação"}}, "additionalProperties": false, "required": ["peer", "settings"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputNotifyPeer` | Sim | Fonte de notificação |\n| `settings` | `InputPeerNotifySettings` | Sim | Configurações de notificação |"}, "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": ["Conta"], "summary": "Obtém as configurações de notificação atuais para um determinado usuário/grupo, de todos os usuários/todos os grupos.", "description": "Obtém as configurações de notificação atuais para um determinado usuário/grupo, de todos os usuários/todos os grupos.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `PeerNotifySettings`.\n\n[Configurações 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 TL: PeerNotifySettings."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Fonte de notificação"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputNotifyPeer` | Sim | Fonte de notificação |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "PEER_ID_INVALID"], "x-browser-schema-id": "313765169"}}, "/catalog/account.resetNotifySettings": {"post": {"operationId": "account.resetNotifySettings", "tags": ["Conta"], "summary": "Redefine todas as configurações de notificação de usuários e grupos.", "description": "Redefine todas as configurações de notificação de usuários e 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.resetNotifySettings"}, "x-browser-schema-id": "3682473799"}}, "/catalog/account.updateProfile": {"post": {"operationId": "account.updateProfile", "tags": ["Conta"], "summary": "Atualiza o perfil do usuário.", "description": "Atualiza o perfil do usuário.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 MTProto · `User`.\n\n[Usuário](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": "Digite TL: Usuário."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `ABOUT_TOO_LONG` — Sobre a corda muito longa.\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `FIRSTNAME_INVALID` — O primeiro nome é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Nome do novo usuário"}, "last_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Sobrenome do novo usuário"}, "about": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Nova biografia"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `first_name` | `string` | Não | Nome do novo usuário |\n| `last_name` | `string` | Não | Sobrenome do novo usuário |\n| `about` | `string` | Não | Nova biografia |"}, "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": ["Conta"], "summary": "Atualiza o status do usuário online.", "description": "Atualiza o status do usuário online.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Se [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md) for transmitido, o status do usuário mudará para [(userStatusOffline)](https://core.telegram.org/constructor/userStatusOffline.md)."}}, "additionalProperties": false, "required": ["offline"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `offline` | `Bool` | Sim | Se [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md) for transmitido, o status do usuário mudará para [(userStatusOffline)](https://core.telegram.org/constructor/userStatusOffline.md). |"}, "x-browser-schema-id": "1713919532"}}, "/catalog/account.getWallPapers": {"post": {"operationId": "account.getWallPapers", "tags": ["Conta"], "summary": "Retorna uma lista de papéis de parede disponíveis.", "description": "Retorna uma lista de [papéis de parede](https://core.telegram.org/api/wallpapers.md) disponíveis.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Papéis de parede de bate-papo](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 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": "Digite TL: account.WallPapers."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "127302966"}}, "/catalog/account.reportPeer": {"post": {"operationId": "account.reportPeer", "tags": ["Conta"], "summary": "Denunciar um colega por violação dos Termos de Serviço do Telegram", "description": "Denunciar um colega por violação dos Termos de Serviço do Telegram\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O par a ser relatado"}, "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": "A razão pela qual este par está sendo denunciado"}, "message": {"type": "string", "x-tl-type": "string", "description": "Comentário para moderação do relatório"}}, "additionalProperties": false, "required": ["peer", "reason", "message"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O par a ser relatado |\n| `reason` | `ReportReason` | Sim | A razão pela qual este par está sendo denunciado |\n| `message` | `string` | Sim | Comentário para moderação do relatório |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "PEER_ID_INVALID"], "x-browser-schema-id": "3317316998"}}, "/catalog/account.checkUsername": {"post": {"operationId": "account.checkUsername", "tags": ["Conta"], "summary": "Valida um nome de usuário e verifica a disponibilidade.", "description": "Valida um nome de usuário e verifica a disponibilidade.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `USERNAME_INVALID` — O nome de usuário fornecido não é válido.\n- 400 · `USERNAME_OCCUPIED` — O nome de usuário fornecido já está ocupado.\n- 400 · `USERNAME_PURCHASE_AVAILABLE` — O nome de usuário especificado pode ser adquirido em https://fragment.com."}}, "externalDocs": {"description": "Documentação oficial do 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": "nome de usuário Caracteres aceitos: A-z (sem distinção entre maiúsculas e minúsculas), 0-9 e sublinhados. Comprimento: 5-32 caracteres."}}, "additionalProperties": false, "required": ["username"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `username` | `string` | Sim | nome de usuário Caracteres aceitos: A-z (sem distinção entre maiúsculas e minúsculas), 0-9 e sublinhados. Comprimento: 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": ["Conta"], "summary": "Altera o nome de usuário do usuário atual.", "description": "Altera o nome de usuário do usuário atual.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `User`.\n\n[Usuário](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": "Digite TL: Usuário."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `USERNAME_INVALID` — O nome de usuário fornecido não é válido.\n- 400 · `USERNAME_NOT_MODIFIED` — O nome de usuário não foi modificado.\n- 400 · `USERNAME_OCCUPIED` — O nome de usuário fornecido já está ocupado.\n- 400 · `USERNAME_PURCHASE_AVAILABLE` — O nome de usuário especificado pode ser adquirido em https://fragment.com."}}, "externalDocs": {"description": "Documentação oficial do 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": "nome de usuário ou string vazia se o nome de usuário for removido Caracteres aceitos: a-z (sem distinção entre maiúsculas e minúsculas), 0-9 e sublinhados. Comprimento: 5-32 caracteres."}}, "additionalProperties": false, "required": ["username"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `username` | `string` | Sim | nome de usuário ou string vazia se o nome de usuário for removido Caracteres aceitos: a-z (sem distinção entre maiúsculas e minúsculas), 0-9 e sublinhados. Comprimento: 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": ["Conta"], "summary": "Obtenha configurações de privacidade", "description": "Lê as regras atuais de privacidade da conta para a categoria selecionada.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: account.PrivacyRules."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PRIVACY_KEY_INVALID` — A chave de privacidade é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Categoria de privacidade, como visibilidade do número de telefone."}}, "additionalProperties": false, "required": ["key"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `key` | `InputPrivacyKey` | Sim | Categoria de privacidade, como visibilidade do número de telefone. |"}, "x-telegram-rpc-errors": ["PRIVACY_KEY_INVALID"], "x-browser-schema-id": "3671837008"}}, "/catalog/account.setPrivacy": {"post": {"operationId": "account.setPrivacy", "tags": ["Conta"], "summary": "Alterar as configurações de privacidade da conta atual", "description": "Alterar as configurações de privacidade da conta atual\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: account.PrivacyRules."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PRIVACY_KEY_INVALID` — A chave de privacidade é inválida.\n- 400 · `PRIVACY_TOO_LONG` — Foram especificadas muitas regras de privacidade, o limite atual é 1000.\n- 400 · `PRIVACY_VALUE_INVALID` — A combinação de regras de privacidade especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Nova regra de privacidade"}, "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 TL: InputPrivacyRule."}, "x-tl-type": "Vector<InputPrivacyRule>", "description": "Pares aos quais a regra de privacidade será aplicada."}}, "additionalProperties": false, "required": ["key", "rules"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `key` | `InputPrivacyKey` | Sim | Nova regra de privacidade |\n| `rules` | `Vector<InputPrivacyRule>` | Sim | Pares aos quais a regra de privacidade será aplicada. |"}, "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": ["Conta"], "summary": "Exclua a conta do usuário dos servidores de telegramas.", "description": "Exclua a conta do usuário dos servidores de telegramas.\n\nTambém pode ser usado para excluir a conta de um usuário que forneceu o código de login, mas esqueceu a senha 2FA e nenhum método de recuperação está configurado, veja [aqui »](https://core.telegram.org/api/srp.md#password-recovery) para mais informações sobre recuperação de senha, e [aqui »](https://core.telegram.org/api/account-deletion.md) para mais informações sobre exclusão de conta.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](https://core.telegram.org/api/srp.md)\n- [Exclusão de conta](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 420 · `2FA_CONFIRM_WAIT_%d` — Como esta conta está ativa e protegida por uma senha 2FA, iremos excluí-la em 1 semana por motivos de segurança. Você pode cancelar este processo a qualquer momento. Você poderá redefinir sua conta em %d segundos.\n- 400 · `PASSWORD_HASH_INVALID` — O hash da senha fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 que a conta está sendo excluída, pode estar vazia"}, "password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "[Senha 2FA](https://core.telegram.org/api/srp.md): este campo pode ser omitido mesmo para contas com 2FA habilitado: neste caso a exclusão da conta será atrasada em 7 dias [conforme especificado na documentação »](https://core.telegram.org/api/account-deletion.md)", "x-tl-flag": "flags.0?InputCheckPasswordSRP"}}, "additionalProperties": false, "required": ["reason"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `reason` | `string` | Sim | Por que a conta está sendo excluída, pode estar vazia |\n| `password` | `InputCheckPasswordSRP` | Não | [Senha 2FA](https://core.telegram.org/api/srp.md): este campo pode ser omitido mesmo para contas com 2FA habilitado: neste caso a exclusão da conta será atrasada em 7 dias [conforme especificado na documentação »](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": ["Conta"], "summary": "Ganhe dias de vida da conta", "description": "Ganhe dias de vida da conta", "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 MTProto · `AccountDaysTTL`.\n\n[DiasContaTTL](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": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.getAccountTTL"}, "x-browser-schema-id": "150761757"}}, "/catalog/account.setAccountTTL": {"post": {"operationId": "account.setAccountTTL", "tags": ["Conta"], "summary": "Definir período de autodestruição da conta", "description": "Definir período de autodestruição da conta\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `TTL_DAYS_INVALID` — O TTL fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Hora de viver em dias"}}, "additionalProperties": false, "required": ["ttl"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `ttl` | `AccountDaysTTL` | Sim | Hora de viver em dias |"}, "x-telegram-rpc-errors": ["TTL_DAYS_INVALID"], "x-browser-schema-id": "608323678"}}, "/catalog/account.sendChangePhoneCode": {"post": {"operationId": "account.sendChangePhoneCode", "tags": ["Conta"], "summary": "Verifique um novo número de telefone para associar à conta atual", "description": "Verifique um novo número de telefone para associar à conta atual\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: auth.SentCode."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 406 · `FRESH_CHANGE_PHONE_FORBIDDEN` — Você não pode alterar o número de telefone logo após fazer login, aguarde pelo menos 24 horas.\n- 400 · `PHONE_NUMBER_BANNED` — O número de telefone fornecido foi banido do telegrama.\n- 406 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido.\n- 400 · `PHONE_NUMBER_OCCUPIED` — O número de telefone já está em uso."}}, "externalDocs": {"description": "Documentação oficial do 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": "Novo número de telefone"}, "settings": {"type": "object", "x-tl-type": "CodeSettings", "oneOf": [{"$ref": "#/components/schemas/codeSettings"}], "description": "Configurações de código de telefone"}}, "additionalProperties": false, "required": ["phone_number", "settings"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Sim | Novo número de telefone |\n| `settings` | `CodeSettings` | Sim | Configurações de código de telefone |"}, "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": ["Conta"], "summary": "Alterar o número de telefone da conta corrente", "description": "Alterar o número de telefone da conta corrente\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `User`.\n\n[Usuário](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": "Digite TL: Usuário."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PHONE_CODE_EMPTY` — phone_code está faltando.\n- 400 · `PHONE_CODE_EXPIRED` — O código de telefone fornecido expirou.\n- 400 · `PHONE_CODE_INVALID` — O código de telefone fornecido é inválido.\n- 406 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido.\n- 400 · `PHONE_NUMBER_OCCUPIED` — O número de telefone já está em uso."}}, "externalDocs": {"description": "Documentação oficial do 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": "Novo número de telefone"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash do código do telefone recebido ao ligar [account.sendChangePhoneCode](https://core.telegram.org/method/account.sendChangePhoneCode.md)"}, "phone_code": {"type": "string", "x-tl-type": "string", "description": "Código de telefone recebido ao ligar [account.sendChangePhoneCode](https://core.telegram.org/method/account.sendChangePhoneCode.md)"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash", "phone_code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Sim | Novo número de telefone |\n| `phone_code_hash` | `string` | Sim | Hash do código do telefone recebido ao ligar [account.sendChangePhoneCode](https://core.telegram.org/method/account.sendChangePhoneCode.md) |\n| `phone_code` | `string` | Sim | Código de telefone recebido ao ligar [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": ["Conta"], "summary": "Quando o recurso de bloqueio por senha do lado do cliente estiver ativado, não serão exibidos textos de mensagens nas notificações PUSH recebidas.", "description": "Quando o recurso de bloqueio por senha do lado do cliente estiver ativado, não mostrará textos de mensagens em [PUSH notificações](https://core.telegram.org/api/push-updates.md) recebidas.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tratamento de notificações 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Período de inatividade após o qual começar a ocultar textos de mensagens em [PUSH notificações](https://core.telegram.org/api/push-updates.md)."}}, "additionalProperties": false, "required": ["period"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `period` | `int` | Sim | Período de inatividade após o qual começar a ocultar textos de mensagens em [PUSH notificações](https://core.telegram.org/api/push-updates.md). |"}, "x-browser-schema-id": "954152242"}}, "/catalog/account.getAuthorizations": {"post": {"operationId": "account.getAuthorizations", "tags": ["Conta"], "summary": "Obtenha sessões logadas", "description": "Obtenha sessões logadas", "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 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 de TL: account.Authorizations."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.getAuthorizations"}, "x-browser-schema-id": "3810574680"}}, "/catalog/account.resetAuthorization": {"post": {"operationId": "account.resetAuthorization", "tags": ["Conta"], "summary": "Efetue logout de uma sessão autorizada ativa por seu hash", "description": "Efetue logout de uma [sessão autorizada](https://core.telegram.org/api/auth.md) ativa por seu hash\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autorização do usuário](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 406 · `FRESH_RESET_AUTHORISATION_FORBIDDEN` — Você não pode sair de outras sessões se menos de 24 horas se passaram desde que você entrou na sessão atual.\n- 400 · `HASH_INVALID` — O hash fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 sessão", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | Hash de sessão |"}, "x-telegram-rpc-errors": ["FRESH_RESET_AUTHORISATION_FORBIDDEN", "HASH_INVALID"], "x-browser-schema-id": "3749180348"}}, "/catalog/account.getPassword": {"post": {"operationId": "account.getPassword", "tags": ["Conta"], "summary": "Obtenha configuração para autorização de dois fatores com senha", "description": "Obtenha configuração para autorização de dois fatores com senha\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: account.Password."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.getPassword"}, "x-browser-schema-id": "1418342645"}}, "/catalog/account.getPasswordSettings": {"post": {"operationId": "account.getPasswordSettings", "tags": ["Conta"], "summary": "Obtenha informações privadas associadas às informações de senha (e-mail de recuperação, informações de passaporte de telegrama e assim por diante)", "description": "Obtenha informações privadas associadas às informações da senha (e-mail de recuperação, telegrama [informações do passaporte](https://core.telegram.org/passport.md) e assim por diante)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](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 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": "### Erros MTProto (RPC)\n\n- 400 · `PASSWORD_HASH_INVALID` — O hash da senha fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "A senha (veja [SRP](https://core.telegram.org/api/srp.md))"}}, "additionalProperties": false, "required": ["password"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | Sim | A senha (veja [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": ["Conta"], "summary": "Defina uma nova senha 2FA", "description": "Defina uma nova senha 2FA\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `EMAIL_INVALID` — O e-mail especificado é inválido.\n- 400 · `EMAIL_UNCONFIRMED` — E-mail não confirmado.\n- 400 · `EMAIL_UNCONFIRMED_%d` — O e-mail fornecido não foi confirmado, %d é o comprimento do código de verificação que acabou de ser enviado para o e-mail: use [account.verifyEmail](https://core.telegram.org/method/account.verifyEmail.md) para inserir o código de verificação recebido e ativar o e-mail de recuperação.\n- 400 · `NEW_SALT_INVALID` — O novo salt é inválido.\n- 400 · `NEW_SETTINGS_EMPTY` — Nenhuma senha foi definida na conta atual e nenhuma nova senha foi especificada em `new_settings`.\n- 400 · `NEW_SETTINGS_INVALID` — As novas configurações de senha são inválidas.\n- 400 · `PASSWORD_HASH_INVALID` — O hash da senha fornecido é inválido.\n- 400 · `SRP_ID_INVALID` — SRP ID fornecido inválido.\n- 400 · `SRP_PASSWORD_CHANGED` — A senha foi alterada."}}, "externalDocs": {"description": "Documentação oficial do 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": "A senha antiga (veja [SRP](https://core.telegram.org/api/srp.md))"}, "new_settings": {"type": "object", "x-tl-type": "account.PasswordInputSettings", "oneOf": [{"$ref": "#/components/schemas/account.passwordInputSettings"}], "description": "A nova senha (veja [SRP](https://core.telegram.org/api/srp.md))"}}, "additionalProperties": false, "required": ["password", "new_settings"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | Sim | A senha antiga (veja [SRP](https://core.telegram.org/api/srp.md)) |\n| `new_settings` | `account.PasswordInputSettings` | Sim | A nova senha (veja [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": ["Conta"], "summary": "Envie o código de confirmação para cancelar a exclusão da conta, para mais informações clique aqui »", "description": "Envie o código de confirmação para cancelar a exclusão da conta, para mais informações [clique aqui »](https://core.telegram.org/api/account-deletion.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Exclusão de conta](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 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": "Digite TL: auth.SentCode."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `HASH_INVALID` — O hash fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O hash da notificação de serviço, para mais informações [clique aqui »](https://core.telegram.org/api/account-deletion.md)"}, "settings": {"type": "object", "x-tl-type": "CodeSettings", "oneOf": [{"$ref": "#/components/schemas/codeSettings"}], "description": "Configurações de código de telefone"}}, "additionalProperties": false, "required": ["hash", "settings"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `string` | Sim | O hash da notificação de serviço, para mais informações [clique aqui »](https://core.telegram.org/api/account-deletion.md) |\n| `settings` | `CodeSettings` | Sim | Configurações de código de telefone |"}, "x-telegram-rpc-errors": ["HASH_INVALID"], "x-browser-schema-id": "457157256"}}, "/catalog/account.confirmPhone": {"post": {"operationId": "account.confirmPhone", "tags": ["Conta"], "summary": "Confirme um número de telefone para cancelar a exclusão da conta. Para mais informações clique aqui »", "description": "Confirme um número de telefone para cancelar a exclusão da conta, para mais informações [clique aqui »](https://core.telegram.org/api/account-deletion.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Exclusão de conta](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CODE_HASH_INVALID` — Hash de código inválido.\n- 400 · `PHONE_CODE_EMPTY` — phone_code está faltando."}}, "externalDocs": {"description": "Documentação oficial do 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 do código do telefone, para mais informações [clique aqui »](https://core.telegram.org/api/account-deletion.md)"}, "phone_code": {"type": "string", "x-tl-type": "string", "description": "SMS código, para mais informações [clique aqui »](https://core.telegram.org/api/account-deletion.md)"}}, "additionalProperties": false, "required": ["phone_code_hash", "phone_code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phone_code_hash` | `string` | Sim | Hash do código do telefone, para mais informações [clique aqui »](https://core.telegram.org/api/account-deletion.md) |\n| `phone_code` | `string` | Sim | SMS código, para mais informações [clique aqui »](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": ["Conta"], "summary": "Obtenha uma senha de pagamento temporária", "description": "Obtenha uma senha de pagamento temporária\n\n**Quem pode chamar esse método** · Somente usuários do 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 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 de TL: account.TmpPassword."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PASSWORD_HASH_INVALID` — O hash da senha fornecido é inválido.\n- 400 · `SRP_A_INVALID` — O valor inputCheckPasswordSRP.A especificado é inválido.\n- 400 · `TMP_PASSWORD_DISABLED` — A senha temporária está desativada."}}, "externalDocs": {"description": "Documentação oficial do 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 senha"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tempo durante o qual a senha temporária será válida, em segundos; deve estar entre 60 e 86400"}}, "additionalProperties": false, "required": ["password", "period"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | Sim | SRP parâmetros de senha |\n| `period` | `int` | Sim | Tempo durante o qual a senha temporária será válida, em segundos; deve estar entre 60 e 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": ["Conta"], "summary": "Obtenha autorizações de widget de login na web", "description": "Obtenha autorizações da web [widget de login](https://core.telegram.org/widgets/login.md)\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: account.WebAuthorizations."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.getWebAuthorizations"}, "x-browser-schema-id": "405695855"}}, "/catalog/account.resetWebAuthorization": {"post": {"operationId": "account.resetWebAuthorization", "tags": ["Conta"], "summary": "Efetue logout de uma sessão de login ativa do web telegram", "description": "Efetue logout de uma sessão ativa da web [login do telegrama](https://core.telegram.org/widgets/login.md)\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `HASH_INVALID` — O hash fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "[Sessão](https://core.telegram.org/constructor/webAuthorization.md) hash", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Sessão](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": ["Conta"], "summary": "Redefinir todas as sessões ativas de login do web telegram", "description": "Redefinir todas as sessões ativas da web [login do telegrama](https://core.telegram.org/widgets/login.md)\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.resetWebAuthorizations"}, "x-browser-schema-id": "1747789204"}}, "/catalog/account.getAllSecureValues": {"post": {"operationId": "account.getAllSecureValues", "tags": ["Conta"], "summary": "Obtenha todos os documentos salvos do Telegram Passport, para mais informações consulte os documentos do passaporte »", "description": "Obtenha todos os documentos salvos do [Telegram Passport](https://core.telegram.org/passport.md), [para mais informações, consulte os documentos do passaporte »](https://core.telegram.org/passport/encryption.md#encryption)\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Vector<SecureValue>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[SecureValue](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 TL: SecureValue."}, "x-tl-type": "Vector<SecureValue>"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.getAllSecureValues"}, "x-browser-schema-id": "2995305597"}}, "/catalog/account.getSecureValue": {"post": {"operationId": "account.getSecureValue", "tags": ["Conta"], "summary": "Obtenha o documento Telegram Passport salvo, para mais informações consulte os documentos do passaporte »", "description": "Seja salvo [documento Telegram Passport](https://core.telegram.org/passport.md), [para mais informações consulte os documentos do passaporte »](https://core.telegram.org/passport/encryption.md#encryption)\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Vector<SecureValue>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[SecureValue](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 TL: SecureValue."}, "x-tl-type": "Vector<SecureValue>"}}}}}, "externalDocs": {"description": "Documentação oficial do 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 TL: SecureValueType."}, "x-tl-type": "Vector<SecureValueType>", "description": "Tipos de valores solicitados"}}, "additionalProperties": false, "required": ["types"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `types` | `Vector<SecureValueType>` | Sim | Tipos de valores solicitados |"}, "x-browser-schema-id": "1936088002"}}, "/catalog/account.saveSecureValue": {"post": {"operationId": "account.saveSecureValue", "tags": ["Conta"], "summary": "Salve com segurança o documento Telegram Passport, para mais informações consulte os documentos do passaporte »", "description": "Salve com segurança o documento [Telegram Passport](https://core.telegram.org/passport.md), [para mais informações, consulte os documentos do passaporte »](https://core.telegram.org/passport/encryption.md#encryption)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](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 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 TL: SecureValue."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PASSWORD_REQUIRED` — Uma [senha 2FA](https://core.telegram.org/api/srp.md) deve ser configurada para usar o Telegram Passport.\n- 400 · `SECURE_SECRET_REQUIRED` — É necessário um segredo seguro."}}, "externalDocs": {"description": "Documentação oficial do 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 mais informações consulte a documentação do passaporte »](https://core.telegram.org/passport/encryption.md#encryption)"}, "secure_secret_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash secreto do passaporte, [para mais informações consulte os documentos do passaporte »](https://core.telegram.org/passport/encryption.md#encryption)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["value", "secure_secret_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `value` | `InputSecureValue` | Sim | Valor seguro, [para mais informações consulte a documentação do passaporte »](https://core.telegram.org/passport/encryption.md#encryption) |\n| `secure_secret_id` | `long` | Sim | Hash secreto do passaporte, [para mais informações consulte os documentos do passaporte »](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": ["Conta"], "summary": "Exclua os documentos armazenados do Telegram Passport. Para obter mais informações, consulte os documentos do passaporte »", "description": "Exclua documentos armazenados do [Telegram Passport](https://core.telegram.org/passport.md), [para mais informações, consulte os documentos do passaporte »](https://core.telegram.org/passport/encryption.md#encryption)\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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 TL: SecureValueType."}, "x-tl-type": "Vector<SecureValueType>", "description": "Tipos de documentos a serem excluídos"}}, "additionalProperties": false, "required": ["types"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `types` | `Vector<SecureValueType>` | Sim | Tipos de documentos a serem excluídos |"}, "x-browser-schema-id": "3095444555"}}, "/catalog/account.getAuthorizationForm": {"post": {"operationId": "account.getAuthorizationForm", "tags": ["Conta"], "summary": "Retorna um formulário de autorização do Telegram Passport para compartilhar dados com um serviço", "description": "Retorna um formulário de autorização do Telegram Passport para compartilhar dados com um serviço\n\n**Quem pode chamar esse método** · Somente usuários do 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 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 de TL: account.AuthorizationForm."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `PUBLIC_KEY_REQUIRED` — É necessária uma chave pública."}}, "externalDocs": {"description": "Documentação oficial do 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 do usuário do bot do serviço", "x-tl-type": "long"}, "scope": {"type": "string", "x-tl-type": "string", "description": "Tipos de elementos do Telegram Passport solicitados pelo serviço"}, "public_key": {"type": "string", "x-tl-type": "string", "description": "Chave pública do serviço"}}, "additionalProperties": false, "required": ["bot_id", "scope", "public_key"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot_id` | `long` | Sim | Identificador do usuário do bot do serviço |\n| `scope` | `string` | Sim | Tipos de elementos do Telegram Passport solicitados pelo serviço |\n| `public_key` | `string` | Sim | Chave pública do serviço |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "PUBLIC_KEY_REQUIRED"], "x-browser-schema-id": "2838059386"}}, "/catalog/account.acceptAuthorization": {"post": {"operationId": "account.acceptAuthorization", "tags": ["Conta"], "summary": "Envia um formulário de autorização do Telegram Passport, compartilhando efetivamente os dados com o serviço", "description": "Envia um formulário de autorização do Telegram Passport, compartilhando efetivamente os dados com o serviço\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `PUBLIC_KEY_REQUIRED` — É necessária uma chave pública."}}, "externalDocs": {"description": "Documentação oficial do 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 do bot", "x-tl-type": "long"}, "scope": {"type": "string", "x-tl-type": "string", "description": "Tipos de elementos do Telegram Passport solicitados pelo serviço"}, "public_key": {"type": "string", "x-tl-type": "string", "description": "Chave pública do serviço"}, "value_hashes": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValueHash", "oneOf": [{"$ref": "#/components/schemas/secureValueHash"}], "description": "Tipo TL: SecureValueHash."}, "x-tl-type": "Vector<SecureValueHash>", "description": "Tipos de valores enviados e seus hashes"}, "credentials": {"type": "object", "x-tl-type": "SecureCredentialsEncrypted", "oneOf": [{"$ref": "#/components/schemas/secureCredentialsEncrypted"}], "description": "Valores criptografados"}}, "additionalProperties": false, "required": ["bot_id", "scope", "public_key", "value_hashes", "credentials"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot_id` | `long` | Sim | ID do bot |\n| `scope` | `string` | Sim | Tipos de elementos do Telegram Passport solicitados pelo serviço |\n| `public_key` | `string` | Sim | Chave pública do serviço |\n| `value_hashes` | `Vector<SecureValueHash>` | Sim | Tipos de valores enviados e seus hashes |\n| `credentials` | `SecureCredentialsEncrypted` | Sim | Valores criptografados |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "PUBLIC_KEY_REQUIRED"], "x-browser-schema-id": "4092415091"}}, "/catalog/account.sendVerifyPhoneCode": {"post": {"operationId": "account.sendVerifyPhoneCode", "tags": ["Conta"], "summary": "Envie o código telefônico de verificação do passaporte por telegrama.", "description": "Envie o código do telefone de verificação para telegrama [passaporte](https://core.telegram.org/passport.md).\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: auth.SentCode."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O número de telefone para verificar"}, "settings": {"type": "object", "x-tl-type": "CodeSettings", "oneOf": [{"$ref": "#/components/schemas/codeSettings"}], "description": "Configurações de código de telefone"}}, "additionalProperties": false, "required": ["phone_number", "settings"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Sim | O número de telefone para verificar |\n| `settings` | `CodeSettings` | Sim | Configurações de código de telefone |"}, "x-telegram-rpc-errors": ["PHONE_NUMBER_INVALID"], "x-browser-schema-id": "2778945273"}}, "/catalog/account.verifyPhone": {"post": {"operationId": "account.verifyPhone", "tags": ["Conta"], "summary": "Verifique um número de telefone para passaporte de telegrama.", "description": "Verifique um número de telefone para telegrama [passaporte](https://core.telegram.org/passport.md).\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PHONE_CODE_EMPTY` — phone_code está faltando.\n- 400 · `PHONE_CODE_EXPIRED` — O código de telefone fornecido expirou.\n- 400 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 telefone"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash do código telefônico recebido da chamada para [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md)"}, "phone_code": {"type": "string", "x-tl-type": "string", "description": "Código recebido após a chamada para [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md)"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash", "phone_code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Sim | Número de telefone |\n| `phone_code_hash` | `string` | Sim | Hash do código telefônico recebido da chamada para [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md) |\n| `phone_code` | `string` | Sim | Código recebido após a chamada para [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": ["Conta"], "summary": "Envie um código de verificação por e-mail.", "description": "Envie um código de verificação por e-mail.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `EMAIL_INVALID` — O e-mail especificado é inválido.\n- 400 · `EMAIL_NOT_ALLOWED` — O e-mail especificado não pode ser usado para concluir a operação.\n- 400 · `EMAIL_NOT_SETUP` — Para alterar o e-mail de login com emailVerifyPurposeLoginChange, um e-mail de login existente já deve estar definido usando emailVerifyPurposeLoginSetup.\n- 400 · `PHONE_CODE_EMPTY` — phone_code está faltando.\n- 400 · `PHONE_HASH_EXPIRED` — Um `phone_code_hash` inválido ou expirado foi fornecido.\n- 400 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Finalidade de verificação."}, "email": {"type": "string", "x-tl-type": "string", "description": "O e-mail para onde enviar o código."}}, "additionalProperties": false, "required": ["purpose", "email"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `purpose` | `EmailVerifyPurpose` | Sim | Finalidade de verificação. |\n| `email` | `string` | Sim | O e-mail para onde enviar o 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": ["Conta"], "summary": "Verifique um endereço de e-mail.", "description": "Verifique um endereço de e-mail.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `CODE_INVALID` — Código inválido.\n- 400 · `EMAIL_INVALID` — O e-mail especificado é inválido.\n- 400 · `EMAIL_NOT_ALLOWED` — O e-mail especificado não pode ser usado para concluir a operação.\n- 400 · `EMAIL_VERIFY_EXPIRED` — O e-mail de verificação expirou.\n- 400 · `PHONE_CODE_EXPIRED` — O código de telefone fornecido expirou.\n- 400 · `PHONE_NUMBER_INVALID` — O número de telefone é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Finalidade da verificação"}, "verification": {"type": "object", "x-tl-type": "EmailVerification", "oneOf": [{"$ref": "#/components/schemas/emailVerificationCode"}, {"$ref": "#/components/schemas/emailVerificationGoogle"}, {"$ref": "#/components/schemas/emailVerificationApple"}], "description": "Código ou token de verificação de e-mail"}}, "additionalProperties": false, "required": ["purpose", "verification"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `purpose` | `EmailVerifyPurpose` | Sim | Finalidade da verificação |\n| `verification` | `EmailVerification` | Sim | Código ou token de verificação de e-mail |"}, "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": ["Conta"], "summary": "Inicialize uma sessão de entrega, veja aqui » para mais informações.", "description": "Inicialize uma [sessão de entrega, veja aqui » para mais informações](https://core.telegram.org/api/takeout.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Para viagem 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 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 de TL: account.Takeout."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 420 · `TAKEOUT_INIT_DELAY_%d` — Desculpe, por motivos de segurança, você poderá começar a baixar seus dados em %d segundos. Notificamos todos os seus dispositivos sobre a solicitação de exportação para garantir que ela seja autorizada e para que você tenha tempo de reagir caso não seja."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja exportar contatos"}, "message_users": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se deseja exportar mensagens em chats privados"}, "message_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Se deseja exportar mensagens em [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": "Se deseja exportar mensagens em [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": "Se deseja exportar mensagens em [canais](https://core.telegram.org/api/channel.md#channels)"}, "files": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Se deseja exportar arquivos"}, "file_max_size": {"type": "string", "pattern": "^-?\\d+$", "description": "Tamanho máximo dos arquivos a serem exportados", "x-tl-type": "long", "x-tl-flag": "flags.5?long"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `contacts` | `true` | Não | Se deseja exportar contatos |\n| `message_users` | `true` | Não | Se deseja exportar mensagens em chats privados |\n| `message_chats` | `true` | Não | Se deseja exportar mensagens em [grupos básicos](https://core.telegram.org/api/channel.md#basic-groups) |\n| `message_megagroups` | `true` | Não | Se deseja exportar mensagens em [supergrupos](https://core.telegram.org/api/channel.md#supergroups) |\n| `message_channels` | `true` | Não | Se deseja exportar mensagens em [canais](https://core.telegram.org/api/channel.md#channels) |\n| `files` | `true` | Não | Se deseja exportar arquivos |\n| `file_max_size` | `long` | Não | Tamanho máximo dos arquivos a serem exportados |"}, "x-telegram-rpc-errors": ["TAKEOUT_INIT_DELAY_%d"], "x-browser-schema-id": "2398350000"}}, "/catalog/account.finishTakeoutSession": {"post": {"operationId": "account.finishTakeoutSession", "tags": ["Conta"], "summary": "Encerre uma sessão de entrega, veja aqui » para mais informações.", "description": "Encerre uma [sessão de entrega, veja aqui » para mais informações](https://core.telegram.org/api/takeout.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Para viagem 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `TAKEOUT_REQUIRED` — Uma sessão [takeout](https://core.telegram.org/api/takeout.md) precisa ser inicializada primeiro, [veja aqui » para mais informações](https://core.telegram.org/api/takeout.md)."}}, "externalDocs": {"description": "Documentação oficial do 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": "Dados exportados com sucesso"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `success` | `true` | Não | Dados exportados com sucesso |"}, "x-telegram-rpc-errors": ["TAKEOUT_REQUIRED"], "x-browser-schema-id": "489050862"}}, "/catalog/account.confirmPasswordEmail": {"post": {"operationId": "account.confirmPasswordEmail", "tags": ["Conta"], "summary": "Verifique um e-mail para usar como método de recuperação 2FA.", "description": "Verifique um e-mail para usar como [método de recuperação 2FA](https://core.telegram.org/api/srp.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CODE_INVALID` — Código inválido.\n- 400 · `EMAIL_HASH_EXPIRED` — Hash de e-mail expirou."}}, "externalDocs": {"description": "Documentação oficial do 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": "O código de telefone recebido após [definir um e-mail de recuperação](https://core.telegram.org/api/srp.md#email-verification)"}}, "additionalProperties": false, "required": ["code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `code` | `string` | Sim | O código de telefone recebido após [definir um e-mail de recuperação](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": ["Conta"], "summary": "Reenvie o código para verificar um e-mail para usar como método de recuperação 2FA.", "description": "Reenvie o código para verificar um e-mail para usar como [método de recuperação 2FA](https://core.telegram.org/api/srp.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `EMAIL_HASH_EXPIRED` — Hash de e-mail expirou."}}, "externalDocs": {"description": "Documentação oficial do 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": ["Conta"], "summary": "Cancele o código que foi enviado para verificar um e-mail para usar como método de recuperação 2FA.", "description": "Cancele o código que foi enviado para verificar um e-mail para usar como [método de recuperação 2FA](https://core.telegram.org/api/srp.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `EMAIL_HASH_EXPIRED` — Hash de e-mail expirou."}}, "externalDocs": {"description": "Documentação oficial do 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": ["Conta"], "summary": "Se o usuário receberá notificações quando os contatos se inscreverem", "description": "Se o usuário receberá notificações quando os contatos se inscreverem", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.getContactSignUpNotification"}, "x-browser-schema-id": "2668087080"}}, "/catalog/account.setContactSignUpNotification": {"post": {"operationId": "account.setContactSignUpNotification", "tags": ["Conta"], "summary": "Alternar notificações de inscrição de contato", "description": "Alternar notificações de inscrição de contato", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Se as notificações de inscrição de contato devem ser desativadas"}}, "additionalProperties": false, "required": ["silent"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `silent` | `Bool` | Sim | Se as notificações de inscrição de contato devem ser desativadas |"}, "x-browser-schema-id": "3488890721"}}, "/catalog/account.getNotifyExceptions": {"post": {"operationId": "account.getNotifyExceptions", "tags": ["Conta"], "summary": "Retorna uma lista de bate-papos com configurações de notificação não padrão", "description": "Retorna uma lista de bate-papos com configurações de notificação não padrão", "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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, os bate-papos com som diferente do padrão serão retornados"}, "compare_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Se definido, os bate-papos com configurações de notificação não padrão para histórias serão retornados"}, "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": "Se especificado, apenas chats da categoria especificada serão retornados", "x-tl-flag": "flags.0?InputNotifyPeer"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `compare_sound` | `true` | Não | Se definido, os bate-papos com som diferente do padrão serão retornados |\n| `compare_stories` | `true` | Não | Se definido, os bate-papos com configurações de notificação não padrão para histórias serão retornados |\n| `peer` | `InputNotifyPeer` | Não | Se especificado, apenas chats da categoria especificada serão retornados |"}, "x-browser-schema-id": "1398240377"}}, "/catalog/account.getWallPaper": {"post": {"operationId": "account.getWallPaper", "tags": ["Conta"], "summary": "Obtenha informações sobre um determinado papel de parede", "description": "Obtenha informações sobre um determinado [papel de parede](https://core.telegram.org/api/wallpapers.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Papéis de parede de bate-papo](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 MTProto · `WallPaper`.\n\n[Papel de parede](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 de parede."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `WALLPAPER_INVALID` — O papel de parede especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O [papel de parede](https://core.telegram.org/api/wallpapers.md) para obter informações sobre"}}, "additionalProperties": false, "required": ["wallpaper"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `wallpaper` | `InputWallPaper` | Sim | O [papel de parede](https://core.telegram.org/api/wallpapers.md) para obter informações sobre |"}, "x-telegram-rpc-errors": ["WALLPAPER_INVALID"], "x-browser-schema-id": "4237155306"}}, "/catalog/account.uploadWallPaper": {"post": {"operationId": "account.uploadWallPaper", "tags": ["Conta"], "summary": "Crie e carregue um novo papel de parede", "description": "Crie e carregue um novo [papel de parede](https://core.telegram.org/api/wallpapers.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Papéis de parede de bate-papo](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 MTProto · `WallPaper`.\n\n[Papel de parede](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 de parede."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `WALLPAPER_FILE_INVALID` — O arquivo de papel de parede especificado é inválido.\n- 400 · `WALLPAPER_MIME_INVALID` — O tipo de papel de parede MIME especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Defina este sinalizador ao enviar papéis de parede para serem passados para [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": "O papel de parede JPG/PNG"}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "MIME tipo de papel de parede carregado"}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "oneOf": [{"$ref": "#/components/schemas/wallPaperSettings"}], "description": "Configurações de papel de parede"}}, "additionalProperties": false, "required": ["file", "mime_type", "settings"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `for_chat` | `true` | Não | Defina este sinalizador ao enviar papéis de parede para serem passados para [messages.setChatWallPaper](https://core.telegram.org/method/messages.setChatWallPaper.md). |\n| `file` | `InputFile` | Sim | O papel de parede JPG/PNG |\n| `mime_type` | `string` | Sim | MIME tipo de papel de parede carregado |\n| `settings` | `WallPaperSettings` | Sim | Configurações de papel de parede |"}, "x-telegram-rpc-errors": ["WALLPAPER_FILE_INVALID", "WALLPAPER_MIME_INVALID"], "x-browser-schema-id": "3818557187"}}, "/catalog/account.saveWallPaper": {"post": {"operationId": "account.saveWallPaper", "tags": ["Conta"], "summary": "Instalar/desinstalar papel de parede", "description": "Instalar/desinstalar [papel de parede](https://core.telegram.org/api/wallpapers.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Papéis de parede de bate-papo](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `WALLPAPER_INVALID` — O papel de parede especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "[Papel de parede](https://core.telegram.org/api/wallpapers.md) para instalar ou desinstalar"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Desinstalar papel de parede?"}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "oneOf": [{"$ref": "#/components/schemas/wallPaperSettings"}], "description": "Configurações de papel de parede"}}, "additionalProperties": false, "required": ["wallpaper", "unsave", "settings"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `wallpaper` | `InputWallPaper` | Sim | [Papel de parede](https://core.telegram.org/api/wallpapers.md) para instalar ou desinstalar |\n| `unsave` | `Bool` | Sim | Desinstalar papel de parede? |\n| `settings` | `WallPaperSettings` | Sim | Configurações de papel de parede |"}, "x-telegram-rpc-errors": ["WALLPAPER_INVALID"], "x-browser-schema-id": "1817860919"}}, "/catalog/account.installWallPaper": {"post": {"operationId": "account.installWallPaper", "tags": ["Conta"], "summary": "Instalar papel de parede", "description": "Instale [papel de parede](https://core.telegram.org/api/wallpapers.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Papéis de parede de bate-papo](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `WALLPAPER_INVALID` — O papel de parede especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "[Papel de parede](https://core.telegram.org/api/wallpapers.md) para instalar"}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "oneOf": [{"$ref": "#/components/schemas/wallPaperSettings"}], "description": "[Papel de parede](https://core.telegram.org/api/wallpapers.md) configurações"}}, "additionalProperties": false, "required": ["wallpaper", "settings"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `wallpaper` | `InputWallPaper` | Sim | [Papel de parede](https://core.telegram.org/api/wallpapers.md) para instalar |\n| `settings` | `WallPaperSettings` | Sim | [Papel de parede](https://core.telegram.org/api/wallpapers.md) configurações |"}, "x-telegram-rpc-errors": ["WALLPAPER_INVALID"], "x-browser-schema-id": "4276967273"}}, "/catalog/account.resetWallPapers": {"post": {"operationId": "account.resetWallPapers", "tags": ["Conta"], "summary": "Exclua todos os papéis de parede instalados, revertendo para o conjunto de papéis de parede padrão.", "description": "Exclua todos os [papéis de parede](https://core.telegram.org/api/wallpapers.md) instalados, revertendo para o conjunto de papéis de parede padrão.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Papéis de parede de bate-papo](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.resetWallPapers"}, "x-browser-schema-id": "3141244932"}}, "/catalog/account.getAutoDownloadSettings": {"post": {"operationId": "account.getAutoDownloadSettings", "tags": ["Conta"], "summary": "Obtenha configurações de download automático de mídia", "description": "Obtenha configurações de download automático de mídia", "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 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": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.getAutoDownloadSettings"}, "x-browser-schema-id": "1457130303"}}, "/catalog/account.saveAutoDownloadSettings": {"post": {"operationId": "account.saveAutoDownloadSettings", "tags": ["Conta"], "summary": "Alterar configurações de download automático de mídia", "description": "Alterar configurações de download automático de mídia", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve salvar mídia na predefinição de baixo uso de dados"}, "high": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se deve salvar mídia na predefinição de alto uso de dados"}, "settings": {"type": "object", "x-tl-type": "AutoDownloadSettings", "oneOf": [{"$ref": "#/components/schemas/autoDownloadSettings"}], "description": "Configurações de download automático de mídia"}}, "additionalProperties": false, "required": ["settings"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `low` | `true` | Não | Se deve salvar mídia na predefinição de baixo uso de dados |\n| `high` | `true` | Não | Se deve salvar mídia na predefinição de alto uso de dados |\n| `settings` | `AutoDownloadSettings` | Sim | Configurações de download automático de mídia |"}, "x-browser-schema-id": "1995661875"}}, "/catalog/account.uploadTheme": {"post": {"operationId": "account.uploadTheme", "tags": ["Conta"], "summary": "Carregar tema", "description": "Carregar tema\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Temas de telegrama](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 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": "### Erros MTProto (RPC)\n\n- 400 · `THEME_FILE_INVALID` — Arquivo de tema fornecido inválido.\n- 400 · `THEME_MIME_INVALID` — O tipo MIME do tema é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "[Arquivo de tema](https://core.telegram.org/api/themes.md#uploading-theme-files) carregado anteriormente com cores específicas da plataforma para componentes de UI, pode ser deixado sem definição ao criar temas que modificam apenas o papel de parede ou cores de destaque."}, "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": "Nome do arquivo"}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "Tipo MIME, deve ser `application/x-tgtheme-{format}`, onde `format` depende do cliente"}}, "additionalProperties": false, "required": ["file", "file_name", "mime_type"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `file` | `InputFile` | Sim | [Arquivo de tema](https://core.telegram.org/api/themes.md#uploading-theme-files) carregado anteriormente com cores específicas da plataforma para componentes de UI, pode ser deixado sem definição ao criar temas que modificam apenas o papel de parede ou cores de destaque. |\n| `thumb` | `InputFile` | Não | Miniatura |\n| `file_name` | `string` | Sim | Nome do arquivo |\n| `mime_type` | `string` | Sim | Tipo MIME, deve ser `application/x-tgtheme-{format}`, onde `format` depende do cliente |"}, "x-telegram-rpc-errors": ["THEME_FILE_INVALID", "THEME_MIME_INVALID"], "x-browser-schema-id": "473805619"}}, "/catalog/account.createTheme": {"post": {"operationId": "account.createTheme", "tags": ["Conta"], "summary": "Crie um tema", "description": "Crie um tema\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 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": "### Erros MTProto (RPC)\n\n- 400 · `THEME_MIME_INVALID` — O tipo MIME do tema é inválido.\n- 400 · `THEME_TITLE_INVALID` — O título do tema especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O ID exclusivo do tema usado para gerar [links diretos do tema](https://core.telegram.org/api/links.md#theme-links) pode estar vazio para gerar automaticamente um ID aleatório."}, "title": {"type": "string", "x-tl-type": "string", "description": "Nome do tema"}, "document": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Arquivo 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 TL: InputThemeSettings."}, "x-tl-type": "Vector<InputThemeSettings>", "x-tl-flag": "flags.3?Vector<InputThemeSettings>", "description": "Configurações de tema, vários valores podem ser fornecidos para os diferentes temas base (modo dia/noite, etc.)."}}, "additionalProperties": false, "required": ["slug", "title"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `slug` | `string` | Sim | O ID exclusivo do tema usado para gerar [links diretos do tema](https://core.telegram.org/api/links.md#theme-links) pode estar vazio para gerar automaticamente um ID aleatório. |\n| `title` | `string` | Sim | Nome do tema |\n| `document` | `InputDocument` | Não | Arquivo de tema |\n| `settings` | `Vector<InputThemeSettings>` | Não | Configurações de tema, vários valores podem ser fornecidos para os diferentes temas base (modo dia/noite, etc.). |"}, "x-telegram-rpc-errors": ["THEME_MIME_INVALID", "THEME_TITLE_INVALID"], "x-browser-schema-id": "1697530880"}}, "/catalog/account.updateTheme": {"post": {"operationId": "account.updateTheme", "tags": ["Conta"], "summary": "Atualizar tema", "description": "Atualizar tema\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `THEME_INVALID` — Tema inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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 do tema, uma string que identifica os mecanismos de temas suportados pelo cliente"}, "theme": {"type": "object", "x-tl-type": "InputTheme", "oneOf": [{"$ref": "#/components/schemas/inputTheme"}, {"$ref": "#/components/schemas/inputThemeSlug"}], "description": "Tema para atualizar"}, "slug": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "ID de tema exclusivo"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Nome do tema"}, "document": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Arquivo 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 TL: InputThemeSettings."}, "x-tl-type": "Vector<InputThemeSettings>", "x-tl-flag": "flags.3?Vector<InputThemeSettings>", "description": "Configurações de tema"}}, "additionalProperties": false, "required": ["format", "theme"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `format` | `string` | Sim | Formato do tema, uma string que identifica os mecanismos de temas suportados pelo cliente |\n| `theme` | `InputTheme` | Sim | Tema para atualizar |\n| `slug` | `string` | Não | ID de tema exclusivo |\n| `title` | `string` | Não | Nome do tema |\n| `document` | `InputDocument` | Não | Arquivo de tema |\n| `settings` | `Vector<InputThemeSettings>` | Não | Configurações de tema |"}, "x-telegram-rpc-errors": ["THEME_INVALID"], "x-browser-schema-id": "737414348"}}, "/catalog/account.saveTheme": {"post": {"operationId": "account.saveTheme", "tags": ["Conta"], "summary": "Salvar um tema", "description": "Salvar um tema\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `THEME_INVALID` — Tema inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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 salvar"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Cancelar salvamento"}}, "additionalProperties": false, "required": ["theme", "unsave"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `theme` | `InputTheme` | Sim | Tema para salvar |\n| `unsave` | `Bool` | Sim | Cancelar salvamento |"}, "x-telegram-rpc-errors": ["THEME_INVALID"], "x-browser-schema-id": "4065792108"}}, "/catalog/account.installTheme": {"post": {"operationId": "account.installTheme", "tags": ["Conta"], "summary": "Instale um tema", "description": "Instale um 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Quer instalar a versão escura"}, "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 do tema, uma string que identifica os mecanismos de temas suportados pelo 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 um tema básico fornecido por todos os clientes", "x-tl-flag": "flags.3?BaseTheme"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `dark` | `true` | Não | Quer instalar a versão escura |\n| `theme` | `InputTheme` | Não | Tema para instalar |\n| `format` | `string` | Não | Formato do tema, uma string que identifica os mecanismos de temas suportados pelo cliente |\n| `base_theme` | `BaseTheme` | Não | Indica um tema básico fornecido por todos os clientes |"}, "x-browser-schema-id": "3341269819"}}, "/catalog/account.getTheme": {"post": {"operationId": "account.getTheme", "tags": ["Conta"], "summary": "Obtenha informações sobre o tema", "description": "Obtenha informações sobre o tema\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `THEME_FORMAT_INVALID` — Formato de tema inválido fornecido.\n- 400 · `THEME_INVALID` — Tema inválido fornecido.\n- 400 · `THEME_SLUG_INVALID` — O slug do tema especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do tema, uma string que identifica os mecanismos de temas suportados pelo 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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `format` | `string` | Sim | Formato do tema, uma string que identifica os mecanismos de temas suportados pelo cliente |\n| `theme` | `InputTheme` | Sim | 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": ["Conta"], "summary": "Obtenha temas instalados", "description": "Obtenha temas instalados\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Digite TL: account.Themes."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 do tema, uma string que identifica os mecanismos de temas suportados pelo cliente"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["format", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `format` | `string` | Sim | Formato do tema, uma string que identifica os mecanismos de temas suportados pelo cliente |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1913054296"}}, "/catalog/account.setContentSettings": {"post": {"operationId": "account.setContentSettings", "tags": ["Conta"], "summary": "Definir configurações de conteúdo confidencial (para visualizar ou ocultar conteúdo NSFW)", "description": "Definir configurações de conteúdo confidencial (para visualizar ou ocultar conteúdo NSFW)\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `SENSITIVE_CHANGE_FORBIDDEN` — Você não pode alterar suas configurações de conteúdo confidencial."}}, "externalDocs": {"description": "Documentação oficial do 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": "Ativar conteúdo NSFW"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `sensitive_enabled` | `true` | Não | Ativar conteúdo NSFW |"}, "x-telegram-rpc-errors": ["SENSITIVE_CHANGE_FORBIDDEN"], "x-browser-schema-id": "3044323691"}}, "/catalog/account.getContentSettings": {"post": {"operationId": "account.getContentSettings", "tags": ["Conta"], "summary": "Obtenha configurações de conteúdo confidencial", "description": "Obtenha configurações de conteúdo 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 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": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.getContentSettings"}, "x-browser-schema-id": "2342210990"}}, "/catalog/account.getMultiWallPapers": {"post": {"operationId": "account.getMultiWallPapers", "tags": ["Conta"], "summary": "Obtenha informações sobre vários papéis de parede", "description": "Obtenha informações sobre vários [papéis de parede](https://core.telegram.org/api/wallpapers.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Papéis de parede de bate-papo](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 MTProto · `Vector<WallPaper>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[Papel de Parede](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 de parede."}, "x-tl-type": "Vector<WallPaper>"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `WALLPAPER_INVALID` — O papel de parede especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "[Wallpapers](https://core.telegram.org/api/wallpapers.md) para buscar informações sobre"}}, "additionalProperties": false, "required": ["wallpapers"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `wallpapers` | `Vector<InputWallPaper>` | Sim | [Wallpapers](https://core.telegram.org/api/wallpapers.md) para buscar informações sobre |"}, "x-telegram-rpc-errors": ["WALLPAPER_INVALID"], "x-browser-schema-id": "1705865692"}}, "/catalog/account.getGlobalPrivacySettings": {"post": {"operationId": "account.getGlobalPrivacySettings", "tags": ["Conta"], "summary": "Obtenha configurações de privacidade globais", "description": "Obtenha configurações de privacidade globais", "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 MTProto · `GlobalPrivacySettings`.\n\n[Configurações globais de privacidade](https://core.telegram.org/type/GlobalPrivacySettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "GlobalPrivacySettings", "oneOf": [{"$ref": "#/components/schemas/globalPrivacySettings"}], "description": "Tipo TL: GlobalPrivacySettings."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.getGlobalPrivacySettings"}, "x-browser-schema-id": "3945483510"}}, "/catalog/account.setGlobalPrivacySettings": {"post": {"operationId": "account.setGlobalPrivacySettings", "tags": ["Conta"], "summary": "Defina configurações globais de privacidade", "description": "Defina configurações globais de privacidade\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Bots de negócios conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Negócio de telegrama](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 MTProto · `GlobalPrivacySettings`.\n\n[Configurações globais de privacidade](https://core.telegram.org/type/GlobalPrivacySettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "GlobalPrivacySettings", "oneOf": [{"$ref": "#/components/schemas/globalPrivacySettings"}], "description": "Tipo TL: GlobalPrivacySettings."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `AUTOARCHIVE_NOT_AVAILABLE` — A configuração de arquivamento automático não está disponível no momento: verifique o valor do campo [autoarchive_setting_available na configuração do cliente »](https://core.telegram.org/api/config.md#client-configuration) antes de chamar este método.\n- 403 · `BOT_ACCESS_FORBIDDEN` — O método especificado *pode* ser usado em uma [conexão comercial](https://core.telegram.org/api/bots/connected-business-bots.md) para algumas operações, mas a consulta especificada tentou uma operação que não é permitida em uma conexão comercial.\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação."}}, "externalDocs": {"description": "Documentação oficial do 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": "Configurações globais de privacidade"}}, "additionalProperties": false, "required": ["settings"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `settings` | `GlobalPrivacySettings` | Sim | Configurações globais de privacidade |"}, "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": ["Conta"], "summary": "Denunciar uma foto de perfil de uma caixa de diálogo", "description": "Denunciar uma foto de perfil de uma caixa de diálogo\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O diálogo"}, "photo_id": {"type": "object", "x-tl-type": "InputPhoto", "oneOf": [{"$ref": "#/components/schemas/inputPhotoEmpty"}, {"$ref": "#/components/schemas/inputPhoto"}], "description": "Diálogo de identificação com foto"}, "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 do relatório"}, "message": {"type": "string", "x-tl-type": "string", "description": "Comentário para moderação do relatório"}}, "additionalProperties": false, "required": ["peer", "photo_id", "reason", "message"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O diálogo |\n| `photo_id` | `InputPhoto` | Sim | Diálogo de identificação com foto |\n| `reason` | `ReportReason` | Sim | Motivo do relatório |\n| `message` | `string` | Sim | Comentário para moderação do relatório |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "4203529973"}}, "/catalog/account.resetPassword": {"post": {"operationId": "account.resetPassword", "tags": ["Conta"], "summary": "Iniciar uma redefinição de senha 2FA: só pode ser usado se o usuário já estiver logado, veja aqui para mais informações »", "description": "Iniciar uma redefinição de senha 2FA: só pode ser usado se o usuário já estiver logado, [veja aqui para mais informações »](https://core.telegram.org/api/srp.md#password-reset)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](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 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": "Digite TL: account.ResetPasswordResult."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PASSWORD_EMPTY` — A senha fornecida está vazia."}}, "externalDocs": {"description": "Documentação oficial do 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": ["Conta"], "summary": "Cancele uma redefinição de senha 2FA pendente, veja aqui para mais informações »", "description": "Cancele uma redefinição de senha 2FA pendente, [veja aqui para mais informações »](https://core.telegram.org/api/srp.md#password-reset)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `RESET_REQUEST_MISSING` — Nenhuma redefinição de senha está em andamento."}}, "externalDocs": {"description": "Documentação oficial do 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": ["Conta"], "summary": "Obtenha todos os temas de chat disponíveis ».", "description": "Obtenha todos os [temas de bate-papo disponíveis »](https://core.telegram.org/api/themes.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Temas de telegrama](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 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": "Digite TL: account.Themes."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3594051209"}}, "/catalog/account.setAuthorizationTTL": {"post": {"operationId": "account.setAuthorizationTTL", "tags": ["Conta"], "summary": "Definir tempo de vida da sessão atual", "description": "Definir tempo de vida da sessão atual\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 406 · `FRESH_RESET_AUTHORISATION_FORBIDDEN` — Você não pode sair de outras sessões se menos de 24 horas se passaram desde que você entrou na sessão atual.\n- 400 · `TTL_DAYS_INVALID` — O TTL fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Tempo de vida da sessão atual em dias"}}, "additionalProperties": false, "required": ["authorization_ttl_days"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `authorization_ttl_days` | `int` | Sim | Tempo de vida da sessão atual em dias |"}, "x-telegram-rpc-errors": ["FRESH_RESET_AUTHORISATION_FORBIDDEN", "TTL_DAYS_INVALID"], "x-browser-schema-id": "3213466272"}}, "/catalog/account.changeAuthorizationSettings": {"post": {"operationId": "account.changeAuthorizationSettings", "tags": ["Conta"], "summary": "Altere as configurações relacionadas a uma sessão.", "description": "Altere as configurações relacionadas a uma sessão.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autorização do usuário](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `HASH_INVALID` — O hash fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, [confirma uma sessão recém-logada »](https://core.telegram.org/api/auth.md#confirming-login)."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de sessão do construtor [authorization](https://core.telegram.org/constructor/authorization.md), buscável 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": "Seja para ativar ou desativar o recebimento de chats criptografados: se o sinalizador não estiver definido, a configuração anterior não será alterada"}, "call_requests_disabled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.1?Bool", "description": "Habilitar ou desabilitar o recebimento de chamadas: se o flag não estiver definido, a configuração anterior não é alterada"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `confirmed` | `true` | Não | Se definido, [confirma uma sessão recém-logada »](https://core.telegram.org/api/auth.md#confirming-login). |\n| `hash` | `long` | Sim | ID de sessão do construtor [authorization](https://core.telegram.org/constructor/authorization.md), buscável usando [account.getAuthorizations](https://core.telegram.org/method/account.getAuthorizations.md) |\n| `encrypted_requests_disabled` | `Bool` | Não | Seja para ativar ou desativar o recebimento de chats criptografados: se o sinalizador não estiver definido, a configuração anterior não será alterada |\n| `call_requests_disabled` | `Bool` | Não | Habilitar ou desabilitar o recebimento de chamadas: se o flag não estiver definido, a configuração anterior não é alterada |"}, "x-telegram-rpc-errors": ["HASH_INVALID"], "x-browser-schema-id": "1089766498"}}, "/catalog/account.getSavedRingtones": {"post": {"operationId": "account.getSavedRingtones", "tags": ["Conta"], "summary": "Buscar sons de notificação salvos", "description": "Buscar sons de notificação salvos\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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 de TL: account.SavedRingtones."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3784319624"}}, "/catalog/account.saveRingtone": {"post": {"operationId": "account.saveRingtone", "tags": ["Conta"], "summary": "Salve ou remova o som de notificação salvo.", "description": "Salve ou remova o som de notificação salvo.\n\nSe o som de notificação já estiver no formato MP3, [account.savedRingtone](https://core.telegram.org/constructor/account.savedRingtone.md) será retornado.\nCaso contrário, ele será convertido automaticamente e um [account.savedRingtoneConverted](https://core.telegram.org/constructor/account.savedRingtoneConverted.md) será retornado, contendo um novo objeto [document](https://core.telegram.org/constructor/document.md) que deverá ser usado para se referir ao toque a partir de agora (ou seja, ao excluí-lo usando o parâmetro `unsave`, ou ao baixá-lo).\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: account.SavedRingtone."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `RINGTONE_INVALID` — O toque especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Som de notificação enviado usando [account.uploadRingtone](https://core.telegram.org/method/account.uploadRingtone.md)"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Se deseja adicionar ou excluir o som de notificação"}}, "additionalProperties": false, "required": ["id", "unsave"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `InputDocument` | Sim | Som de notificação enviado usando [account.uploadRingtone](https://core.telegram.org/method/account.uploadRingtone.md) |\n| `unsave` | `Bool` | Sim | Se deseja adicionar ou excluir o som de notificação |"}, "x-telegram-rpc-errors": ["RINGTONE_INVALID"], "x-browser-schema-id": "1038768899"}}, "/catalog/account.uploadRingtone": {"post": {"operationId": "account.uploadRingtone", "tags": ["Conta"], "summary": "Carregue o som de notificação, use account.saveRingtone para convertê-lo e adicioná-lo à lista de sons de notificação salvos.", "description": "Carregue o som de notificação, use [account.saveRingtone](https://core.telegram.org/method/account.saveRingtone.md) para convertê-lo e adicioná-lo à lista de sons de notificação salvos.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `RINGTONE_MIME_INVALID` — O tipo MIME para o toque é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Som de notificação"}, "file_name": {"type": "string", "x-tl-type": "string", "description": "Nome do arquivo"}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "MIME tipo de arquivo"}}, "additionalProperties": false, "required": ["file", "file_name", "mime_type"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `file` | `InputFile` | Sim | Som de notificação |\n| `file_name` | `string` | Sim | Nome do arquivo |\n| `mime_type` | `string` | Sim | MIME tipo de arquivo |"}, "x-telegram-rpc-errors": ["RINGTONE_MIME_INVALID"], "x-browser-schema-id": "2199552930"}}, "/catalog/account.updateEmojiStatus": {"post": {"operationId": "account.updateEmojiStatus", "tags": ["Conta"], "summary": "Defina um status de emoji", "description": "Defina um [status emoji](https://core.telegram.org/api/emoji-status.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estado dos 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `COLLECTIBLE_INVALID` — O colecionável especificado é inválido.\n- 400 · `DOCUMENT_INVALID` — O documento especificado é inválido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação."}}, "externalDocs": {"description": "Documentação oficial do 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": "[Status do Emoji](https://core.telegram.org/api/emoji-status.md) para definir"}}, "additionalProperties": false, "required": ["emoji_status"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `emoji_status` | `EmojiStatus` | Sim | [Status do Emoji](https://core.telegram.org/api/emoji-status.md) para definir |"}, "x-telegram-rpc-errors": ["COLLECTIBLE_INVALID", "DOCUMENT_INVALID", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "4224966251"}}, "/catalog/account.getDefaultEmojiStatuses": {"post": {"operationId": "account.getDefaultEmojiStatuses", "tags": ["Conta"], "summary": "Obtenha uma lista de status de emoji sugeridos padrão", "description": "Obtenha uma lista de [status de emojis sugeridos padrão](https://core.telegram.org/api/emoji-status.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Estado dos 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 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 de TL: account.EmojiStatuses."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3598005126"}}, "/catalog/account.getRecentEmojiStatuses": {"post": {"operationId": "account.getRecentEmojiStatuses", "tags": ["Conta"], "summary": "Obtenha status de emoji usados recentemente", "description": "Use recentemente [status de emoji](https://core.telegram.org/api/emoji-status.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Estado dos 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 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 de TL: account.EmojiStatuses."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "257392901"}}, "/catalog/account.clearRecentEmojiStatuses": {"post": {"operationId": "account.clearRecentEmojiStatuses", "tags": ["Conta"], "summary": "Limpa a lista de status de emoji usados recentemente", "description": "Limpa a lista de [status de emoji](https://core.telegram.org/api/emoji-status.md) usados recentemente\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estado dos 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.clearRecentEmojiStatuses"}, "x-browser-schema-id": "404757166"}}, "/catalog/account.reorderUsernames": {"post": {"operationId": "account.reorderUsernames", "tags": ["Conta"], "summary": "Reordene os nomes de usuário associados ao usuário conectado no momento.", "description": "Reordene os nomes de usuário associados ao usuário conectado no momento.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `ORDER_INVALID` — A ordem do nome de usuário especificada é inválida.\n- 400 · `USERNAME_NOT_MODIFIED` — O nome de usuário não foi modificado."}}, "externalDocs": {"description": "Documentação oficial do 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": "A nova ordem para nomes de usuário ativos. Todos os nomes de usuário ativos devem ser especificados."}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `order` | `Vector<string>` | Sim | A nova ordem para nomes de usuário ativos. Todos os nomes de usuário ativos devem ser especificados. |"}, "x-telegram-rpc-errors": ["ORDER_INVALID", "USERNAME_NOT_MODIFIED"], "x-browser-schema-id": "4015001259"}}, "/catalog/account.toggleUsername": {"post": {"operationId": "account.toggleUsername", "tags": ["Conta"], "summary": "Ative ou desative um nome de usuário fragment.com adquirido associado ao usuário conectado no momento.", "description": "Ative ou desative um nome de usuário adquirido [fragment.com](https://fragment.com) associado ao usuário conectado no momento.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `USERNAMES_ACTIVE_TOO_MUCH` — O número máximo de nomes de usuários ativos foi atingido.\n- 400 · `USERNAME_INVALID` — O nome de usuário fornecido não é válido.\n- 400 · `USERNAME_NOT_MODIFIED` — O nome de usuário não foi modificado."}}, "externalDocs": {"description": "Documentação oficial do 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": "Nome de usuário"}, "active": {"type": "boolean", "x-tl-type": "Bool", "description": "Seja para ativá-lo ou desativá-lo"}}, "additionalProperties": false, "required": ["username", "active"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `username` | `string` | Sim | Nome de usuário |\n| `active` | `Bool` | Sim | Seja para ativá-lo ou desativá-lo |"}, "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": ["Conta"], "summary": "Obtenha um conjunto sugerido de adesivos emoji personalizados que podem ser usados como foto de perfil", "description": "Obtenha um conjunto sugerido de [adesivos emoji personalizados](https://core.telegram.org/api/custom-emoji.md) que podem ser [usados como foto de perfil](https://core.telegram.org/api/files.md#sticker-profile-pictures)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Fazendo upload e download de arquivos](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 MTProto · `EmojiList`.\n\n[Lista de Emojis](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: EmojiList."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3799319336"}}, "/catalog/account.getDefaultGroupPhotoEmojis": {"post": {"operationId": "account.getDefaultGroupPhotoEmojis", "tags": ["Conta"], "summary": "Obtenha um conjunto sugerido de adesivos emoji personalizados que podem ser usados como imagem de grupo", "description": "Obtenha um conjunto sugerido de [adesivos emoji personalizados](https://core.telegram.org/api/custom-emoji.md) que podem ser [usados como imagem de grupo](https://core.telegram.org/api/files.md#sticker-profile-pictures)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Fazendo upload e download de arquivos](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 MTProto · `EmojiList`.\n\n[Lista de Emojis](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: EmojiList."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2438488238"}}, "/catalog/account.getAutoSaveSettings": {"post": {"operationId": "account.getAutoSaveSettings", "tags": ["Conta"], "summary": "Obtenha configurações de salvamento automático", "description": "Obtenha configurações de salvamento 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 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": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.getAutoSaveSettings"}, "x-browser-schema-id": "2915810522"}}, "/catalog/account.saveAutoSaveSettings": {"post": {"operationId": "account.saveAutoSaveSettings", "tags": ["Conta"], "summary": "Modificar configurações de salvamento automático", "description": "Modificar configurações de salvamento automático\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se as novas configurações devem afetar todos os chats privados"}, "chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se as novas configurações devem afetar todos os grupos"}, "broadcasts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Se as novas configurações devem afetar todos os [canais](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": "Se as novas configurações devem afetar um peer específico", "x-tl-flag": "flags.3?InputPeer"}, "settings": {"type": "object", "x-tl-type": "AutoSaveSettings", "oneOf": [{"$ref": "#/components/schemas/autoSaveSettings"}], "description": "As novas configurações de salvamento automático"}}, "additionalProperties": false, "required": ["settings"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `users` | `true` | Não | Se as novas configurações devem afetar todos os chats privados |\n| `chats` | `true` | Não | Se as novas configurações devem afetar todos os grupos |\n| `broadcasts` | `true` | Não | Se as novas configurações devem afetar todos os [canais](https://core.telegram.org/api/channel.md) |\n| `peer` | `InputPeer` | Não | Se as novas configurações devem afetar um peer específico |\n| `settings` | `AutoSaveSettings` | Sim | As novas configurações de salvamento automático |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3600515937"}}, "/catalog/account.deleteAutoSaveExceptions": {"post": {"operationId": "account.deleteAutoSaveExceptions", "tags": ["Conta"], "summary": "Limpe todas as configurações de salvamento automático específicas de pares.", "description": "Limpe todas as configurações de salvamento 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.deleteAutoSaveExceptions"}, "x-browser-schema-id": "1404829728"}}, "/catalog/account.invalidateSignInCodes": {"post": {"operationId": "account.invalidateSignInCodes", "tags": ["Conta"], "summary": "Invalide os códigos de login especificados, veja aqui » para mais informações.", "description": "Invalide os códigos de login especificados, veja [aqui »](https://core.telegram.org/api/auth.md#invalidating-login-codes) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autorização do usuário](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Os códigos de login a serem invalidados."}}, "additionalProperties": false, "required": ["codes"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `codes` | `Vector<string>` | Sim | Os códigos de login a serem invalidados. |"}, "x-browser-schema-id": "3398101178"}}, "/catalog/account.updateColor": {"post": {"operationId": "account.updateColor", "tags": ["Conta"], "summary": "Atualize a cor de destaque e o emoji personalizado de fundo » da conta corrente.", "description": "Atualize o [emoji personalizado de cor de destaque e fundo »](https://core.telegram.org/api/colors.md) da conta atual.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Cores de destaque](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `COLOR_INVALID` — O ID da paleta de cores especificada era inválido.\n- 400 · `DOCUMENT_INVALID` — O documento especificado é inválido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja alterar o padrão de emoji de cor de destaque da página de perfil; caso contrário, a cor de destaque e o padrão de emoji das mensagens serão alterados."}, "color": {"type": "object", "x-tl-type": "PeerColor", "oneOf": [{"$ref": "#/components/schemas/peerColor"}, {"$ref": "#/components/schemas/peerColorCollectible"}, {"$ref": "#/components/schemas/inputPeerColorCollectible"}], "description": "[ID da paleta de cores de destaque »](https://core.telegram.org/api/colors.md) para usar (não RGB24, veja [aqui »](https://core.telegram.org/api/colors.md) para mais informações).", "x-tl-flag": "flags.2?PeerColor"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `for_profile` | `true` | Não | Se deseja alterar o padrão de emoji de cor de destaque da página de perfil; caso contrário, a cor de destaque e o padrão de emoji das mensagens serão alterados. |\n| `color` | `PeerColor` | Não | [ID da paleta de cores de destaque »](https://core.telegram.org/api/colors.md) para usar (não RGB24, veja [aqui »](https://core.telegram.org/api/colors.md) para mais informações). |"}, "x-telegram-rpc-errors": ["COLOR_INVALID", "DOCUMENT_INVALID", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "1749885262"}}, "/catalog/account.getDefaultBackgroundEmojis": {"post": {"operationId": "account.getDefaultBackgroundEmojis", "tags": ["Conta"], "summary": "Obtenha um conjunto sugerido de adesivos emoji personalizados que podem ser usados em um padrão de cores de destaque.", "description": "Obtenha um conjunto sugerido de [adesivos emoji personalizados](https://core.telegram.org/api/custom-emoji.md) que podem ser usados em um [padrão de cores de destaque](https://core.telegram.org/api/colors.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Cores de destaque](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 MTProto · `EmojiList`.\n\n[Lista de Emojis](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: EmojiList."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2785720782"}}, "/catalog/account.getChannelDefaultEmojiStatuses": {"post": {"operationId": "account.getChannelDefaultEmojiStatuses", "tags": ["Conta"], "summary": "Obtenha uma lista de status de emoji de canal sugeridos por padrão.", "description": "Obtenha uma lista de [status de emoji de canal sugeridos padrão](https://core.telegram.org/api/emoji-status.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Estado dos 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 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 de TL: account.EmojiStatuses."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1999087573"}}, "/catalog/account.getChannelRestrictedStatusEmojis": {"post": {"operationId": "account.getChannelRestrictedStatusEmojis", "tags": ["Conta"], "summary": "Os retornos buscam a lista completa de IDs de emoji personalizados » que não podem ser usados nos status de emoji do canal ».", "description": "Os retornos buscam a lista completa de [IDs de emoji personalizados »](https://core.telegram.org/api/custom-emoji.md) que não podem ser usados em [status de emoji de canal »](https://core.telegram.org/api/emoji-status.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Estado dos 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 MTProto · `EmojiList`.\n\n[Lista de Emojis](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: EmojiList."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "900325589"}}, "/catalog/account.updateBusinessWorkHours": {"post": {"operationId": "account.updateBusinessWorkHours", "tags": ["Conta"], "summary": "Especifique um conjunto de horários de funcionamento do Telegram Business.", "description": "Especifique um conjunto de [horário de funcionamento do Telegram Business](https://core.telegram.org/api/business.md#opening-hours).\nEsta informação estará contida em [userFull](https://core.telegram.org/constructor/userFull.md).`business_work_hours`.\n\nPara remover todos os horários de funcionamento, invoque o método sem definir o campo `business_work_hours`.\n\nObserve que o horário de funcionamento especificado pelo usuário deve ser devidamente validado e transformado antes de invocar o método, conforme especificado [aqui »](https://core.telegram.org/api/business.md#opening-hours).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BUSINESS_WORK_HOURS_EMPTY` — Não foi especificado horário de trabalho.\n- 400 · `BUSINESS_WORK_HOURS_PERIOD_INVALID` — As horas de trabalho especificadas são inválidas. Consulte [aqui »](https://core.telegram.org/api/business.md#opening-hours) para obter os requisitos exatos.\n- 400 · `TIMEZONE_INVALID` — O fuso horário especificado não existe."}}, "externalDocs": {"description": "Documentação oficial do 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": "Horário de funcionamento (opcional, se não definido, remove todos os horários de funcionamento).", "x-tl-flag": "flags.0?BusinessWorkHours"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `business_work_hours` | `BusinessWorkHours` | Não | Horário de funcionamento (opcional, se não definido, remove todos os horários de funcionamento). |"}, "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": ["Conta"], "summary": "As empresas » podem anunciar sua localização usando este método, veja aqui » para mais informações.", "description": "[Empresas »](https://core.telegram.org/api/business.md#location) podem anunciar sua localização usando este método, consulte [aqui »](https://core.telegram.org/api/business.md#location) para obter mais informações.\n\nPara remover informações de localização comercial, invoque o método sem definir nenhum dos parâmetros.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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, contém um 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": "Obrigatório ao configurar/atualizar a localização, contém uma descrição textual do endereço (máx. 96 UTF-8 caracteres)."}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `geo_point` | `InputGeoPoint` | Não | Opcional, contém um conjunto de coordenadas geográficas. |\n| `address` | `string` | Não | Obrigatório ao configurar/atualizar a localização, contém uma descrição textual do endereço (máx. 96 UTF-8 caracteres). |"}, "x-browser-schema-id": "2657817370"}}, "/catalog/account.updateBusinessGreetingMessage": {"post": {"operationId": "account.updateBusinessGreetingMessage", "tags": ["Conta"], "summary": "Defina uma lista de mensagens de saudação do Telegram Business.", "description": "Defina uma lista de [Mensagens de saudação do Telegram Business](https://core.telegram.org/api/business.md#greeting-messages).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Configuração e conteúdo da mensagem de saudação.", "x-tl-flag": "flags.0?InputBusinessGreetingMessage"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `message` | `InputBusinessGreetingMessage` | Não | Configuração e conteúdo da mensagem de saudação. |"}, "x-browser-schema-id": "1724755908"}}, "/catalog/account.updateBusinessAwayMessage": {"post": {"operationId": "account.updateBusinessAwayMessage", "tags": ["Conta"], "summary": "Defina uma lista de mensagens ausentes do Telegram Business.", "description": "Defina uma lista de [mensagens ausentes do Telegram Business](https://core.telegram.org/api/business.md#away-messages).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Configuração e conteúdo da mensagem de ausência.", "x-tl-flag": "flags.0?InputBusinessAwayMessage"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `message` | `InputBusinessAwayMessage` | Não | Configuração e conteúdo da mensagem de ausência. |"}, "x-browser-schema-id": "2724888485"}}, "/catalog/account.updateConnectedBot": {"post": {"operationId": "account.updateConnectedBot", "tags": ["Conta"], "summary": "Conecte um bot empresarial » à conta atual ou para alterar as configurações de conexão atuais.", "description": "Conecte um [bot empresarial »](https://core.telegram.org/api/bots/connected-business-bots.md) à conta atual ou para alterar as configurações de conexão atuais.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Bots de negócios 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_BUSINESS_MISSING` — O bot especificado não é um bot comercial (o sinalizador [user](https://core.telegram.org/constructor/user.md).`bot_business` não está definido).\n- 400 · `BUSINESS_RECIPIENTS_EMPTY` — Você não definiu nenhum sinalizador em inputBusinessBotRecipients, portanto o bot não pode trabalhar com *qualquer* peer."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja desconectar totalmente o bot da conta corrente."}, "rights": {"type": "object", "x-tl-type": "BusinessBotRights", "oneOf": [{"$ref": "#/components/schemas/businessBotRights"}], "description": "Direitos de bot de negócios.", "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": "O bot para conectar ou desconectar"}, "recipients": {"type": "object", "x-tl-type": "InputBusinessBotRecipients", "oneOf": [{"$ref": "#/components/schemas/inputBusinessBotRecipients"}], "description": "Configuração para a conexão comercial"}}, "additionalProperties": false, "required": ["bot", "recipients"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `deleted` | `true` | Não | Se deseja desconectar totalmente o bot da conta corrente. |\n| `rights` | `BusinessBotRights` | Não | Direitos de bot de negócios. |\n| `bot` | `InputUser` | Sim | O bot para conectar ou desconectar |\n| `recipients` | `InputBusinessBotRecipients` | Sim | Configuração para a conexão comercial |"}, "x-telegram-rpc-errors": ["BOT_BUSINESS_MISSING", "BUSINESS_RECIPIENTS_EMPTY"], "x-browser-schema-id": "1721797758"}}, "/catalog/account.getConnectedBots": {"post": {"operationId": "account.getConnectedBots", "tags": ["Conta"], "summary": "Liste todos os bots de negócios atualmente conectados »", "description": "Liste todos os [bots de negócios atualmente conectados »](https://core.telegram.org/api/bots/connected-business-bots.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Bots de negócios 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 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": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.getConnectedBots"}, "x-browser-schema-id": "1319421967"}}, "/catalog/account.getBotBusinessConnection": {"post": {"operationId": "account.getBotBusinessConnection", "tags": ["Conta"], "summary": "Os bots podem invocar este método para buscar novamente o construtor updateBotBusinessConnect associado a um negócio específico `connection_id`, veja aqui » para obter mais informações sobre bots de negócios conectados.", "description": "Os bots podem invocar este método para buscar novamente o construtor [updateBotBusinessConnect](https://core.telegram.org/constructor/updateBotBusinessConnect.md) associado a um [negócio `connection_id` específico, veja aqui »](https://core.telegram.org/api/bots/connected-business-bots.md) para obter mais informações sobre bots de negócios conectados.\nIsso é necessário, por exemplo, para bots recém-logados que estão recebendo algumas atualizações [updateBotNewBusinessMessage](https://core.telegram.org/constructor/updateBotNewBusinessMessage.md), etc., porque alguns usuários já se conectaram ao bot antes que ele pudesse fazer login.\nNesse caso, o bot está recebendo mensagens da conexão comercial, mas ainda não armazenou em cache o [updateBotBusinessConnect](https://core.telegram.org/constructor/updateBotBusinessConnect.md) associado com informações sobre a conexão (ele pode responder às mensagens? etc.) e não pode receber as antigas porque foram enviadas quando o bot ainda não estava logado na sessão.\nEste método pode ser usado para buscar informações sobre uma conexão comercial ainda não armazenada em cache e não deve ser invocado se as informações já estiverem armazenadas em cache ou para buscar alterações, pois eventuais alterações serão enviadas automaticamente como novas [updateBotBusinessConnect](https://core.telegram.org/constructor/updateBotBusinessConnect.md) atualizações para o bot usando os [métodos de entrega de atualização »](https://core.telegram.org/api/updates.md) usuais.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Bots de negócios conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Trabalhando com atualizações](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CONNECTION_ID_INVALID` — O ID de conexão especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 conexão comercial »](https://core.telegram.org/api/bots/connected-business-bots.md)."}}, "additionalProperties": false, "required": ["connection_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `connection_id` | `string` | Sim | [ID de conexão comercial »](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": ["Conta"], "summary": "Definir ou remover a introdução do Telegram Business ».", "description": "Defina ou remova a [Introdução ao Telegram Business »](https://core.telegram.org/api/business.md#business-introduction).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Introdução ao Telegram Business, para removê-lo chame o método sem definir este sinalizador.", "x-tl-flag": "flags.0?InputBusinessIntro"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `intro` | `InputBusinessIntro` | Não | Introdução ao Telegram Business, para removê-lo chame o método sem definir este sinalizador. |"}, "x-browser-schema-id": "2786381876"}}, "/catalog/account.toggleConnectedBotPaused": {"post": {"operationId": "account.toggleConnectedBotPaused", "tags": ["Conta"], "summary": "Pause ou retome um bate-papo específico, desconectando-o temporariamente de todos os bots de negócios ».", "description": "Pause ou retome um bate-papo específico, desconectando-o temporariamente de todos os [bots de negócios »](https://core.telegram.org/api/bots/connected-business-bots.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Bots de negócios 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bate-papo para pausar"}, "paused": {"type": "boolean", "x-tl-type": "Bool", "description": "Seja para pausar ou retomar o bate-papo"}}, "additionalProperties": false, "required": ["peer", "paused"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O bate-papo para pausar |\n| `paused` | `Bool` | Sim | Seja para pausar ou retomar o bate-papo |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1684934807"}}, "/catalog/account.disablePeerConnectedBot": {"post": {"operationId": "account.disablePeerConnectedBot", "tags": ["Conta"], "summary": "Desconectar permanentemente um chat específico de todos os bots de negócios » (equivalente a especificá-lo em `recipients.exclude_users` durante a configuração inicial com account.updateConnectedBot »); para reconectar um chat desconectado usando este método o usuário deve reconectar todo o bot invocando account.updateConnectedBot ».", "description": "Desconectar permanentemente um chat específico de todos os [bots de negócios »](https://core.telegram.org/api/bots/connected-business-bots.md) (equivalente a especificá-lo em `recipients.exclude_users` durante a configuração inicial com [account.updateConnectedBot »](https://core.telegram.org/method/account.updateConnectedBot.md)); para reconectar um chat desconectado usando este método o usuário deve reconectar todo o bot invocando [account.updateConnectedBot »](https://core.telegram.org/method/account.updateConnectedBot.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Bots de negócios conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Negócio de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_ALREADY_DISABLED` — O bot comercial conectado já estava desabilitado para o peer especificado.\n- 400 · `BOT_NOT_CONNECTED_YET` — Nenhum [business bot](https://core.telegram.org/api/business.md#connected-bots) está conectado ao usuário conectado no momento.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bate-papo para desconectar"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O bate-papo 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": ["Conta"], "summary": "Atualize nosso aniversário, veja aqui » para mais informações.", "description": "Atualize nosso [aniversário, veja aqui »](https://core.telegram.org/api/profile.md#birthday) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Perfis de usuário](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BIRTHDAY_INVALID` — Foi especificada uma idade de inválido, deve estar entre 0 e 150 anos."}}, "externalDocs": {"description": "Documentação oficial do 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": "Aniversário.", "x-tl-flag": "flags.0?Birthday"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `birthday` | `Birthday` | Não | Aniversário. |"}, "x-telegram-rpc-errors": ["BIRTHDAY_INVALID"], "x-browser-schema-id": "3429764113"}}, "/catalog/account.createBusinessChatLink": {"post": {"operationId": "account.createBusinessChatLink", "tags": ["Conta"], "summary": "Crie um link direto para bate-papo de negócios ».", "description": "Crie um [link direto para bate-papo de negócios »](https://core.telegram.org/api/business.md#business-chat-links).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 MTProto · `BusinessChatLink`.\n\n[BusinessChatLink](https://core.telegram.org/type/BusinessChatLink.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "BusinessChatLink", "oneOf": [{"$ref": "#/components/schemas/businessChatLink"}], "description": "Tipo de TL: BusinessChatLink."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHATLINKS_TOO_MUCH` — Muitos [links de chat de negócios](https://core.telegram.org/api/business.md#business-chat-links) foram criados, exclua alguns links mais antigos.\n- 400 · `DOCUMENT_INVALID` — O documento especificado é inválido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação."}}, "externalDocs": {"description": "Documentação oficial do 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": "Informações sobre o link a ser criado."}}, "additionalProperties": false, "required": ["link"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `link` | `InputBusinessChatLink` | Sim | Informações sobre o link a ser criado. |"}, "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": ["Conta"], "summary": "Edite um link direto de bate-papo de negócios criado ».", "description": "Edite um [link direto de bate-papo de negócios »](https://core.telegram.org/api/business.md#business-chat-links) criado.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [Negócio de telegrama](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 MTProto · `BusinessChatLink`.\n\n[BusinessChatLink](https://core.telegram.org/type/BusinessChatLink.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "BusinessChatLink", "oneOf": [{"$ref": "#/components/schemas/businessChatLink"}], "description": "Tipo de TL: BusinessChatLink."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHATLINK_SLUG_EMPTY` — O slug especificado está vazio.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação."}}, "externalDocs": {"description": "Documentação oficial do 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 do link, obtido conforme especificado [aqui »](https://core.telegram.org/api/links.md#business-chat-links)."}, "link": {"type": "object", "x-tl-type": "InputBusinessChatLink", "oneOf": [{"$ref": "#/components/schemas/inputBusinessChatLink"}], "description": "Novas informações de link."}}, "additionalProperties": false, "required": ["slug", "link"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `slug` | `string` | Sim | Slug do link, obtido conforme especificado [aqui »](https://core.telegram.org/api/links.md#business-chat-links). |\n| `link` | `InputBusinessChatLink` | Sim | Novas informações de link. |"}, "x-telegram-rpc-errors": ["CHATLINK_SLUG_EMPTY", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "2352222383"}}, "/catalog/account.deleteBusinessChatLink": {"post": {"operationId": "account.deleteBusinessChatLink", "tags": ["Conta"], "summary": "Excluir um link direto de bate-papo de negócios ».", "description": "Exclua um [link direto do bate-papo comercial »](https://core.telegram.org/api/business.md#business-chat-links).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [Negócio de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHATLINK_SLUG_EMPTY` — O slug especificado está vazio.\n- 400 · `CHATLINK_SLUG_EXPIRED` — O [link de chat de negócios](https://core.telegram.org/api/business.md#business-chat-links) especificado expirou."}}, "externalDocs": {"description": "Documentação oficial do 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 do link, obtido conforme especificado [aqui »](https://core.telegram.org/api/links.md#business-chat-links)."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `slug` | `string` | Sim | Slug do link, obtido conforme especificado [aqui »](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": ["Conta"], "summary": "Liste todos os links diretos de chat de negócios criados ».", "description": "Liste todos os [links diretos de bate-papo de negócios criados »](https://core.telegram.org/api/business.md#business-chat-links).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 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": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.getBusinessChatLinks"}, "x-browser-schema-id": "1869667809"}}, "/catalog/account.resolveBusinessChatLink": {"post": {"operationId": "account.resolveBusinessChatLink", "tags": ["Conta"], "summary": "Resolver um link direto de bate-papo de negócios ».", "description": "Resolva um [link direto do bate-papo comercial »](https://core.telegram.org/api/business.md#business-chat-links).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [Negócio de telegrama](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 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": "Digite TL: account.ResolvedBusinessChatLinks."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHATLINK_SLUG_EMPTY` — O slug especificado está vazio.\n- 400 · `CHATLINK_SLUG_EXPIRED` — O [link de chat de negócios](https://core.telegram.org/api/business.md#business-chat-links) especificado expirou."}}, "externalDocs": {"description": "Documentação oficial do 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 do link, obtido conforme especificado [aqui »](https://core.telegram.org/api/links.md#business-chat-links)."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `slug` | `string` | Sim | Slug do link, obtido conforme especificado [aqui »](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": ["Conta"], "summary": "Associar (ou remover) um canal pessoal », que será listado na nossa página de perfil pessoal ».", "description": "Associe (ou remova) um [canal pessoal »](https://core.telegram.org/api/channel.md), que será listado em nossa [página de perfil» pessoal »](https://core.telegram.org/api/profile.md#personal-channel).\n\nAlterá-lo emitirá uma atualização [updateUser](https://core.telegram.org/constructor/updateUser.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Perfis de usuário](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PUBLIC_BROADCAST_EXPECTED` — `channel` aceita apenas um canal, mas um supergrupo foi aprovado."}}, "externalDocs": {"description": "Documentação oficial do 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": "O canal, passe [inputChannelEmpty](https://core.telegram.org/constructor/inputChannelEmpty.md) para removê-lo."}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O canal, passe [inputChannelEmpty](https://core.telegram.org/constructor/inputChannelEmpty.md) para removê-lo. |"}, "x-telegram-rpc-errors": ["PUBLIC_BROADCAST_EXPECTED"], "x-browser-schema-id": "3645048288"}}, "/catalog/account.toggleSponsoredMessages": {"post": {"operationId": "account.toggleSponsoredMessages", "tags": ["Conta"], "summary": "Desative ou reative os anúncios do Telegram para a conta Premium atual.", "description": "Desative ou reative os anúncios do Telegram para a conta [Premium](https://core.telegram.org/api/premium.md) atual.\n\nÚtil para proprietários de empresas que desejam lançar e visualizar seus próprios anúncios do Telegram por meio da [plataforma de anúncios do Telegram »](https://ads.telegram.org).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Ative ou desative anúncios."}}, "additionalProperties": false, "required": ["enabled"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `enabled` | `Bool` | Sim | Ative ou desative anúncios. |"}, "x-browser-schema-id": "3118048141"}}, "/catalog/account.getReactionsNotifySettings": {"post": {"operationId": "account.getReactionsNotifySettings", "tags": ["Conta"], "summary": "Obtenha as configurações atuais de notificação de reação ».", "description": "Obtenha as [configurações de notificação de reação »](https://core.telegram.org/api/reactions.md#notifications-about-reactions) atuais.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Reações de mensagens](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 MTProto · `ReactionsNotifySettings`.\n\n[ReaçõesNotifySettings](https://core.telegram.org/type/ReactionsNotifySettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ReactionsNotifySettings", "oneOf": [{"$ref": "#/components/schemas/reactionsNotifySettings"}], "description": "Tipo TL: ReactionsNotifySettings."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.getReactionsNotifySettings"}, "x-browser-schema-id": "115172684"}}, "/catalog/account.setReactionsNotifySettings": {"post": {"operationId": "account.setReactionsNotifySettings", "tags": ["Conta"], "summary": "Altere as configurações de notificação de reação ».", "description": "Altere as [configurações de notificação de reação »](https://core.telegram.org/api/reactions.md#notifications-about-reactions).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Reações de mensagens](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 MTProto · `ReactionsNotifySettings`.\n\n[ReaçõesNotifySettings](https://core.telegram.org/type/ReactionsNotifySettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ReactionsNotifySettings", "oneOf": [{"$ref": "#/components/schemas/reactionsNotifySettings"}], "description": "Tipo TL: ReactionsNotifySettings."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Novas configurações de notificação de reação."}}, "additionalProperties": false, "required": ["settings"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `settings` | `ReactionsNotifySettings` | Sim | Novas configurações de notificação de reação. |"}, "x-browser-schema-id": "829220168"}}, "/catalog/account.getCollectibleEmojiStatuses": {"post": {"operationId": "account.getCollectibleEmojiStatuses", "tags": ["Conta"], "summary": "Obtenha uma lista de status de emojis »para presentes colecionáveis próprios ou hospedados».", "description": "Obtenha uma lista de [status de emoji »](https://core.telegram.org/api/emoji-status.md) para presentes colecionáveis ​​próprios ou [hospedados»](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Estado dos emojis](https://core.telegram.org/api/emoji-status.md)\n- [Presentes 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 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 de TL: account.EmojiStatuses."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 paginação](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash para paginação](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "779830595"}}, "/catalog/account.getPaidMessagesRevenue": {"post": {"operationId": "account.getPaidMessagesRevenue", "tags": ["Conta"], "summary": "Obtenha o número de estrelas que recebemos do usuário especificado graças às mensagens pagas »; o valor recebido será igual ao valor enviado multiplicado por stars\\_paid\\_message\\_commission\\_permille dividido por 1000.", "description": "Obtenha o número de estrelas que recebemos do usuário especificado graças a [mensagens pagas »](https://core.telegram.org/api/paid-messages.md); o valor recebido será igual ao valor 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**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens diretas para canais](https://core.telegram.org/api/monoforum.md)\n- [Mensagens pagas](https://core.telegram.org/api/paid-messages.md)\n- [Configuração do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `PARENT_PEER_INVALID` — O `parent_peer` especificado é inválido.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, pode conter o ID de um [monoforum (mensagens diretas do canal)](https://core.telegram.org/api/monoforum.md) para obter o número de estrelas que o usuário gastou para nos enviar mensagens diretas através do 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": "O usuário que pagou para nos enviar mensagens."}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | Não | Se definido, pode conter o ID de um [monoforum (mensagens diretas do canal)](https://core.telegram.org/api/monoforum.md) para obter o número de estrelas que o usuário gastou para nos enviar mensagens diretas através do canal. |\n| `user_id` | `InputUser` | Sim | O usuário que pagou para nos enviar mensagens. |"}, "x-telegram-rpc-errors": ["PARENT_PEER_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "431639143"}}, "/catalog/account.toggleNoPaidMessagesException": {"post": {"operationId": "account.toggleNoPaidMessagesException", "tags": ["Conta"], "summary": "Permitir que um usuário nos envie mensagens sem pagar se as mensagens pagas » estiverem ativadas.", "description": "Permitir que um usuário nos envie mensagens sem pagar se [mensagens pagas »](https://core.telegram.org/api/paid-messages.md) estiverem habilitadas.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens diretas para canais](https://core.telegram.org/api/monoforum.md)\n- [Mensagens pagas](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PARENT_PEER_INVALID` — O `parent_peer` especificado é inválido.\n- 400 · `UNSUPPORTED` — `require_payment` não pode ser *definido* pelos usuários, apenas por monofóruns: os usuários devem usar a configuração de privacidade [inputPrivacyKeyNoPaidMessages](https://core.telegram.org/constructor/inputPrivacyKeyNoPaidMessages.md) para remover uma isenção adicionada anteriormente.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido e `require_payment` não estiver definido, reembolsa os valores que o usuário já nos pagou para nos enviar mensagens (diretamente ou através de um monoforum)."}, "require_payment": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Se definido, exige que o usuário pague para nos enviar mensagens.  Só pode ser **definido** por monofóruns, não por usuários, i.e. `parent_peer` deve ser definido se este sinalizador estiver definido; em vez disso, os usuários devem usar a configuração de privacidade [inputPrivacyKeyNoPaidMessages](https://core.telegram.org/constructor/inputPrivacyKeyNoPaidMessages.md) para remover uma isenção adicionada anteriormente.  Se não definido, permite que o usuário nos envie mensagens sem pagar (pode ser **desativado** tanto pelos monofóruns quanto pelos usuários)."}, "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": "Se definido, aplica a configuração em [monoforum também conhecido como mensagens diretas »](https://core.telegram.org/api/monoforum.md) (passe o ID do monoforum, **não** o ID do canal associado).", "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": "O usuário deve ser isento ou não."}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `refund_charged` | `true` | Não | Se definido e `require_payment` não estiver definido, reembolsa os valores que o usuário já nos pagou para nos enviar mensagens (diretamente ou através de um monoforum). |\n| `require_payment` | `true` | Não | Se definido, exige que o usuário pague para nos enviar mensagens.  Só pode ser **definido** por monofóruns, não por usuários, i.e. `parent_peer` deve ser definido se este sinalizador estiver definido; em vez disso, os usuários devem usar a configuração de privacidade [inputPrivacyKeyNoPaidMessages](https://core.telegram.org/constructor/inputPrivacyKeyNoPaidMessages.md) para remover uma isenção adicionada anteriormente.  Se não definido, permite que o usuário nos envie mensagens sem pagar (pode ser **desativado** tanto pelos monofóruns quanto pelos usuários). |\n| `parent_peer` | `InputPeer` | Não | Se definido, aplica a configuração em [monoforum também conhecido como mensagens diretas »](https://core.telegram.org/api/monoforum.md) (passe o ID do monoforum, **não** o ID do canal associado). |\n| `user_id` | `InputUser` | Sim | O usuário deve ser isento ou não. |"}, "x-telegram-rpc-errors": ["PARENT_PEER_INVALID", "UNSUPPORTED", "USER_ID_INVALID"], "x-browser-schema-id": "4264483446"}}, "/catalog/account.setMainProfileTab": {"post": {"operationId": "account.setMainProfileTab", "tags": ["Conta"], "summary": "Altera a aba principal do perfil do usuário atual, veja aqui » para mais informações.", "description": "Altera a aba principal do perfil do usuário atual, veja [aqui »](https://core.telegram.org/api/profile.md#tabs) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Perfis de usuário](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "A guia a ser definida como guia principal."}}, "additionalProperties": false, "required": ["tab"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `tab` | `ProfileTab` | Sim | A guia a ser definida como guia principal. |"}, "x-browser-schema-id": "1575909552"}}, "/catalog/account.saveMusic": {"post": {"operationId": "account.saveMusic", "tags": ["Conta"], "summary": "Adiciona ou remove uma música do perfil do usuário atual, veja aqui » para mais informações na guia música da página de perfil.", "description": "Adiciona ou remove uma música do perfil do usuário atual [veja aqui »](https://core.telegram.org/api/profile.md#music) para mais informações na aba de música da página de perfil.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Perfis de usuário](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `DOCUMENT_INVALID` — O documento especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, remove a música."}, "id": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "A música a ser adicionada ou removida; pode ser uma música já adicionada ao reordenar músicas com `after_id`. Adicionar uma música já adicionada nunca irá adicioná-la novamente, apenas a moverá para o topo da lista de músicas (ou após a música passar em `after_id`)."}, "after_id": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Se definido, a música será adicionada após a música passada (já deve estar fixada no perfil).", "x-tl-flag": "flags.1?InputDocument"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `unsave` | `true` | Não | Se definido, remove a música. |\n| `id` | `InputDocument` | Sim | A música a ser adicionada ou removida; pode ser uma música já adicionada ao reordenar músicas com `after_id`. Adicionar uma música já adicionada nunca irá adicioná-la novamente, apenas a moverá para o topo da lista de músicas (ou após a música passar em `after_id`). |\n| `after_id` | `InputDocument` | Não | Se definido, a música será adicionada após a música passada (já deve estar fixada no perfil). |"}, "x-telegram-rpc-errors": ["DOCUMENT_INVALID"], "x-browser-schema-id": "2993107625"}}, "/catalog/account.getSavedMusicIds": {"post": {"operationId": "account.getSavedMusicIds", "tags": ["Conta"], "summary": "Obtenha a lista completa apenas dos IDs das músicas atualmente adicionadas ao perfil, veja aqui » para mais informações.", "description": "Obtenha a lista completa apenas dos IDs de [músicas atualmente adicionadas ao perfil, veja aqui »](https://core.telegram.org/api/profile.md#music) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Perfis de usuário](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 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": "Digite TL: account.SavedMusicIds."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 [gerado »](https://core.telegram.org/api/offsets.md#hash-generation) da lista de IDs retornada anteriormente.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | Hash [gerado »](https://core.telegram.org/api/offsets.md#hash-generation) da lista de IDs retornada anteriormente. |"}, "x-browser-schema-id": "3768410031"}}, "/catalog/account.getUniqueGiftChatThemes": {"post": {"operationId": "account.getUniqueGiftChatThemes", "tags": ["Conta"], "summary": "Obtenha todos os temas de bate-papo » associados a presentes colecionáveis próprios ou hospedados ».", "description": "Obtenha todos os [temas de bate-papo »](https://core.telegram.org/api/themes.md#chat-themes) associados a presentes colecionáveis próprios ou [hospedados»](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Temas de telegrama](https://core.telegram.org/api/themes.md)\n- [Presentes 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 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": "Documentação oficial do 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": "Deslocamento para [paginação](https://core.telegram.org/api/offsets.md), inicialmente uma string vazia, então igual ao valor do último retornado [account.chatThemes](https://core.telegram.org/constructor/account.chatThemes.md).`next_offset` (se definido)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [veja paginação](https://core.telegram.org/api/offsets.md). Observe que o servidor pode retornar menos de `limit` resultados, mesmo que o número real de resultados restantes seja `>= limit`, paginate para buscar todos eles."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de um construtor [account.chatThemes](https://core.telegram.org/constructor/account.chatThemes.md) retornado anteriormente, para evitar o retorno de qualquer resultado se a lista de temas não tiver mudado.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["offset", "limit", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `offset` | `string` | Sim | Deslocamento para [paginação](https://core.telegram.org/api/offsets.md), inicialmente uma string vazia, então igual ao valor do último retornado [account.chatThemes](https://core.telegram.org/constructor/account.chatThemes.md).`next_offset` (se definido). |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [veja paginação](https://core.telegram.org/api/offsets.md). Observe que o servidor pode retornar menos de `limit` resultados, mesmo que o número real de resultados restantes seja `>= limit`, paginate para buscar todos eles. |\n| `hash` | `long` | Sim | Hash de um construtor [account.chatThemes](https://core.telegram.org/constructor/account.chatThemes.md) retornado anteriormente, para evitar o retorno de qualquer resultado se a lista de temas não tiver mudado. |"}, "x-browser-schema-id": "3828148681"}}, "/catalog/account.initPasskeyRegistration": {"post": {"operationId": "account.initPasskeyRegistration", "tags": ["Conta"], "summary": "Inicialize o registro da chave de acesso para a conta corrente, veja aqui » para mais informações sobre o fluxo completo.", "description": "Inicialize o registro da chave de acesso para a conta corrente, veja [aqui »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) para mais informações sobre o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Login com senha](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 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": "### Erros MTProto (RPC)\n\n- 403 · `ACCESS_DENIED` — A conta foi desativada ou é uma conta de bot/serviço.\n- 406 · `FRESH_RESET_AUTHORISATION_FORBIDDEN` — Você não pode sair de outras sessões se menos de 24 horas se passaram desde que você entrou na sessão atual."}}, "externalDocs": {"description": "Documentação oficial do 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": ["Conta"], "summary": "Conclua o cadastro da chave de acesso da conta corrente, veja aqui » para mais informações sobre o fluxo completo.", "description": "Conclua o registro da chave de acesso para a conta corrente, veja [aqui »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) para mais informações sobre o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Login com senha](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 MTProto · `Passkey`.\n\n[Senha](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: Senha."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CREDENTIAL_INVALID` — A credencial especificada é inválida.\n- 400 · `PASSKEY_ORIGIN_MISMATCH` — Atualmente, clientes de terceiros não suportam senhas, mesmo quando a origem é alterada."}}, "externalDocs": {"description": "Documentação oficial do 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 da inscrição."}}, "additionalProperties": false, "required": ["credential"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `credential` | `InputPasskeyCredential` | Sim | Resultado da inscrição. |"}, "x-telegram-rpc-errors": ["CREDENTIAL_INVALID", "PASSKEY_ORIGIN_MISMATCH"], "x-browser-schema-id": "1437867990"}}, "/catalog/account.getPasskeys": {"post": {"operationId": "account.getPasskeys", "tags": ["Conta"], "summary": "Liste as chaves de acesso associadas à conta atual que podem ser usadas para fazer login, veja aqui » para mais informações sobre chaves de acesso.", "description": "Liste as chaves de acesso associadas à conta atual que podem ser usadas para fazer login, veja [aqui »](https://core.telegram.org/api/passkeys.md#list-passkeys) para mais informações sobre chaves de acesso.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Login com senha](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 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": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/account.getPasskeys"}, "x-browser-schema-id": "3927903314"}}, "/catalog/account.deletePasskey": {"post": {"operationId": "account.deletePasskey", "tags": ["Conta"], "summary": "Exclua uma chave de acesso associada à conta atual, veja aqui » para mais informações.", "description": "Exclua uma chave de acesso associada à conta atual, veja [aqui »](https://core.telegram.org/api/passkeys.md#delete-passkeys) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Login com senha](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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 da chave de acesso a ser excluída, obtida de [passkey](https://core.telegram.org/constructor/passkey.md).`id`, geralmente obtida usando [account.getPasskeys](https://core.telegram.org/method/account.getPasskeys.md)."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `string` | Sim | Identificador da chave de acesso a ser excluída, obtida de [passkey](https://core.telegram.org/constructor/passkey.md).`id`, geralmente obtida usando [account.getPasskeys](https://core.telegram.org/method/account.getPasskeys.md). |"}, "x-browser-schema-id": "4122302015"}}, "/catalog/account.confirmBotConnection": {"post": {"operationId": "account.confirmBotConnection", "tags": ["Conta"], "summary": "account.confirmBotConnection", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL: InputUser."}}, "additionalProperties": false, "required": ["bot_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot_id` | `InputUser` | Sim | Tipo TL: InputUser. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1743593320"}}, "/catalog/account.getWebBrowserSettings": {"post": {"operationId": "account.getWebBrowserSettings", "tags": ["Conta"], "summary": "account.getWebBrowserSettings", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1449482088"}}, "/catalog/account.updateWebBrowserSettings": {"post": {"operationId": "account.updateWebBrowserSettings", "tags": ["Conta"], "summary": "account.updateWebBrowserSettings", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `true`."}, "display_close_button": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Valor do tipo TL `true`."}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `open_external_browser` | `true` | Não | Valor do tipo TL `true`. |\n| `display_close_button` | `true` | Não | Valor do tipo TL `true`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2598339326"}}, "/catalog/account.toggleWebBrowserSettingsException": {"post": {"operationId": "account.toggleWebBrowserSettingsException", "tags": ["Conta"], "summary": "account.toggleWebBrowserSettingsException", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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: Atualizações."}}}}}, "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 do tipo TL `true`."}, "open_external_browser": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Valor do tipo TL `Bool`."}, "url": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["url"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `delete` | `true` | Não | Valor do tipo TL `true`. |\n| `open_external_browser` | `Bool` | Não | Valor do tipo TL `Bool`. |\n| `url` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1626161705"}}, "/catalog/account.deleteWebBrowserSettingsExceptions": {"post": {"operationId": "account.deleteWebBrowserSettingsExceptions", "tags": ["Conta"], "summary": "account.deleteWebBrowserSettingsExceptions", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2258663005"}}, "/catalog/users.getUsers": {"post": {"operationId": "users.getUsers", "tags": ["Usuários"], "summary": "Retorna informações básicas do usuário de acordo com seus identificadores.", "description": "Retorna informações básicas do usuário de acordo com seus identificadores.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Vector<User>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[Usuário](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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) não suporta este recurso.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `FROM_MESSAGE_BOT_DISABLED` — Bots não podem usar construtores fromMessage min.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais."}}, "externalDocs": {"description": "Documentação oficial do 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 TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Lista de identificadores de usuário"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputUser>` | Sim | Lista de identificadores de usuário |"}, "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": ["Usuários"], "summary": "Obtenha perfil de usuário detalhado", "description": "Возвращает расширенные сведения о пользователе. В ответе могут быть описание профиля и связанные пользователи или чаты.\n\n**Quem pode chamar esse método** · Usuários e bots do 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `USERNAME_OCCUPIED` — O nome de usuário fornecido já está ocupado.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O usuário sobre o qual você deseja obter informações.", "example": {"_": "inputUserSelf"}}}, "additionalProperties": false, "required": ["id"]}, "example": {"id": {"_": "inputUserSelf"}}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | Sim | O usuário sobre o qual você deseja obter informações. |"}, "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": ["Usuários"], "summary": "Notificar o usuário de que os dados do passaporte enviados contêm alguns erros O usuário não poderá reenviar os dados do passaporte para você até que os erros sejam corrigidos (o conteúdo do campo para o qual você retornou o erro deve ser alterado).", "description": "Notifique o usuário de que os dados [passport](https://core.telegram.org/passport.md) enviados contêm alguns erros. O usuário não poderá reenviar seus dados do Passport para você até que os erros sejam corrigidos (o conteúdo do campo para o qual você retornou o erro deve mudar).\n\nUse isto se os dados enviados pelo usuário não atenderem aos padrões exigidos pelo seu serviço por qualquer motivo. Por exemplo, se uma data de aniversário parece inválida, um documento enviado está borrado, uma digitalização mostra evidências de adulteração, etc. Forneça alguns detalhes na mensagem de erro para garantir que o usuário saiba como corrigir os problemas.\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `DATA_HASH_SIZE_INVALID` — O tamanho do secureValueErrorData.data_hash especificado é inválido.\n- 400 · `HASH_SIZE_INVALID` — O tamanho do secureValueError.hash especificado é inválido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O usuário"}, "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 TL: SecureValueError."}, "x-tl-type": "Vector<SecureValueError>", "description": "Erros"}}, "additionalProperties": false, "required": ["id", "errors"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | Sim | O usuário |\n| `errors` | `Vector<SecureValueError>` | Sim | Erros |"}, "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": ["Usuários"], "summary": "Verifique se podemos escrever para os usuários especificados, usados para implementar verificações em massa para mensagens somente Premium » e mensagens pagas ».", "description": "Verifique se podemos escrever para os usuários especificados, usados para implementar verificações em massa para [mensagens somente Premium »](https://core.telegram.org/api/privacy.md#require-premium-for-new-non-contact-users) e [mensagens pagas »](https://core.telegram.org/api/paid-messages.md).\n\nPara cada usuário de entrada, retorna um construtor [RequirementToContact](https://core.telegram.org/type/RequirementToContact.md) (no mesmo deslocamento no vetor) contendo requisitos para contatá-los.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configurações de privacidade](https://core.telegram.org/api/privacy.md)\n- [Mensagens pagas](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 MTProto · `Vector<RequirementToContact>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[RequisitoParaContato](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 TL: RequirementToContact."}, "x-tl-type": "Vector<RequirementToContact>"}}}}}, "externalDocs": {"description": "Documentação oficial do 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 TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Usuários para verificar."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputUser>` | Sim | Usuários para verificar. |"}, "x-browser-schema-id": "3634004899"}}, "/catalog/users.getSavedMusic": {"post": {"operationId": "users.getSavedMusic", "tags": ["Usuários"], "summary": "Obtenha músicas fixadas no perfil do usuário, veja aqui » para mais informações.", "description": "Obtenha músicas [fixadas no perfil do usuário, veja aqui »](https://core.telegram.org/api/profile.md#music) para mais informações.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Perfis de usuário](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 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": "Digite TL: users.SavedMusic."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O ID do usuário."}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Deslocamento para paginação."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash »](https://core.telegram.org/api/offsets.md#hash-generation) dos IDs das músicas adicionadas anteriormente, para evitar retornar qualquer resultado caso não tenha havido alteração.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["id", "offset", "limit", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | Sim | O ID do usuário. |\n| `offset` | `int` | Sim | Deslocamento para paginação. |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Sim | [Hash »](https://core.telegram.org/api/offsets.md#hash-generation) dos IDs das músicas adicionadas anteriormente, para evitar retornar qualquer resultado caso não tenha havido alteração. |"}, "x-telegram-rpc-errors": ["USER_ID_INVALID"], "x-browser-schema-id": "2022539235"}}, "/catalog/users.getSavedMusicByID": {"post": {"operationId": "users.getSavedMusicByID", "tags": ["Usuários"], "summary": "Verifique se as músicas aprovadas ainda estão fixadas no perfil do usuário ou atualize as referências de arquivo das músicas fixadas no perfil do usuário, veja aqui » para mais informações.", "description": "Verifique se as músicas aprovadas ainda estão fixadas no perfil do usuário ou atualize as referências de arquivo das músicas fixadas no perfil do usuário [veja aqui »](https://core.telegram.org/api/profile.md#music) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Perfis de usuário](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 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": "Digite TL: users.SavedMusic."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O ID do usuário."}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Tipo TL: InputDocument."}, "x-tl-type": "Vector<InputDocument>", "description": "As músicas (aqui, `file_reference` pode estar vazia para atualizar as referências dos arquivos)."}}, "additionalProperties": false, "required": ["id", "documents"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | Sim | O ID do usuário. |\n| `documents` | `Vector<InputDocument>` | Sim | As músicas (aqui, `file_reference` pode estar vazia para atualizar as referências dos arquivos). |"}, "x-telegram-rpc-errors": ["USER_ID_INVALID"], "x-browser-schema-id": "1970513129"}}, "/catalog/users.suggestBirthday": {"post": {"operationId": "users.suggestBirthday", "tags": ["Usuários"], "summary": "Sugira um aniversário para outro usuário, veja aqui » para mais informações sobre aniversários no API.", "description": "Sugira um aniversário para outro usuário, veja [aqui »](https://core.telegram.org/api/profile.md#birthday) para mais informações sobre aniversários em API.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Perfis de usuário](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BIRTHDAY_ALREADY` — O usuário alvo já tem uma data de aniversário definida.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O usuário que receberá a data de aniversário sugerida."}, "birthday": {"type": "object", "x-tl-type": "Birthday", "oneOf": [{"$ref": "#/components/schemas/birthday"}], "description": "O aniversário a sugerir."}}, "additionalProperties": false, "required": ["id", "birthday"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | Sim | O usuário que receberá a data de aniversário sugerida. |\n| `birthday` | `Birthday` | Sim | O aniversário a sugerir. |"}, "x-telegram-rpc-errors": ["BIRTHDAY_ALREADY", "USER_ID_INVALID"], "x-browser-schema-id": "4233311090"}}, "/catalog/contacts.getContactIDs": {"post": {"operationId": "contacts.getContactIDs", "tags": ["Contatos"], "summary": "Obtenha os IDs de telegrama de todos os contatos.", "description": "Obtenha os IDs de telegrama de todos os contatos.\nRetorna uma matriz de IDs de usuário do Telegram para todos os contatos (0 se um contato não tiver uma conta do Telegram associada ou tiver ocultado sua conta usando configurações de privacidade).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 MTProto · `Vector<int>`.\n\n[Vetor](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": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation) |"}, "x-browser-schema-id": "2061264541"}}, "/catalog/contacts.getStatuses": {"post": {"operationId": "contacts.getStatuses", "tags": ["Contatos"], "summary": "Use este método para obter o status online de todos os contatos com uma conta acessível do Telegram.", "description": "Use este método para obter o status online de todos os contatos com uma conta acessível do Telegram.", "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 MTProto · `Vector<ContactStatus>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[ContactStatus](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 TL: ContactStatus."}, "x-tl-type": "Vector<ContactStatus>"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/contacts.getStatuses"}, "x-browser-schema-id": "3299038190"}}, "/catalog/contacts.getContacts": {"post": {"operationId": "contacts.getContacts", "tags": ["Contatos"], "summary": "Retorna a lista de contatos do usuário atual.", "description": "Retorna a lista de contatos do usuário atual.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Digite TL: contacts.Contacts."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). Observe que o hash é calculado [usando o algoritmo usual](https://core.telegram.org/api/offsets.md#hash-generation), passando para o algoritmo primeiro o campo [contacts.contacts](https://core.telegram.org/constructor/contacts.contacts.md).`saved_count` retornado anteriormente e, em seguida, no máximo `100000` IDs de usuário classificados da lista de contatos, incluindo o ID do usuário conectado no momento, se estiver salvo como um contato.  Exemplo: [implementação tdlib](https://github.com/tdlib/td/blob/73035e4a69ed26df563652de14aa9c4c86d23420/td/telegram/UserManager.cpp#L7865).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). Observe que o hash é calculado [usando o algoritmo usual](https://core.telegram.org/api/offsets.md#hash-generation), passando para o algoritmo primeiro o campo [contacts.contacts](https://core.telegram.org/constructor/contacts.contacts.md).`saved_count` retornado anteriormente e, em seguida, no máximo `100000` IDs de usuário classificados da lista de contatos, incluindo o ID do usuário conectado no momento, se estiver salvo como um contato.  Exemplo: [implementação 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": ["Contatos"], "summary": "Importa contatos: salva uma lista completa no servidor, adiciona contatos já cadastrados à lista de contatos, retorna os contatos adicionados e suas informações.", "description": "Importa contatos: salva uma lista completa no servidor, adiciona contatos já cadastrados à lista de contatos, retorna os contatos adicionados e suas informações.\n\nUse [contacts.addContact](https://core.telegram.org/method/contacts.addContact.md) para adicionar contatos do Telegram sem realmente usar seu número de telefone.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: contacts.ImportedContacts."}}}}}, "externalDocs": {"description": "Documentação oficial do 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:InputContact."}, "x-tl-type": "Vector<InputContact>", "description": "Lista de contatos para importar"}}, "additionalProperties": false, "required": ["contacts"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `contacts` | `Vector<InputContact>` | Sim | Lista de contatos para importar |"}, "x-browser-schema-id": "746589157"}}, "/catalog/contacts.deleteContacts": {"post": {"operationId": "contacts.deleteContacts", "tags": ["Contatos"], "summary": "Exclui vários contatos da lista.", "description": "Exclui vários contatos da lista.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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 TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Lista de IDs de usuário"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputUser>` | Sim | Lista de IDs de usuário |"}, "x-telegram-rpc-errors": ["MSG_ID_INVALID"], "x-browser-schema-id": "157945344"}}, "/catalog/contacts.deleteByPhones": {"post": {"operationId": "contacts.deleteByPhones", "tags": ["Contatos"], "summary": "Excluir contatos por número de telefone", "description": "Excluir contatos por número de telefone", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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 telefone"}}, "additionalProperties": false, "required": ["phones"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phones` | `Vector<string>` | Sim | Números de telefone |"}, "x-browser-schema-id": "269745566"}}, "/catalog/contacts.block": {"post": {"operationId": "contacts.block", "tags": ["Contatos"], "summary": "Adiciona um par a uma lista de bloqueio, veja aqui » para mais informações.", "description": "Adiciona um par a uma lista de bloqueio, veja [aqui »](https://core.telegram.org/api/block.md) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Usuários 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CONTACT_ID_INVALID` — O ID de contato fornecido é inválido.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se o par deve ser adicionado à lista de bloqueio de histórias; se não for definido, o par será adicionado à lista de bloqueio principal, veja [aqui »](https://core.telegram.org/api/block.md) para mais informações."}, "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"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `my_stories_from` | `true` | Não | Se o par deve ser adicionado à lista de bloqueio de histórias; se não for definido, o par será adicionado à lista de bloqueio principal, veja [aqui »](https://core.telegram.org/api/block.md) para mais informações. |\n| `id` | `InputPeer` | Sim | Par |"}, "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": ["Contatos"], "summary": "Exclui um peer de uma lista de bloqueio, veja aqui » para mais informações.", "description": "Exclui um peer de uma lista de bloqueio, veja [aqui »](https://core.telegram.org/api/block.md) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Usuários 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CONTACT_ID_INVALID` — O ID de contato fornecido é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se o par deve ser removido da lista de bloqueio de histórias; se não for definido, o peer será removido da lista de bloqueio principal, veja [aqui »](https://core.telegram.org/api/block.md) para mais informações."}, "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"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `my_stories_from` | `true` | Não | Se o par deve ser removido da lista de bloqueio de histórias; se não for definido, o peer será removido da lista de bloqueio principal, veja [aqui »](https://core.telegram.org/api/block.md) para mais informações. |\n| `id` | `InputPeer` | Sim | Par |"}, "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": ["Contatos"], "summary": "Retorna a lista de usuários bloqueados.", "description": "Retorna a lista de usuários bloqueados.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Usuários 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 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": "Digite TL: contacts.Blocked."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve buscar a lista de bloqueio de histórias; se não for definido, irá buscar a lista de bloqueio principal. Veja [aqui »](https://core.telegram.org/api/block.md) para diferenças entre os dois."}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O número de elementos da lista a serem ignorados"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O número de elementos da lista a serem retornados"}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `my_stories_from` | `true` | Não | Se deve buscar a lista de bloqueio de histórias; se não for definido, irá buscar a lista de bloqueio principal. Veja [aqui »](https://core.telegram.org/api/block.md) para diferenças entre os dois. |\n| `offset` | `int` | Sim | O número de elementos da lista a serem ignorados |\n| `limit` | `int` | Sim | O número de elementos da lista a serem retornados |"}, "x-browser-schema-id": "2592509824"}}, "/catalog/contacts.search": {"post": {"operationId": "contacts.search", "tags": ["Contatos"], "summary": "Retorna usuários encontrados pela substring de nome de usuário.", "description": "Retorna usuários encontrados pela substring de nome de usuário.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: contacts.Found."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `QUERY_TOO_SHORT` — A string de consulta é muito curta.\n- 400 · `SEARCH_QUERY_EMPTY` — A consulta de pesquisa está vazia."}}, "externalDocs": {"description": "Documentação oficial do 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 do tipo TL `true`."}, "bots": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Valor do tipo TL `true`."}, "q": {"type": "string", "x-tl-type": "string", "description": "Substring de destino"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de usuários a serem retornados"}}, "additionalProperties": false, "required": ["q", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `broadcasts` | `true` | Não | Valor do tipo TL `true`. |\n| `bots` | `true` | Não | Valor do tipo TL `true`. |\n| `q` | `string` | Sim | Substring de destino |\n| `limit` | `int` | Sim | Número máximo de usuários a serem retornados |"}, "x-telegram-rpc-errors": ["QUERY_TOO_SHORT", "SEARCH_QUERY_EMPTY"], "x-browser-schema-id": "99978511"}}, "/catalog/contacts.resolveUsername": {"post": {"operationId": "contacts.resolveUsername", "tags": ["Contatos"], "summary": "Encontre um usuário, chat ou canal pelo nome", "description": "Determina quem está usando o nome público e retorna o identificador juntamente com os dados associados.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CONNECTION_LAYER_INVALID` — Camada inválida.\n- 400 · `STARREF_EXPIRED` — O link de referência especificado é inválido.\n- 400 · `USERNAME_INVALID` — O nome de usuário fornecido não é válido.\n- 400 · `USERNAME_NOT_OCCUPIED` — O nome de usuário fornecido não está ocupado."}}, "externalDocs": {"description": "Documentação oficial do 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": "Nome público do usuário, chat ou canal."}, "referer": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "ID de origem do link de referência, se disponível."}}, "additionalProperties": false, "required": ["username"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `username` | `string` | Sim | Nome público do usuário, chat ou canal. |\n| `referer` | `string` | Não | ID de origem do link de referência, se disponível. |"}, "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": ["Contatos"], "summary": "Obtenha os pares mais usados", "description": "Obtenha os pares mais usados\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Miniaplicativos no Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Modo visitante para bots](https://core.telegram.org/api/bots/guest-mode.md)\n- [Paginação no 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 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": "### Erros MTProto (RPC)\n\n- 400 · `TYPES_EMPTY` — Nenhum tipo de peer superior foi fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Usuários com quem conversamos com mais frequência"}, "bots_pm": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Bots mais usados"}, "bots_inline": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Bots inline mais usados"}, "phone_calls": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Usuários chamados com mais frequência"}, "forward_users": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Usuários para os quais os usuários frequentemente encaminham mensagens"}, "forward_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Bate-papos para os quais os usuários frequentemente encaminham mensagens"}, "groups": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true", "description": "Grupos e supergrupos frequentemente abertos"}, "channels": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.15?true", "description": "Canais mais visitados"}, "bots_app": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true", "description": "Mais frequentemente usados [Principais Mini Bot Apps](https://core.telegram.org/api/bots/webapps.md#main-mini-apps)."}, "bots_guestchat": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.17?true", "description": "[bots convidados usados com mais frequência »](https://core.telegram.org/api/bots/guest-mode.md)"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Deslocamento para [paginação](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["offset", "limit", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `correspondents` | `true` | Não | Usuários com quem conversamos com mais frequência |\n| `bots_pm` | `true` | Não | Bots mais usados |\n| `bots_inline` | `true` | Não | Bots inline mais usados |\n| `phone_calls` | `true` | Não | Usuários chamados com mais frequência |\n| `forward_users` | `true` | Não | Usuários para os quais os usuários frequentemente encaminham mensagens |\n| `forward_chats` | `true` | Não | Bate-papos para os quais os usuários frequentemente encaminham mensagens |\n| `groups` | `true` | Não | Grupos e supergrupos frequentemente abertos |\n| `channels` | `true` | Não | Canais mais visitados |\n| `bots_app` | `true` | Não | Mais frequentemente usados [Principais Mini Bot Apps](https://core.telegram.org/api/bots/webapps.md#main-mini-apps). |\n| `bots_guestchat` | `true` | Não | [bots convidados usados com mais frequência »](https://core.telegram.org/api/bots/guest-mode.md) |\n| `offset` | `int` | Sim | Deslocamento para [paginação](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](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": ["Contatos"], "summary": "Redefinir classificação do par superior", "description": "Redefinir [classificação](https://core.telegram.org/api/top-rating.md) do melhor par\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Melhor classificação por pares](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Categoria 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 cuja classificação deve ser redefinida"}}, "additionalProperties": false, "required": ["category", "peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `category` | `TopPeerCategory` | Sim | Categoria de pares superior |\n| `peer` | `InputPeer` | Sim | Par cuja classificação deve ser redefinida |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "451113900"}}, "/catalog/contacts.resetSaved": {"post": {"operationId": "contacts.resetSaved", "tags": ["Contatos"], "summary": "Remove todos os contatos sem uma conta Telegram associada.", "description": "Remove todos os contatos sem uma conta Telegram associada.", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/contacts.resetSaved"}, "x-browser-schema-id": "2274703345"}}, "/catalog/contacts.getSaved": {"post": {"operationId": "contacts.getSaved", "tags": ["Contatos"], "summary": "Obtenha todos os contatos, requer uma sessão de entrega, veja aqui » para mais informações.", "description": "Obtenha todos os contatos, requer uma [sessão para viagem, veja aqui » para mais informações](https://core.telegram.org/api/takeout.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Para viagem 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 MTProto · `Vector<SavedContact>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[Contato salvo](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 TL: SavedContact."}, "x-tl-type": "Vector<SavedContact>"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `TAKEOUT_INVALID` — O ID de entrega especificado é inválido.\n- 403 · `TAKEOUT_REQUIRED` — Uma sessão [takeout](https://core.telegram.org/api/takeout.md) precisa ser inicializada primeiro, [veja aqui » para mais informações](https://core.telegram.org/api/takeout.md)."}}, "externalDocs": {"description": "Documentação oficial do 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": ["Contatos"], "summary": "Ativar/desativar os principais pares", "description": "Ativar/desativar [principais pares](https://core.telegram.org/api/top-rating.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Melhor classificação por pares](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Ativar/desativar"}}, "additionalProperties": false, "required": ["enabled"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `enabled` | `Bool` | Sim | Ativar/desativar |"}, "x-browser-schema-id": "2232729050"}}, "/catalog/contacts.addContact": {"post": {"operationId": "contacts.addContact", "tags": ["Contatos"], "summary": "Adicione um usuário de telegrama existente como contato.", "description": "Adicione um usuário de telegrama existente como contato.\n\nUse [contacts.importContacts](https://core.telegram.org/method/contacts.importContacts.md) para adicionar contatos por número de telefone, sem saber seu ID do Telegram.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Lista de contatos](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CONTACT_ID_INVALID` — O ID de contato fornecido é inválido.\n- 400 · `CONTACT_NAME_EMPTY` — Nome do contato vazio.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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 outro usuário veja nosso número de telefone?"}, "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 do telegrama do outro usuário"}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Primeiro nome"}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Sobrenome"}, "phone": {"type": "string", "x-tl-type": "string", "description": "O número de telefone do usuário pode ser omitido para simplesmente adicionar o usuário à lista de contatos, sem número de telefone."}, "note": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Uma nota privada para este contacto, visível apenas para nós; veja [aqui »](https://core.telegram.org/api/contacts.md#private-notes-for-contacts) para mais informações sobre notas de contato.", "x-tl-flag": "flags.1?TextWithEntities"}}, "additionalProperties": false, "required": ["id", "first_name", "last_name", "phone"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `add_phone_privacy_exception` | `true` | Não | Permitir que outro usuário veja nosso número de telefone? |\n| `id` | `InputUser` | Sim | ID do telegrama do outro usuário |\n| `first_name` | `string` | Sim | Primeiro nome |\n| `last_name` | `string` | Sim | Sobrenome |\n| `phone` | `string` | Sim | O número de telefone do usuário pode ser omitido para simplesmente adicionar o usuário à lista de contatos, sem número de telefone. |\n| `note` | `TextWithEntities` | Não | Uma nota privada para este contacto, visível apenas para nós; veja [aqui »](https://core.telegram.org/api/contacts.md#private-notes-for-contacts) para mais informações sobre notas de contato. |"}, "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": ["Contatos"], "summary": "Se a barra de ação para adicionar contato estiver ativa, adicione esse usuário como contato", "description": "Se a [barra de ação para adicionar contato estiver ativa](https://core.telegram.org/api/action-bar.md#add-contact), adicione esse usuário como contato\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Barra de ação](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CONTACT_ADD_MISSING` — O contato para adicionar está faltando.\n- 400 · `CONTACT_ID_INVALID` — O ID de contato fornecido é inválido.\n- 400 · `CONTACT_REQ_MISSING` — Solicitação de contato ausente.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O usuário a ser adicionado como contato"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | Sim | O usuário a ser adicionado como contato |"}, "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": ["Contatos"], "summary": "Obtenha usuários e geochats perto de você, veja aqui » para mais informações.", "description": "Obtenha usuários e geochats perto de você, veja [aqui »](https://core.telegram.org/api/nearby.md) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Usuários e bate-papos próximos](https://core.telegram.org/api/nearby.md)\n- [Negócio de telegrama](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 406 · `BUSINESS_ADDRESS_ACTIVE` — O usuário está atualmente anunciando um [Local Comercial](https://core.telegram.org/api/business.md#location), o local só pode ser alterado (ou removido) usando [account.updateBusinessLocation »](https://core.telegram.org/method/account.updateBusinessLocation.md).  .\n- 400 · `GEO_POINT_INVALID` — Geolocalização inválida fornecida.\n- 406 · `USERPIC_PRIVACY_REQUIRED` — Você precisa desabilitar as configurações de privacidade da sua foto de perfil para tornar sua geolocalização pública.\n- 406 · `USERPIC_UPLOAD_REQUIRED` — Você deve ter uma foto de perfil para publicar sua geolocalização."}}, "externalDocs": {"description": "Documentação oficial do 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": "Embora a geolocalização do usuário atual seja pública, os clientes devem atualizá-la em segundo plano a cada meia hora ou mais, enquanto definem esse sinalizador.  Faça isso apenas se o novo local estiver a mais de 1 km do anterior ou se o local anterior for desconhecido."}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "oneOf": [{"$ref": "#/components/schemas/inputGeoPointEmpty"}, {"$ref": "#/components/schemas/inputGeoPoint"}], "description": "Geolocalização"}, "self_expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Se definido, a geolocalização do usuário atual será pública pelo número especificado de segundos; passe 0x7fffffff para desabilitar a expiração, 0 para tornar a geolocalização atual privada; se o sinalizador não estiver definido, nenhuma alteração será aplicada."}}, "additionalProperties": false, "required": ["geo_point"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `background` | `true` | Não | Embora a geolocalização do usuário atual seja pública, os clientes devem atualizá-la em segundo plano a cada meia hora ou mais, enquanto definem esse sinalizador.  Faça isso apenas se o novo local estiver a mais de 1 km do anterior ou se o local anterior for desconhecido. |\n| `geo_point` | `InputGeoPoint` | Sim | Geolocalização |\n| `self_expires` | `int` | Não | Se definido, a geolocalização do usuário atual será pública pelo número especificado de segundos; passe 0x7fffffff para desabilitar a expiração, 0 para tornar a geolocalização atual privada; se o sinalizador não estiver definido, nenhuma alteração será aplicada. |"}, "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": ["Contatos"], "summary": "Pare de receber notificações sobre respostas de discussões de um determinado usuário em `@replies`", "description": "Pare de receber notificações sobre [respostas à discussão](https://core.telegram.org/api/discussion.md) de um determinado usuário em `@replies`\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Grupos de discussão](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja excluir também a mensagem especificada"}, "delete_history": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se todas as mensagens `@replies` deste usuário também devem ser excluídas"}, "report_spam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Se também deve denunciar este usuário por spam"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem no chat [@replies](https://core.telegram.org/api/discussion.md#replies)"}}, "additionalProperties": false, "required": ["msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `delete_message` | `true` | Não | Se deseja excluir também a mensagem especificada |\n| `delete_history` | `true` | Não | Se todas as mensagens `@replies` deste usuário também devem ser excluídas |\n| `report_spam` | `true` | Não | Se também deve denunciar este usuário por spam |\n| `msg_id` | `int` | Sim | ID da mensagem no 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": ["Contatos"], "summary": "Resolva um número de telefone para obter informações do usuário, se as configurações de privacidade permitirem.", "description": "Resolva um número de telefone para obter informações do usuário, se as configurações de privacidade permitirem.\n\nCertifique-se de implementar ratelimiting/debounce do lado do cliente para este método, permitindo no máximo 1 chamada a cada 3 segundos.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 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": "### Erros MTProto (RPC)\n\n- 400 · `PHONE_NOT_OCCUPIED` — Nenhum usuário está associado ao número de telefone especificado."}}, "externalDocs": {"description": "Documentação oficial do 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 telefone em formato internacional, possivelmente obtido de um [link direto do número de telefone](https://core.telegram.org/api/links.md#phone-number-links)."}}, "additionalProperties": false, "required": ["phone"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `phone` | `string` | Sim | Número de telefone em formato internacional, possivelmente obtido de um [link direto do número de telefone](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": ["Contatos"], "summary": "Gera um link de perfil temporário para o usuário conectado no momento.", "description": "Gera um [link de perfil temporário](https://core.telegram.org/api/links.md#temporary-profile-links) para o usuário conectado no momento.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 MTProto · `ExportedContactToken`.\n\n[ExportadoContactToken](https://core.telegram.org/type/ExportedContactToken.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ExportedContactToken", "oneOf": [{"$ref": "#/components/schemas/exportedContactToken"}], "description": "Tipo TL: ExportedContactToken."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/contacts.exportContactToken"}, "x-browser-schema-id": "4167385127"}}, "/catalog/contacts.importContactToken": {"post": {"operationId": "contacts.importContactToken", "tags": ["Contatos"], "summary": "Obtenha informações do usuário a partir de um link de perfil temporário.", "description": "Obtenha informações do usuário em um [link de perfil temporário](https://core.telegram.org/api/links.md#temporary-profile-links).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 MTProto · `User`.\n\n[Usuário](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": "Digite TL: Usuário."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `IMPORT_TOKEN_INVALID` — O token especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O token extraído do [link do perfil temporário](https://core.telegram.org/api/links.md#temporary-profile-links)."}}, "additionalProperties": false, "required": ["token"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `token` | `string` | Sim | O token extraído do [link do perfil temporário](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": ["Contatos"], "summary": "Edite a lista de amigos próximos, veja aqui » para mais informações.", "description": "Edite a [lista de amigos próximos, veja aqui »](https://core.telegram.org/api/privacy.md) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configurações de privacidade](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista completa de IDs de usuários de amigos próximos, veja [aqui](https://core.telegram.org/api/privacy.md) para mais informações."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `Vector<long>` | Sim | Lista completa de IDs de usuários de amigos próximos, veja [aqui](https://core.telegram.org/api/privacy.md) para mais informações. |"}, "x-browser-schema-id": "3127313904"}}, "/catalog/contacts.setBlocked": {"post": {"operationId": "contacts.setBlocked", "tags": ["Contatos"], "summary": "Substitua o conteúdo de uma lista de bloqueio inteira, veja aqui para mais informações ».", "description": "Substitua o conteúdo de uma [lista de bloqueio inteira, veja aqui para mais informações »](https://core.telegram.org/api/block.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Usuários bloqueados](https://core.telegram.org/api/block.md)\n- [Paginação no 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja editar a lista de bloqueio da história; se não for definido, editará a lista de bloqueio principal. Veja [aqui »](https://core.telegram.org/api/block.md) para diferenças entre os dois."}, "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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Conteúdo completo da lista de bloqueio."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `my_stories_from` | `true` | Não | Se deseja editar a lista de bloqueio da história; se não for definido, editará a lista de bloqueio principal. Veja [aqui »](https://core.telegram.org/api/block.md) para diferenças entre os dois. |\n| `id` | `Vector<InputPeer>` | Sim | Conteúdo completo da lista de bloqueio. |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "2496027766"}}, "/catalog/contacts.getBirthdays": {"post": {"operationId": "contacts.getBirthdays", "tags": ["Contatos"], "summary": "Busque todos os usuários com aniversários que caiam entre +1/-1 dias, em relação ao dia atual: este método deve ser invocado pelos clientes a cada 6-8 horas e, se o resultado não estiver vazio, deve ser usado para atualizar adequadamente as informações de aniversário armazenadas em cache localmente em user.`birthday`.", "description": "Busque todos os usuários com aniversários dentro de +1/-1 dias, em relação ao dia atual: este método deve ser invocado pelos clientes a cada 6-8 horas e, se o resultado não estiver vazio, deve ser usado para atualizar adequadamente as informações de aniversário armazenadas em cache localmente em [user](https://core.telegram.org/constructor/user.md).`birthday`.\n\n[Veja aqui »](https://core.telegram.org/api/profile.md#birthday) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Perfis de usuário](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 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": "Digite TL: contacts.ContactBirthdays."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/contacts.getBirthdays"}, "x-browser-schema-id": "3673008228"}}, "/catalog/contacts.getSponsoredPeers": {"post": {"operationId": "contacts.getSponsoredPeers", "tags": ["Contatos"], "summary": "Obtenha uma lista de resultados de pesquisa de pares patrocinados para uma determinada consulta", "description": "Obtenha uma lista de resultados de pesquisa de pares patrocinados para uma determinada consulta\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `SEARCH_QUERY_EMPTY` — A consulta de pesquisa está vazia."}}, "externalDocs": {"description": "Documentação oficial do 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": "A consulta"}}, "additionalProperties": false, "required": ["q"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `q` | `string` | Sim | A consulta |"}, "x-telegram-rpc-errors": ["SEARCH_QUERY_EMPTY"], "x-browser-schema-id": "3066610579"}}, "/catalog/contacts.updateContactNote": {"post": {"operationId": "contacts.updateContactNote", "tags": ["Contatos"], "summary": "Atualizar a nota privada associada a um contacto; veja aqui » para mais informações.", "description": "Atualizar a nota privada associada a um contacto; veja [aqui »](https://core.telegram.org/api/contacts.md#private-notes-for-contacts) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Lista de contatos](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CONTACT_ID_INVALID` — O ID de contato fornecido é inválido.\n- 400 · `CONTACT_MISSING` — O usuário especificado não é um contato."}}, "externalDocs": {"description": "Documentação oficial do 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": "O contato."}, "note": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "A nota."}}, "additionalProperties": false, "required": ["id", "note"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | Sim | O contato. |\n| `note` | `TextWithEntities` | Sim | A nota. |"}, "x-telegram-rpc-errors": ["CONTACT_ID_INVALID", "CONTACT_MISSING"], "x-browser-schema-id": "329212923"}}, "/catalog/contacts.exportNoPaidMessagesToken": {"post": {"operationId": "contacts.exportNoPaidMessagesToken", "tags": ["Contatos"], "summary": "contacts.exportNoPaidMessagesToken", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `true`."}, "temporary": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Valor do tipo TL `true`."}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `revoke` | `true` | Não | Valor do tipo TL `true`. |\n| `temporary` | `true` | Não | Valor do tipo TL `true`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2210760366"}}, "/catalog/contacts.importNoPaidMessagesToken": {"post": {"operationId": "contacts.importNoPaidMessagesToken", "tags": ["Contatos"], "summary": "contacts.importNoPaidMessagesToken", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 MTProto · `User`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Digite TL: Usuário."}}}}}, "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 TL: InputUser."}, "token": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["user_id", "token"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Sim | Tipo TL: InputUser. |\n| `token` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "900187850"}}, "/catalog/messages.getMessages": {"post": {"operationId": "messages.getMessages", "tags": ["Mensagens"], "summary": "Retorna a lista de mensagens por seus IDs.", "description": "Retorna a lista de mensagens por seus IDs.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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 TL:InputMessage."}, "x-tl-type": "Vector<InputMessage>", "description": "Lista de IDs de mensagens"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputMessage>` | Sim | Lista de IDs de mensagens |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "MSG_ID_INVALID"], "x-browser-schema-id": "1673946374"}}, "/catalog/messages.getDialogs": {"post": {"operationId": "messages.getDialogs", "tags": ["Mensagens"], "summary": "Obter lista de diálogos", "description": "Retorna a página de diálogo da conta atual. A seleção pode ser limitada a uma pasta.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Pastas de diálogo](https://core.telegram.org/api/folders.md)\n- [Paginação no 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 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": "Digite TL: messages.Dialogs."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `FOLDER_ID_INVALID` — ID de pasta inválido.\n- 400 · `OFFSET_PEER_ID_INVALID` — O par de deslocamento fornecido é inválido.\n- 400 · `PINNED_DIALOGS_TOO_MUCH` — Muitas caixas de diálogo fixadas.\n- 400 · `TAKEOUT_INVALID` — O ID de entrega especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Ignore conversas fixadas."}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Identificador da pasta de diálogo."}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data da mensagem para avançar para a próxima página, em segundos Unix."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem para deslocamento da 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": "O chat sobre o qual a emissão continua."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O número máximo de caixas de diálogo retornadas."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Um hash de resultados recebidos anteriormente para verificar alterações.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["offset_date", "offset_id", "offset_peer", "limit", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `exclude_pinned` | `true` | Não | Ignore conversas fixadas. |\n| `folder_id` | `int` | Não | Identificador da pasta de diálogo. |\n| `offset_date` | `int` | Sim | Data da mensagem para avançar para a próxima página, em segundos Unix. |\n| `offset_id` | `int` | Sim | ID da mensagem para deslocamento da lista. |\n| `offset_peer` | `InputPeer` | Sim | O chat sobre o qual a emissão continua. |\n| `limit` | `int` | Sim | O número máximo de caixas de diálogo retornadas. |\n| `hash` | `long` | Sim | Um hash de resultados recebidos anteriormente para verificar alterações. |"}, "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": ["Mensagens"], "summary": "Ler histórico de bate-papo", "description": "Retorna a página de mensagens do chat selecionado, da mais recente para a mais antiga.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Autorização do usuário](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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `FROZEN_PARTICIPANT_MISSING` — A conta corrente está [congelada](https://core.telegram.org/api/auth.md#frozen-accounts) e não pode acessar o peer especificado.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `TAKEOUT_INVALID` — O ID de entrega especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Um chat cuja história você precisa ler."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem a partir da qual a seleção começa."}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data para deslocamento do histórico em segundos Unix."}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Deslocamento adicional em mensagens."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de mensagens retornadas."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Retorna mensagens com um ID menor que o especificado."}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Retorna mensagens com ID maior que o especificado."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Um hash de resultados recebidos anteriormente para verificar alterações.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "offset_id", "offset_date", "add_offset", "limit", "max_id", "min_id", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Um chat cuja história você precisa ler. |\n| `offset_id` | `int` | Sim | ID da mensagem a partir da qual a seleção começa. |\n| `offset_date` | `int` | Sim | Data para deslocamento do histórico em segundos Unix. |\n| `add_offset` | `int` | Sim | Deslocamento adicional em mensagens. |\n| `limit` | `int` | Sim | Número máximo de mensagens retornadas. |\n| `max_id` | `int` | Sim | Retorna mensagens com um ID menor que o especificado. |\n| `min_id` | `int` | Sim | Retorna mensagens com ID maior que o especificado. |\n| `hash` | `long` | Sim | Um hash de resultados recebidos anteriormente para verificar alterações. |"}, "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": ["Mensagens"], "summary": "Encontre mensagens de bate-papo", "description": "Pesquisa mensagens com base na sua consulta e em condições adicionais, como autor, data ou tipo de anexo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Mensagens salvas](https://core.telegram.org/api/saved-messages.md)\n- [Tópicos de mensagens](https://core.telegram.org/api/threads.md)\n- [Paginação no 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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `FROM_PEER_INVALID` — O from_id especificado é inválido.\n- 400 · `INPUT_FILTER_INVALID` — O filtro especificado é inválido.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `PEER_ID_NOT_SUPPORTED` — O ID de peer fornecido não é suportado.\n- 400 · `SEARCH_QUERY_EMPTY` — A consulta de pesquisa está vazia.\n- 400 · `TAKEOUT_INVALID` — O ID de entrega especificado é inválido.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Converse para pesquisar."}, "q": {"type": "string", "x-tl-type": "string", "description": "Texto da consulta de pesquisa."}, "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": "O autor pelo qual a amostra é limitada.", "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": "Pesquise na [caixa de diálogo de mensagem salva »](https://core.telegram.org/api/saved-messages.md) com este 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: Reação."}, "x-tl-type": "Vector<Reaction>", "x-tl-flag": "flags.3?Vector<Reaction>", "description": "Você pode procurar por [mensagens salvas marcadas com »](https://core.telegram.org/api/saved-messages.md#tags) com uma ou mais reações usando este sinalizador."}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "ID do tópico ou mensagem principal do tópico."}, "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": "Filtre por tipo de mensagem ou anexo."}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Limite inferior para a data da mensagem em segundos Unix."}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Limite superior da data da mensagem em segundos Unix."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Retorna apenas mensagens a partir do ID de mensagem especificado"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamento 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 edição."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[ID máximo da mensagem a ser retornada](https://core.telegram.org/api/offsets.md)"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[ID mínimo da mensagem para retornar](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "q", "filter", "min_date", "max_date", "offset_id", "add_offset", "limit", "max_id", "min_id", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Converse para pesquisar. |\n| `q` | `string` | Sim | Texto da consulta de pesquisa. |\n| `from_id` | `InputPeer` | Não | O autor pelo qual a amostra é limitada. |\n| `saved_peer_id` | `InputPeer` | Não | Pesquise na [caixa de diálogo de mensagem salva »](https://core.telegram.org/api/saved-messages.md) com este ID. |\n| `saved_reaction` | `Vector<Reaction>` | Não | Você pode procurar por [mensagens salvas marcadas com »](https://core.telegram.org/api/saved-messages.md#tags) com uma ou mais reações usando este sinalizador. |\n| `top_msg_id` | `int` | Não | ID do tópico ou mensagem principal do tópico. |\n| `filter` | `MessagesFilter` | Sim | Filtre por tipo de mensagem ou anexo. |\n| `min_date` | `int` | Sim | Limite inferior para a data da mensagem em segundos Unix. |\n| `max_date` | `int` | Sim | Limite superior da data da mensagem em segundos Unix. |\n| `offset_id` | `int` | Sim | Retorna apenas mensagens a partir do ID de mensagem especificado |\n| `add_offset` | `int` | Sim | [Deslocamento adicional](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número máximo de resultados por edição. |\n| `max_id` | `int` | Sim | [ID máximo da mensagem a ser retornada](https://core.telegram.org/api/offsets.md) |\n| `min_id` | `int` | Sim | [ID mínimo da mensagem para retornar](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Sim | [Hash](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "FROM_PEER_INVALID", "INPUT_FILTER_INVALID", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", "PEER_ID_INVALID", "PEER_ID_NOT_SUPPORTED", "SEARCH_QUERY_EMPTY", "TAKEOUT_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "703497338"}}, "/catalog/messages.readHistory": {"post": {"operationId": "messages.readHistory", "tags": ["Mensagens"], "summary": "Marca o histórico de mensagens como lido.", "description": "Marca o histórico de mensagens como lido.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 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": "### Erros MTProto (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Usuário ou grupo alvo"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se for passado um valor positivo, somente serão lidas as mensagens com identificadores menores ou iguais ao fornecido"}}, "additionalProperties": false, "required": ["peer", "max_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Usuário ou grupo alvo |\n| `max_id` | `int` | Sim | Se for passado um valor positivo, somente serão lidas as mensagens com identificadores menores ou iguais ao fornecido |"}, "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": ["Mensagens"], "summary": "Exclui o histórico de comunicação.", "description": "Exclui o histórico de comunicação.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: messages.AffectedHistory."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_REVOKE_DATE_UNSUPPORTED` — `min_date` e `max_date` não estão disponíveis para uso com pares não usuários.\n- 400 · `MAX_DATE_INVALID` — A data máxima especificada é inválida.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `MIN_DATE_INVALID` — A data mínima especificada é inválida.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Apenas limpe o histórico do usuário atual, sem realmente remover mensagens de todos os usuários do chat"}, "revoke": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se deseja excluir o histórico de mensagens de todos os participantes do bate-papo"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Usuário ou chat cujo histórico de comunicação será excluído"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID máximo da mensagem a ser excluída"}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "Exclua todas as mensagens mais recentes que este carimbo de data/hora UNIX"}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int", "description": "Exclua todas as mensagens anteriores a este carimbo de data/hora UNIX"}}, "additionalProperties": false, "required": ["peer", "max_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `just_clear` | `true` | Não | Apenas limpe o histórico do usuário atual, sem realmente remover mensagens de todos os usuários do chat |\n| `revoke` | `true` | Não | Se deseja excluir o histórico de mensagens de todos os participantes do bate-papo |\n| `peer` | `InputPeer` | Sim | Usuário ou chat cujo histórico de comunicação será excluído |\n| `max_id` | `int` | Sim | ID máximo da mensagem a ser excluída |\n| `min_date` | `int` | Não | Exclua todas as mensagens mais recentes que este carimbo de data/hora UNIX |\n| `max_date` | `int` | Não | Exclua todas as mensagens anteriores a este carimbo de data/hora UNIX |"}, "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": ["Mensagens"], "summary": "Exclui mensagens por seus identificadores.", "description": "Exclui mensagens por seus identificadores.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Bots de negócios conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Negócio de telegrama](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 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": "### Erros MTProto (RPC)\n\n- 403 · `BOT_ACCESS_FORBIDDEN` — O método especificado *pode* ser usado em uma [conexão comercial](https://core.telegram.org/api/bots/connected-business-bots.md) para algumas operações, mas a consulta especificada tentou uma operação que não é permitida em uma conexão comercial.\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 403 · `MESSAGE_DELETE_FORBIDDEN` — Você não pode excluir uma das mensagens que tentou excluir, provavelmente porque é uma mensagem de serviço.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `SELF_DELETE_RESTRICTED` — Os bots empresariais não podem excluir mensagens apenas para o usuário, `revoke` **deve** ser definido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja excluir mensagens de todos os participantes do bate-papo"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Lista de IDs de mensagens"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `revoke` | `true` | Não | Se deseja excluir mensagens de todos os participantes do bate-papo |\n| `id` | `Vector<int>` | Sim | Lista de IDs de mensagens |"}, "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": ["Mensagens"], "summary": "Confirma o recebimento de mensagens por um cliente, cancela o envio de notificação PUSH.", "description": "Confirma o recebimento de mensagens por um cliente, cancela o envio de notificação PUSH.", "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 MTProto · `Vector<ReceivedNotifyMessage>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[RecebidaNotifyMessage](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 TL: ReceivedNotifyMessage."}, "x-tl-type": "Vector<ReceivedNotifyMessage>"}}}}}, "externalDocs": {"description": "Documentação oficial do 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 máximo de mensagem disponível em um cliente."}}, "additionalProperties": false, "required": ["max_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `max_id` | `int` | Sim | ID máximo de mensagem disponível em um cliente. |"}, "x-browser-schema-id": "94983360"}}, "/catalog/messages.setTyping": {"post": {"operationId": "messages.setTyping", "tags": ["Mensagens"], "summary": "Envia um evento de digitação do usuário atual (consulte SendMessageAction para todos os tipos de eventos) para um parceiro de conversa ou grupo.", "description": "Envia um evento de digitação do usuário atual (consulte [SendMessageAction](https://core.telegram.org/type/SendMessageAction.md) para todos os tipos de eventos) para um parceiro de conversa ou grupo.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Tópicos de mensagens](https://core.telegram.org/api/threads.md)\n- [Negócio de telegrama](https://core.telegram.org/api/business.md)\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `BUSINESS_PEER_INVALID` — As mensagens não podem ser definidas para o peer especificado através da [conexão comercial](https://core.telegram.org/api/business.md#connected-bots) atual.\n- 400 · `BUSINESS_PEER_USAGE_MISSING` — Você não pode enviar uma mensagem a um usuário através de uma [conexão comercial](https://core.telegram.org/api/business.md#connected-bots) se o usuário não nos contatou recentemente.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) não suporta este recurso.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 403 · `GROUPCALL_FORBIDDEN` — A chamada de grupo especificada não pode ser usada neste contexto.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MESSAGE_TOO_LONG` — A mensagem fornecida é muito longa.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 406 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `TEXTDRAFT_PEER_INVALID` — sendMessageTextDraftAction só pode ser usado em bate-papos privados individuais.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais.\n- 403 · `USER_IS_BLOCKED` — Você foi bloqueado por este usuário.\n- 400 · `USER_IS_BOT` — Os bots não podem enviar mensagens para outros bots."}}, "externalDocs": {"description": "Documentação oficial do 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": "Usuário ou grupo alvo"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "[ID do tópico](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 ação"}}, "additionalProperties": false, "required": ["peer", "action"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Usuário ou grupo alvo |\n| `top_msg_id` | `int` | Não | [ID do tópico](https://core.telegram.org/api/threads.md) |\n| `action` | `SendMessageAction` | Sim | Tipo de ação |"}, "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": ["Mensagens"], "summary": "Envie uma mensagem de texto", "description": "Envia um texto para o chat selecionado. Se tiver sucesso, o Telegram retorna as atualizações.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Adesivos e máscaras](https://core.telegram.org/api/stickers.md)\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Texto estilizado com entidades de mensagem](https://core.telegram.org/api/entities.md)\n- [Mensagens agendadas](https://core.telegram.org/api/scheduled-messages.md)\n- [Negócio de telegrama](https://core.telegram.org/api/business.md)\n- [Efeitos de mensagens animadas](https://core.telegram.org/api/effects.md)\n- [Mensagens pagas](https://core.telegram.org/api/paid-messages.md)\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Postagens sugeridas](https://core.telegram.org/api/suggested-posts.md)\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Grupos de discussão](https://core.telegram.org/api/discussion.md)\n- [Tratamento de erros](https://core.telegram.org/api/errors.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Mensagens diretas para canais](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `ADMIN_RIGHTS_EMPTY` — O construtor chatAdminRights passado em keyboardButtonRequestPeer.peer_type.user_admin_rights não tem direitos definidos (i.e. flags é 0).\n- 406 · `ALLOW_PAYMENT_REQUIRED` — Este par aceita apenas [mensagens pagas »](https://core.telegram.org/api/paid-messages.md): este erro só é emitido para camadas mais antigas sem suporte a mensagens pagas, portanto o cliente deve estar atualizado para poder usar mensagens pagas.  .\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d` — Este peer cobra %d [Telegram Stars](https://core.telegram.org/api/stars.md) por mensagem, mas o `allow_paid_stars` não foi definido ou seu valor é menor que %d.\n- 400 · `BALANCE_TOO_LOW` — A transação não pode ser concluída porque o [saldo atual do Telegram Stars](https://core.telegram.org/api/stars.md) é muito baixo.\n- 400 · `BOT_DOMAIN_INVALID` — Domínio do bot inválido.\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `BUSINESS_PEER_INVALID` — As mensagens não podem ser definidas para o peer especificado através da [conexão comercial](https://core.telegram.org/api/business.md#connected-bots) atual.\n- 400 · `BUSINESS_PEER_USAGE_MISSING` — Você não pode enviar uma mensagem a um usuário através de uma [conexão comercial](https://core.telegram.org/api/business.md#connected-bots) se o usuário não nos contatou recentemente.\n- 400 · `BUTTON_COPY_TEXT_INVALID` — O [keyboardButtonCopy](https://core.telegram.org/constructor/keyboardButtonCopy.md).`copy_text` especificado é inválido.\n- 400 · `BUTTON_DATA_INVALID` — Os dados de um ou mais botões que você forneceu são inválidos.\n- 400 · `BUTTON_ID_INVALID` — O ID do botão especificado é inválido.\n- 400 · `BUTTON_TYPE_INVALID` — O tipo de um ou mais botões fornecidos é inválido.\n- 400 · `BUTTON_URL_INVALID` — Botão URL inválido.\n- 400 · `BUTTON_USER_INVALID` — O `user_id` passado para inputKeyboardButtonUserProfile é inválido!\n- 400 · `BUTTON_USER_PRIVACY_RESTRICTED` — A configuração de privacidade do usuário especificada em um botão [inputKeyboardButtonUserProfile](https://core.telegram.org/constructor/inputKeyboardButtonUserProfile.md) não permite a criação de tal botão.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) não suporta este recurso.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_FORWARDS_RESTRICTED` — Você não pode encaminhar mensagens de um bate-papo protegido.\n- 403 · `CHAT_GUEST_SEND_FORBIDDEN` — Você entra no grupo de discussão antes de comentar, veja [aqui »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group) para mais informações.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_RESTRICTED` — Você não pode enviar mensagens neste chat, você estava restrito.\n- 403 · `CHAT_SEND_PLAIN_FORBIDDEN` — Você não pode enviar mensagens que não sejam de mídia (texto) neste chat.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `DOCUMENT_INVALID` — O documento especificado é inválido.\n- 400 · `EFFECT_CHAT_INVALID` — Mensagem [efeitos](https://core.telegram.org/api/effects.md) só pode ser usado em bate-papos privados individuais, mas o chamador tentou enviar uma mensagem com efeito para um grupo ou canal.\n- 400 · `ENCRYPTION_DECLINED` — O chat secreto foi recusado.\n- 400 · `ENTITIES_TOO_LONG` — Você forneceu muitas entidades de mensagem com estilo.\n- 400 · `ENTITY_BOUNDS_INVALID` — Um [deslocamento ou comprimento de entidade](https://core.telegram.org/api/entities.md#entity-length) especificado é inválido, consulte [aqui »](https://core.telegram.org/api/entities.md#entity-length) para obter informações sobre como calcular corretamente o deslocamento/comprimento da entidade.\n- 400 · `ENTITY_DATE_FORMAT_INVALID` — Um dos objetos messageEntityFormattedDate passados tem um formato inválido (i.e. uma combinação inválida dos sinalizadores de formato).\n- 400 · `ENTITY_DATE_INVALID` — Um dos objetos messageEntityFormattedDate passados tem uma data inválida: o valor permitido varia de `0` até a data atual mais 1098 dias (`time()+1098*86400`).\n- 400 · `ENTITY_DATE_TOO_LONG` — O intervalo máximo de texto que pode ser coberto por uma entidade de data é 31 UTF-16 unidades de código se algum dos sinalizadores de formatação de data estiver definido, ou 127 UTF-16 unidades de código sem.  .\n- 400 · `ENTITY_MENTION_USER_INVALID` — Você mencionou um usuário inválido.\n- 400 · `FROM_MESSAGE_BOT_DISABLED` — Bots não podem usar construtores fromMessage min.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MESSAGE_EMPTY` — A mensagem fornecida está vazia.\n- 400 · `MESSAGE_TOO_LONG` — A mensagem fornecida é muito longa.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 500 · `MSG_WAIT_FAILED` — Uma chamada em espera retornou um erro.\n- 406 · `PAYMENT_UNSUPPORTED` — Uma descrição detalhada do erro será recebida separadamente conforme descrito [aqui »](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 404 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `PEER_TYPES_INVALID` — O campo [keyboardButtonSwitchInline](https://core.telegram.org/constructor/keyboardButtonSwitchInline.md).`peer_types` passado é inválido.\n- 400 · `PINNED_DIALOGS_TOO_MUCH` — Muitas caixas de diálogo fixadas.\n- 400 · `POLL_OPTION_INVALID` — Opção de enquete inválida fornecida.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação.\n- 406 · `PRIVACY_PREMIUM_REQUIRED` — Você precisa de uma [assinatura Telegram Premium](https://core.telegram.org/api/premium.md) para enviar uma mensagem para este usuário.\n- 400 · `QUICK_REPLIES_BOT_NOT_ALLOWED` — [Respostas rápidas](https://core.telegram.org/api/business.md#quick-reply-shortcuts) não podem ser usadas por bots.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Podem ser criados no máximo [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) atalhos, o limite foi atingido.\n- 400 · `QUOTE_TEXT_INVALID` — O campo `reply_to`.`quote_text` especificado é inválido.\n- 500 · `RANDOM_ID_DUPLICATE` — Você forneceu um ID aleatório que já foi usado.\n- 400 · `RANDOM_ID_EMPTY` — ID aleatório vazio.\n- 400 · `REPLY_MARKUP_INVALID` — A marcação de resposta fornecida é inválida.\n- 400 · `REPLY_MARKUP_TOO_LONG` — O reply_markup especificado é muito longo.\n- 400 · `REPLY_MESSAGES_TOO_MUCH` — Cada atalho pode conter no máximo [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) mensagens, o limite foi atingido.\n- 400 · `REPLY_MESSAGE_ID_INVALID` — O ID da mensagem de resposta especificada é inválido.\n- 400 · `REPLY_TO_INVALID` — O campo `reply_to` especificado é inválido.\n- 400 · `REPLY_TO_MONOFORUM_PEER_INVALID` — O inputReplyToMonoForum.monoforum_peer_id especificado é inválido.\n- 400 · `REPLY_TO_USER_INVALID` — O usuário respondido é inválido.\n- 400 · `SCHEDULE_BOT_NOT_ALLOWED` — Os bots não podem agendar mensagens.\n- 400 · `SCHEDULE_DATE_TOO_LATE` — Você não pode agendar uma mensagem para um futuro tão distante.\n- 400 · `SCHEDULE_STATUS_PRIVATE` — Não é possível agendar até que o usuário esteja online, se o carimbo de data/hora visto pela última vez estiver oculto pelas configurações de privacidade.\n- 400 · `SCHEDULE_TOO_MUCH` — Há muitas mensagens agendadas.\n- 400 · `SEND_AS_PEER_INVALID` — Você não pode enviar mensagens como o par especificado.\n- 420 · `SLOWMODE_WAIT_%d` — Modo lento está ativado neste chat: espere %d segundos antes de enviar outra mensagem para este chat.\n- 400 · `STORIES_NEVER_CREATED` — Este colega nunca postou nenhuma história.\n- 400 · `STORY_ID_INVALID` — O ID da história especificado é inválido.\n- 400 · `SUGGESTED_POST_AMOUNT_INVALID` — O preço especificado para a postagem sugerida é inválido.\n- 400 · `SUGGESTED_POST_PEER_INVALID` — Você não pode enviar postagens sugeridas para colegas que não sejam do [monoforum](https://core.telegram.org/api/monoforum.md).\n- 406 · `TOPIC_CLOSED` — Este tópico foi fechado, você não pode mais enviar mensagens para ele.\n- 406 · `TOPIC_DELETED` — O tópico especificado foi excluído.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais.\n- 400 · `USER_BOT_TO_BOT_DISABLED` — As mensagens entre bots estão desativadas porque um dos dois bots não ativou a configuração Bot para Bot em @BotFather.\n- 403 · `USER_IS_BLOCKED` — Você foi bloqueado por este usuário.\n- 400 · `USER_IS_BOT` — Os bots não podem enviar mensagens para outros bots.\n- 400 · `WC_CONVERT_URL_INVALID` — Conversão WC URL inválida.\n- 400 · `YOU_BLOCKED_USER` — Você bloqueou este usuário."}}, "externalDocs": {"description": "Documentação oficial do 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": "Desative as visualizações de links."}, "silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Envie sem notificação sonora."}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Envie esta mensagem como mensagem de fundo"}, "clear_draft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Limpe o campo de rascunho"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true", "description": "Somente para bots, não permite o encaminhamento e salvamento das mensagens, mesmo que o chat de destino não tenha [proteção de conteúdo](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": "Se deseja mover conjuntos de adesivos usados para o topo, [veja aqui para mais informações sobre esta bandeira »](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": "Se definido, qualquer eventual visualização da página da Web será mostrada na parte superior da mensagem, e não na parte inferior."}, "allow_paid_floodskip": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true", "description": "Somente bots: se definido, permite o envio de até 1.000 mensagens por segundo, ignorando [limites de transmissão](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por uma taxa de 0,1 Estrelas do Telegram por mensagem. As estrelas relevantes serão retiradas do saldo do 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": "Bate-papo 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": "A mensagem ou tópico para o qual uma resposta é enviada.", "x-tl-flag": "flags.0?InputReplyTo"}, "message": {"type": "string", "x-tl-type": "string", "description": "Texto da mensagem."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador exclusivo de envio para proteção contra replays.", "x-tl-type": "long"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "oneOf": [{"$ref": "#/components/schemas/replyKeyboardHide"}, {"$ref": "#/components/schemas/replyKeyboardForceReply"}, {"$ref": "#/components/schemas/replyKeyboardMarkup"}, {"$ref": "#/components/schemas/replyInlineMarkup"}], "description": "Marcação de resposta para envio de botões 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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "Mensagem [entities](https://core.telegram.org/api/entities.md) para enviar texto estilizado"}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int", "description": "Data agendada da mensagem para [mensagens agendadas](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": "Uma vez enviada, esta mensagem será automaticamente reprogramada para ser reenviada novamente em alguns segundos no futuro, veja [aqui »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para mais informações sobre a repetição de mensagens programadas."}, "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": "Envie esta mensagem como o 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": "Adicione a mensagem ao [atalho de resposta 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 um [efeito de mensagem »](https://core.telegram.org/api/effects.md) para usar na mensagem.", "x-tl-type": "long", "x-tl-flag": "flags.18?long"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [mensagens pagas »](https://core.telegram.org/api/paid-messages.md), especifica a quantia de [Estrelas do Telegram](https://core.telegram.org/api/stars.md) que o usuário concordou em pagar para enviar a mensagem.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "oneOf": [{"$ref": "#/components/schemas/suggestedPost"}], "description": "Usado para [sugerir uma postagem para um canal, veja aqui »](https://core.telegram.org/api/suggested-posts.md) para mais informações sobre o fluxo 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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `no_webpage` | `true` | Não | Desative as visualizações de links. |\n| `silent` | `true` | Não | Envie sem notificação sonora. |\n| `background` | `true` | Não | Envie esta mensagem como mensagem de fundo |\n| `clear_draft` | `true` | Não | Limpe o campo de rascunho |\n| `noforwards` | `true` | Não | Somente para bots, não permite o encaminhamento e salvamento das mensagens, mesmo que o chat de destino não tenha [proteção de conteúdo](https://telegram.org/blog/content-protection-delete-by-date-and-more) habilitada |\n| `update_stickersets_order` | `true` | Não | Se deseja mover conjuntos de adesivos usados para o topo, [veja aqui para mais informações sobre esta bandeira »](https://core.telegram.org/api/stickers.md#recent-stickersets) |\n| `invert_media` | `true` | Não | Se definido, qualquer eventual visualização da página da Web será mostrada na parte superior da mensagem, e não na parte inferior. |\n| `allow_paid_floodskip` | `true` | Não | Somente bots: se definido, permite o envio de até 1.000 mensagens por segundo, ignorando [limites de transmissão](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por uma taxa de 0,1 Estrelas do Telegram por mensagem. As estrelas relevantes serão retiradas do saldo do bot. |\n| `peer` | `InputPeer` | Sim | Bate-papo de destino. |\n| `reply_to` | `InputReplyTo` | Não | A mensagem ou tópico para o qual uma resposta é enviada. |\n| `message` | `string` | Sim | Texto da mensagem. |\n| `random_id` | `long` | Sim | Identificador exclusivo de envio para proteção contra replays. |\n| `reply_markup` | `ReplyMarkup` | Não | Marcação de resposta para envio de botões de bot |\n| `entities` | `Vector<MessageEntity>` | Não | Mensagem [entities](https://core.telegram.org/api/entities.md) para enviar texto estilizado |\n| `schedule_date` | `int` | Não | Data agendada da mensagem para [mensagens agendadas](https://core.telegram.org/api/scheduled-messages.md) |\n| `schedule_repeat_period` | `int` | Não | Uma vez enviada, esta mensagem será automaticamente reprogramada para ser reenviada novamente em alguns segundos no futuro, veja [aqui »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para mais informações sobre a repetição de mensagens programadas. |\n| `send_as` | `InputPeer` | Não | Envie esta mensagem como o par especificado |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | Não | Adicione a mensagem ao [atalho de resposta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado. |\n| `effect` | `long` | Não | Especifica um [efeito de mensagem »](https://core.telegram.org/api/effects.md) para usar na mensagem. |\n| `allow_paid_stars` | `long` | Não | Para [mensagens pagas »](https://core.telegram.org/api/paid-messages.md), especifica a quantia de [Estrelas do Telegram](https://core.telegram.org/api/stars.md) que o usuário concordou em pagar para enviar a mensagem. |\n| `suggested_post` | `SuggestedPost` | Não | Usado para [sugerir uma postagem para um canal, veja aqui »](https://core.telegram.org/api/suggested-posts.md) para mais informações sobre o fluxo completo. |\n| `rich_message` | `InputRichMessage` | Não | Тип 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": ["Mensagens"], "summary": "Envie uma mídia", "description": "Envie uma mídia\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Adesivos e máscaras](https://core.telegram.org/api/stickers.md)\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Texto estilizado com entidades de mensagem](https://core.telegram.org/api/entities.md)\n- [Mensagens agendadas](https://core.telegram.org/api/scheduled-messages.md)\n- [Negócio de telegrama](https://core.telegram.org/api/business.md)\n- [Efeitos de mensagens animadas](https://core.telegram.org/api/effects.md)\n- [Mensagens pagas](https://core.telegram.org/api/paid-messages.md)\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Postagens sugeridas](https://core.telegram.org/api/suggested-posts.md)\n- [Grupos de discussão](https://core.telegram.org/api/discussion.md)\n- [Referências de arquivo](https://core.telegram.org/api/file-references.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Assinaturas de estrelas](https://core.telegram.org/api/subscriptions.md)\n- [Mensagens diretas para canais](https://core.telegram.org/api/monoforum.md)\n- [Checklists e listas de tarefas](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 406 · `ALLOW_PAYMENT_REQUIRED` — Este par aceita apenas [mensagens pagas »](https://core.telegram.org/api/paid-messages.md): este erro só é emitido para camadas mais antigas sem suporte a mensagens pagas, portanto o cliente deve estar atualizado para poder usar mensagens pagas.  .\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d` — Este peer cobra %d [Telegram Stars](https://core.telegram.org/api/stars.md) por mensagem, mas o `allow_paid_stars` não foi definido ou seu valor é menor que %d.\n- 400 · `BOT_GAMES_DISABLED` — Os jogos não podem ser enviados para canais.\n- 400 · `BOT_PAYMENTS_DISABLED` — Habilite pagamentos de bot no botfather antes de chamar este método.\n- 400 · `BROADCAST_PUBLIC_VOTERS_FORBIDDEN` — Não é possível encaminhar enquetes com eleitores públicos.\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `BUSINESS_PEER_INVALID` — As mensagens não podem ser definidas para o peer especificado através da [conexão comercial](https://core.telegram.org/api/business.md#connected-bots) atual.\n- 400 · `BUSINESS_PEER_USAGE_MISSING` — Você não pode enviar uma mensagem a um usuário através de uma [conexão comercial](https://core.telegram.org/api/business.md#connected-bots) se o usuário não nos contatou recentemente.\n- 400 · `BUTTON_COPY_TEXT_INVALID` — O [keyboardButtonCopy](https://core.telegram.org/constructor/keyboardButtonCopy.md).`copy_text` especificado é inválido.\n- 400 · `BUTTON_DATA_INVALID` — Os dados de um ou mais botões que você forneceu são inválidos.\n- 400 · `BUTTON_POS_INVALID` — A posição de um dos botões do teclado é inválida (i.e. um botão Jogo ou Pagar não está na primeira posição, e assim por diante...).\n- 400 · `BUTTON_TYPE_INVALID` — O tipo de um ou mais botões fornecidos é inválido.\n- 400 · `BUTTON_URL_INVALID` — Botão URL inválido.\n- 400 · `BUTTON_USER_PRIVACY_RESTRICTED` — A configuração de privacidade do usuário especificada em um botão [inputKeyboardButtonUserProfile](https://core.telegram.org/constructor/inputKeyboardButtonUserProfile.md) não permite a criação de tal botão.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_FORWARDS_RESTRICTED` — Você não pode encaminhar mensagens de um bate-papo protegido.\n- 403 · `CHAT_GUEST_SEND_FORBIDDEN` — Você entra no grupo de discussão antes de comentar, veja [aqui »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group) para mais informações.\n- 400 · `CHAT_RESTRICTED` — Você não pode enviar mensagens neste chat, você estava restrito.\n- 403 · `CHAT_SEND_AUDIOS_FORBIDDEN` — Você não pode enviar mensagens de áudio neste chat.\n- 403 · `CHAT_SEND_DOCS_FORBIDDEN` — Você não pode enviar documentos neste chat.\n- 403 · `CHAT_SEND_GIFS_FORBIDDEN` — Você não pode enviar gifs neste chat.\n- 403 · `CHAT_SEND_MEDIA_FORBIDDEN` — Você não pode enviar mídia neste chat.\n- 403 · `CHAT_SEND_PHOTOS_FORBIDDEN` — Você não pode enviar fotos neste chat.\n- 403 · `CHAT_SEND_PLAIN_FORBIDDEN` — Você não pode enviar mensagens que não sejam de mídia (texto) neste chat.\n- 403 · `CHAT_SEND_POLL_FORBIDDEN` — Você não pode enviar enquetes neste chat.\n- 403 · `CHAT_SEND_ROUNDVIDEOS_FORBIDDEN` — Você não pode enviar vídeos redondos para este chat.\n- 403 · `CHAT_SEND_STICKERS_FORBIDDEN` — Você não pode enviar adesivos neste chat.\n- 403 · `CHAT_SEND_VIDEOS_FORBIDDEN` — Você não pode enviar vídeos neste chat.\n- 403 · `CHAT_SEND_VOICES_FORBIDDEN` — Você não pode enviar gravações de voz neste chat.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `CURRENCY_TOTAL_AMOUNT_INVALID` — O valor total de todos os preços é inválido.\n- 400 · `DOCUMENT_INVALID` — O documento especificado é inválido.\n- 400 · `EFFECT_CHAT_INVALID` — Mensagem [efeitos](https://core.telegram.org/api/effects.md) só pode ser usado em bate-papos privados individuais, mas o chamador tentou enviar uma mensagem com efeito para um grupo ou canal.\n- 400 · `EFFECT_ID_INVALID` — O ID do efeito especificado é inválido.\n- 400 · `EMOTICON_INVALID` — O emoji especificado é inválido.\n- 400 · `ENTITY_BOUNDS_INVALID` — Um [deslocamento ou comprimento de entidade](https://core.telegram.org/api/entities.md#entity-length) especificado é inválido, consulte [aqui »](https://core.telegram.org/api/entities.md#entity-length) para obter informações sobre como calcular corretamente o deslocamento/comprimento da entidade.\n- 400 · `EXTENDED_MEDIA_AMOUNT_INVALID` — O `stars_amount` especificado do [inputMediaPaidMedia](https://core.telegram.org/constructor/inputMediaPaidMedia.md) é inválido.\n- 400 · `EXTENDED_MEDIA_EMPTY` — A mídia estendida especificada está vazia.\n- 400 · `EXTENDED_MEDIA_INVALID` — A mídia paga especificada é inválida.\n- 400 · `EXTENDED_MEDIA_PEER_INVALID` — Mídia paga não é permitida para o peer alvo.\n- 400 · `EXTERNAL_URL_INVALID` — Externo URL inválido.\n- 400 · `FILE_PARTS_INVALID` — O número de partes do arquivo é inválido.\n- 400 · `FILE_PART_LENGTH_INVALID` — O comprimento de uma parte do arquivo é inválido.\n- 400 · `FILE_REFERENCE_EMPTY` — Uma [referência de arquivo](https://core.telegram.org/api/file-references.md) vazia foi especificada.\n- 400 · `FILE_REFERENCE_EXPIRED` — A referência do arquivo expirou, deve ser recuperada conforme descrito na [documentação](https://core.telegram.org/api/file-references.md).\n- 400 · `GAME_BOT_INVALID` — Os bots não podem enviar o jogo de outro bot.\n- 400 · `IMAGE_PROCESS_FAILED` — Falha no processamento da imagem.\n- 400 · `INPUT_FILE_INVALID` — O [InputFile](https://core.telegram.org/type/InputFile.md) especificado é inválido.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `INVOICE_PAYLOAD_INVALID` — A carga útil da fatura especificada é inválida.\n- 400 · `MD5_CHECKSUM_INVALID` — As somas de verificação MD5 não coincidem.\n- 400 · `MEDIA_CAPTION_TOO_LONG` — A legenda é muito longa.\n- 400 · `MEDIA_EMPTY` — O objeto de mídia fornecido é inválido.\n- 400 · `MEDIA_FILE_INVALID` — O arquivo de mídia especificado é inválido.\n- 400 · `MEDIA_INVALID` — Mídia inválida.\n- 400 · `MESSAGE_EMPTY` — A mensagem fornecida está vazia.\n- 400 · `MESSAGE_TOO_LONG` — A mensagem fornecida é muito longa.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PAYMENT_PROVIDER_INVALID` — O provedor de pagamento especificado é inválido.\n- 406 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `PHOTO_EXT_INVALID` — A extensão da foto é inválida.\n- 400 · `PHOTO_INVALID_DIMENSIONS` — As dimensões da foto são inválidas.\n- 400 · `PHOTO_SAVE_FILE_INVALID` — Problemas internos, tente novamente mais tarde.\n- 400 · `POLL_ANSWERS_INVALID` — Foram fornecidas respostas inválidas à enquete.\n- 400 · `POLL_ANSWER_INVALID` — Uma das respostas da enquete não é aceitável.\n- 400 · `POLL_OPTION_DUPLICATE` — Opções de enquete duplicadas fornecidas.\n- 400 · `POLL_OPTION_INVALID` — Opção de enquete inválida fornecida.\n- 400 · `POLL_QUESTION_INVALID` — Uma das perguntas da enquete não é aceitável.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação.\n- 403 · `PRIVACY_PREMIUM_REQUIRED` — Você precisa de uma [assinatura Telegram Premium](https://core.telegram.org/api/premium.md) para enviar uma mensagem para este usuário.\n- 400 · `QUICK_REPLIES_BOT_NOT_ALLOWED` — [Respostas rápidas](https://core.telegram.org/api/business.md#quick-reply-shortcuts) não podem ser usadas por bots.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Podem ser criados no máximo [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) atalhos, o limite foi atingido.\n- 400 · `QUIZ_CORRECT_ANSWERS_EMPTY` — Nenhuma resposta correta do questionário foi especificada.\n- 400 · `QUIZ_CORRECT_ANSWERS_TOO_MUCH` — Você especificou muitas respostas corretas em um questionário, os questionários só podem ter uma resposta certa!\n- 400 · `QUIZ_CORRECT_ANSWER_INVALID` — Um valor inválido foi fornecido ao campo correct_answers.\n- 400 · `QUIZ_MULTIPLE_INVALID` — Os questionários não podem ter o sinalizador multiple_choice definido!\n- 500 · `RANDOM_ID_DUPLICATE` — Você forneceu um ID aleatório que já foi usado.\n- 400 · `REPLY_MARKUP_BUY_EMPTY` — Marcação de resposta para botão de compra vazia.\n- 400 · `REPLY_MARKUP_GAME_EMPTY` — Uma mensagem do jogo está sendo editada, mas o teclado recém-fornecido não possui um botão keyboardButtonGame.\n- 400 · `REPLY_MARKUP_INVALID` — A marcação de resposta fornecida é inválida.\n- 400 · `REPLY_MARKUP_TOO_LONG` — O reply_markup especificado é muito longo.\n- 400 · `REPLY_MESSAGES_TOO_MUCH` — Cada atalho pode conter no máximo [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) mensagens, o limite foi atingido.\n- 400 · `REPLY_MESSAGE_ID_INVALID` — O ID da mensagem de resposta especificada é inválido.\n- 400 · `REPLY_TO_MONOFORUM_PEER_INVALID` — O inputReplyToMonoForum.monoforum_peer_id especificado é inválido.\n- 400 · `SCHEDULE_BOT_NOT_ALLOWED` — Os bots não podem agendar mensagens.\n- 400 · `SCHEDULE_DATE_TOO_LATE` — Você não pode agendar uma mensagem para um futuro tão distante.\n- 400 · `SCHEDULE_TOO_MUCH` — Há muitas mensagens agendadas.\n- 400 · `SEND_AS_PEER_INVALID` — Você não pode enviar mensagens como o par especificado.\n- 420 · `SLOWMODE_WAIT_%d` — Modo lento está ativado neste chat: espere %d segundos antes de enviar outra mensagem para este chat.\n- 400 · `STARS_INVOICE_INVALID` — A fatura especificada do Telegram Star é inválida.\n- 400 · `STORY_ID_INVALID` — O ID da história especificado é inválido.\n- 400 · `SUBSCRIPTION_EXPORT_MISSING` — Você não pode enviar uma [fatura de assinatura de bot](https://core.telegram.org/api/subscriptions.md#bot-subscriptions) diretamente, você só pode criar links de fatura usando [payments.exportInvoice](https://core.telegram.org/method/payments.exportInvoice.md).\n- 400 · `SUGGESTED_POST_PEER_INVALID` — Você não pode enviar postagens sugeridas para colegas que não sejam do [monoforum](https://core.telegram.org/api/monoforum.md).\n- 400 · `TERMS_URL_INVALID` — A [fatura](https://core.telegram.org/constructor/invoice.md).`terms_url` especificada é inválida.\n- 400 · `TODO_ITEMS_EMPTY` — Uma lista de verificação foi especificada, mas nenhum [item da lista de verificação](https://core.telegram.org/api/todo.md) foi aprovado.\n- 400 · `TODO_ITEMS_TOO_MUCH` — Você especificou muitos itens da lista de tarefas.\n- 400 · `TODO_ITEM_DUPLICATE` — Duplicados [itens da lista de verificação](https://core.telegram.org/api/todo.md) detectados.\n- 406 · `TOPIC_CLOSED` — Este tópico foi fechado, você não pode mais enviar mensagens para ele.\n- 406 · `TOPIC_DELETED` — O tópico especificado foi excluído.\n- 400 · `TTL_MEDIA_INVALID` — Foi fornecido tempo de vida de mídia inválido.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais.\n- 400 · `USER_BOT_TO_BOT_DISABLED` — As mensagens entre bots estão desativadas porque um dos dois bots não ativou a configuração Bot para Bot em @BotFather.\n- 403 · `USER_IS_BLOCKED` — Você foi bloqueado por este usuário.\n- 400 · `USER_IS_BOT` — Os bots não podem enviar mensagens para outros bots.\n- 400 · `VIDEO_CONTENT_TYPE_INVALID` — O tipo de conteúdo do vídeo é inválido.\n- 400 · `VOICE_MESSAGES_FORBIDDEN` — As configurações de privacidade deste usuário proíbem o envio de mensagens de voz.\n- 400 · `WEBDOCUMENT_MIME_INVALID` — Tipo mime de documento da web inválido fornecido.\n- 400 · `WEBPAGE_CURL_FAILED` — Falha ao buscar a página web com cURL.\n- 400 · `WEBPAGE_MEDIA_EMPTY` — Mídia da página da Web vazia.\n- 400 · `WEBPAGE_NOT_FOUND` — Não foi possível gerar uma visualização da página da web especificada `url`.\n- 400 · `WEBPAGE_URL_INVALID` — A página da web especificada `url` é inválida.\n- 400 · `YOU_BLOCKED_USER` — Você bloqueou este usuário."}}, "externalDocs": {"description": "Documentação oficial do 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 mensagem silenciosamente (nenhuma notificação deve ser acionada)"}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Enviar mensagem em segundo plano"}, "clear_draft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Limpe o rascunho"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true", "description": "Somente para bots, não permite o encaminhamento e salvamento das mensagens, mesmo que o chat de destino não tenha [proteção de conteúdo](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": "Se deseja mover conjuntos de adesivos usados para o topo, [veja aqui para mais informações sobre esta bandeira »](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": "Se definido, qualquer eventual visualização da página da Web será mostrada na parte superior da mensagem, e não na parte inferior."}, "allow_paid_floodskip": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true", "description": "Somente bots: se definido, permite o envio de até 1.000 mensagens por segundo, ignorando [limites de transmissão](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por uma taxa de 0,1 Estrelas do Telegram por mensagem. As estrelas relevantes serão retiradas do saldo do 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": "Se definido, indica que a mensagem deve ser enviada em resposta à mensagem ou história 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": "Mídia anexada"}, "message": {"type": "string", "x-tl-type": "string", "description": "Legenda"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatório para evitar o reenvio da mesma mensagem. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento 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": "Marcação de resposta 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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "Mensagem [entidades](https://core.telegram.org/api/entities.md) para texto estilizado"}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int", "description": "Data agendada da mensagem para [mensagens agendadas](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": "Uma vez enviada, esta mensagem será automaticamente reprogramada para ser reenviada novamente em alguns segundos no futuro, veja [aqui »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para mais informações sobre a repetição de mensagens programadas."}, "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": "Envie esta mensagem como o 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": "Adicione a mensagem ao [atalho de resposta 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 um [efeito de mensagem »](https://core.telegram.org/api/effects.md) para usar na mensagem.", "x-tl-type": "long", "x-tl-flag": "flags.18?long"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [mensagens pagas »](https://core.telegram.org/api/paid-messages.md), especifica a quantia de [Estrelas do Telegram](https://core.telegram.org/api/stars.md) que o usuário concordou em pagar para enviar a mensagem.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "oneOf": [{"$ref": "#/components/schemas/suggestedPost"}], "description": "Usado para [sugerir uma postagem para um canal, veja aqui »](https://core.telegram.org/api/suggested-posts.md) para mais informações sobre o fluxo completo.", "x-tl-flag": "flags.22?SuggestedPost"}}, "additionalProperties": false, "required": ["peer", "media", "message", "random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `silent` | `true` | Não | Enviar mensagem silenciosamente (nenhuma notificação deve ser acionada) |\n| `background` | `true` | Não | Enviar mensagem em segundo plano |\n| `clear_draft` | `true` | Não | Limpe o rascunho |\n| `noforwards` | `true` | Não | Somente para bots, não permite o encaminhamento e salvamento das mensagens, mesmo que o chat de destino não tenha [proteção de conteúdo](https://telegram.org/blog/content-protection-delete-by-date-and-more) habilitada |\n| `update_stickersets_order` | `true` | Não | Se deseja mover conjuntos de adesivos usados para o topo, [veja aqui para mais informações sobre esta bandeira »](https://core.telegram.org/api/stickers.md#recent-stickersets) |\n| `invert_media` | `true` | Não | Se definido, qualquer eventual visualização da página da Web será mostrada na parte superior da mensagem, e não na parte inferior. |\n| `allow_paid_floodskip` | `true` | Não | Somente bots: se definido, permite o envio de até 1.000 mensagens por segundo, ignorando [limites de transmissão](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por uma taxa de 0,1 Estrelas do Telegram por mensagem. As estrelas relevantes serão retiradas do saldo do bot. |\n| `peer` | `InputPeer` | Sim | Destino |\n| `reply_to` | `InputReplyTo` | Não | Se definido, indica que a mensagem deve ser enviada em resposta à mensagem ou história especificada. |\n| `media` | `InputMedia` | Sim | Mídia anexada |\n| `message` | `string` | Sim | Legenda |\n| `random_id` | `long` | Sim | ID aleatório para evitar o reenvio da mesma mensagem. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID. |\n| `reply_markup` | `ReplyMarkup` | Não | Marcação de resposta para teclados bot |\n| `entities` | `Vector<MessageEntity>` | Não | Mensagem [entidades](https://core.telegram.org/api/entities.md) para texto estilizado |\n| `schedule_date` | `int` | Não | Data agendada da mensagem para [mensagens agendadas](https://core.telegram.org/api/scheduled-messages.md) |\n| `schedule_repeat_period` | `int` | Não | Uma vez enviada, esta mensagem será automaticamente reprogramada para ser reenviada novamente em alguns segundos no futuro, veja [aqui »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para mais informações sobre a repetição de mensagens programadas. |\n| `send_as` | `InputPeer` | Não | Envie esta mensagem como o par especificado |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | Não | Adicione a mensagem ao [atalho de resposta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado. |\n| `effect` | `long` | Não | Especifica um [efeito de mensagem »](https://core.telegram.org/api/effects.md) para usar na mensagem. |\n| `allow_paid_stars` | `long` | Não | Para [mensagens pagas »](https://core.telegram.org/api/paid-messages.md), especifica a quantia de [Estrelas do Telegram](https://core.telegram.org/api/stars.md) que o usuário concordou em pagar para enviar a mensagem. |\n| `suggested_post` | `SuggestedPost` | Não | Usado para [sugerir uma postagem para um canal, veja aqui »](https://core.telegram.org/api/suggested-posts.md) para mais informações sobre o fluxo 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": ["Mensagens"], "summary": "Encaminhar mensagens", "description": "Encaminha uma ou mais mensagens do chat de origem para o chat de destino.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Tópicos do fórum](https://core.telegram.org/api/forum.md)\n- [Mensagens diretas para canais](https://core.telegram.org/api/monoforum.md)\n- [Mensagens agendadas](https://core.telegram.org/api/scheduled-messages.md)\n- [Negócio de telegrama](https://core.telegram.org/api/business.md)\n- [Efeitos de mensagens animadas](https://core.telegram.org/api/effects.md)\n- [Mensagens pagas](https://core.telegram.org/api/paid-messages.md)\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Postagens sugeridas](https://core.telegram.org/api/suggested-posts.md)\n- [Grupos de discussão](https://core.telegram.org/api/discussion.md)\n- [Tratamento de erros](https://core.telegram.org/api/errors.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Configuração do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 406 · `ALLOW_PAYMENT_REQUIRED` — Este par aceita apenas [mensagens pagas »](https://core.telegram.org/api/paid-messages.md): este erro só é emitido para camadas mais antigas sem suporte a mensagens pagas, portanto o cliente deve estar atualizado para poder usar mensagens pagas.  .\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d` — Este peer cobra %d [Telegram Stars](https://core.telegram.org/api/stars.md) por mensagem, mas o `allow_paid_stars` não foi definido ou seu valor é menor que %d.\n- 400 · `BROADCAST_PUBLIC_VOTERS_FORBIDDEN` — Não é possível encaminhar enquetes com eleitores públicos.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 406 · `CHAT_FORWARDS_RESTRICTED` — Você não pode encaminhar mensagens de um bate-papo protegido.\n- 403 · `CHAT_GUEST_SEND_FORBIDDEN` — Você entra no grupo de discussão antes de comentar, veja [aqui »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group) para mais informações.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_RESTRICTED` — Você não pode enviar mensagens neste chat, você estava restrito.\n- 403 · `CHAT_SEND_AUDIOS_FORBIDDEN` — Você não pode enviar mensagens de áudio neste chat.\n- 403 · `CHAT_SEND_DOCS_FORBIDDEN` — Você não pode enviar documentos neste chat.\n- 403 · `CHAT_SEND_GAME_FORBIDDEN` — Você não pode enviar um jogo para este chat.\n- 403 · `CHAT_SEND_GIFS_FORBIDDEN` — Você não pode enviar gifs neste chat.\n- 403 · `CHAT_SEND_INLINE_FORBIDDEN` — Você não pode enviar mensagens inline neste grupo.\n- 403 · `CHAT_SEND_MEDIA_FORBIDDEN` — Você não pode enviar mídia neste chat.\n- 403 · `CHAT_SEND_PHOTOS_FORBIDDEN` — Você não pode enviar fotos neste chat.\n- 403 · `CHAT_SEND_PLAIN_FORBIDDEN` — Você não pode enviar mensagens que não sejam de mídia (texto) neste chat.\n- 403 · `CHAT_SEND_POLL_FORBIDDEN` — Você não pode enviar enquetes neste chat.\n- 403 · `CHAT_SEND_STICKERS_FORBIDDEN` — Você não pode enviar adesivos neste chat.\n- 403 · `CHAT_SEND_VIDEOS_FORBIDDEN` — Você não pode enviar vídeos neste chat.\n- 403 · `CHAT_SEND_VOICES_FORBIDDEN` — Você não pode enviar gravações de voz neste chat.\n- 403 · `CHAT_SEND_WEBPAGE_FORBIDDEN` — Você não pode enviar visualizações de páginas da web para este chat.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `GROUPED_MEDIA_INVALID` — Mídia agrupada inválida.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MEDIA_EMPTY` — O objeto de mídia fornecido é inválido.\n- 400 · `MEDIA_FILE_INVALID` — O arquivo de mídia especificado é inválido.\n- 400 · `MESSAGE_IDS_EMPTY` — Nenhum ID de mensagem foi fornecido.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 406 · `PAYMENT_UNSUPPORTED` — Uma descrição detalhada do erro será recebida separadamente conforme descrito [aqui »](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 406 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação.\n- 406 · `PRIVACY_PREMIUM_REQUIRED` — Você precisa de uma [assinatura Telegram Premium](https://core.telegram.org/api/premium.md) para enviar uma mensagem para este usuário.\n- 400 · `QUICK_REPLIES_BOT_NOT_ALLOWED` — [Respostas rápidas](https://core.telegram.org/api/business.md#quick-reply-shortcuts) não podem ser usadas por bots.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Podem ser criados no máximo [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) atalhos, o limite foi atingido.\n- 400 · `QUIZ_ANSWER_MISSING` — Você pode encaminhar um quiz enquanto oculta o autor original somente após escolher uma opção no quiz.\n- 500 · `RANDOM_ID_DUPLICATE` — Você forneceu um ID aleatório que já foi usado.\n- 400 · `RANDOM_ID_INVALID` — Um ID aleatório fornecido é inválido.\n- 400 · `REPLY_MESSAGES_TOO_MUCH` — Cada atalho pode conter no máximo [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) mensagens, o limite foi atingido.\n- 400 · `REPLY_TO_MONOFORUM_PEER_INVALID` — O inputReplyToMonoForum.monoforum_peer_id especificado é inválido.\n- 400 · `SCHEDULE_BOT_NOT_ALLOWED` — Os bots não podem agendar mensagens.\n- 400 · `SCHEDULE_DATE_TOO_LATE` — Você não pode agendar uma mensagem para um futuro tão distante.\n- 400 · `SCHEDULE_TOO_MUCH` — Há muitas mensagens agendadas.\n- 400 · `SEND_AS_PEER_INVALID` — Você não pode enviar mensagens como o par especificado.\n- 400 · `SLOWMODE_MULTI_MSGS_DISABLED` — Modo lento está ativado, você não pode encaminhar múltiplas mensagens para este grupo.\n- 420 · `SLOWMODE_WAIT_%d` — Modo lento está ativado neste chat: espere %d segundos antes de enviar outra mensagem para este chat.\n- 400 · `SUGGESTED_POST_PEER_INVALID` — Você não pode enviar postagens sugeridas para colegas que não sejam do [monoforum](https://core.telegram.org/api/monoforum.md).\n- 406 · `TOPIC_CLOSED` — Este tópico foi fechado, você não pode mais enviar mensagens para ele.\n- 406 · `TOPIC_DELETED` — O tópico especificado foi excluído.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais.\n- 400 · `USER_BOT_TO_BOT_DISABLED` — As mensagens entre bots estão desativadas porque um dos dois bots não ativou a configuração Bot para Bot em @BotFather.\n- 403 · `USER_IS_BLOCKED` — Você foi bloqueado por este usuário.\n- 400 · `USER_IS_BOT` — Os bots não podem enviar mensagens para outros bots.\n- 403 · `VOICE_MESSAGES_FORBIDDEN` — As configurações de privacidade deste usuário proíbem o envio de mensagens de voz.\n- 400 · `YOU_BLOCKED_USER` — Você bloqueou este usuário."}}, "externalDocs": {"description": "Documentação oficial do 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": "Avançar sem notificação sonora."}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Se deve enviar a mensagem em segundo plano"}, "with_my_score": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "Ao encaminhar jogos, incluir sua pontuação no jogo"}, "drop_author": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true", "description": "Se deve encaminhar mensagens sem citar o autor original"}, "drop_media_captions": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true", "description": "Se as legendas devem ser retiradas da mídia"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true", "description": "Somente para bots, não permite reencaminhamento e salvamento adicionais das mensagens, mesmo que o chat de destino não tenha [proteção de conteúdo](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": "Somente bots: se definido, permite o envio de até 1.000 mensagens por segundo, ignorando [limites de transmissão](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por uma taxa de 0,1 Estrelas do Telegram por mensagem. As estrelas relevantes serão retiradas do saldo do bot."}, "from_ephemeral": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.25?true", "description": "Valor do 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": "O bate-papo do qual você deseja encaminhar mensagens."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de mensagens de origem."}, "random_id": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Um ID de encaminhamento exclusivo para cada mensagem."}, "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": "Bate-papo de destino."}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.9?int", "description": "Destino [tópico do fórum](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": "Só pode conter um [inputReplyToMonoForum](https://core.telegram.org/constructor/inputReplyToMonoForum.md), para encaminhar mensagens para um [tópico monoforum](https://core.telegram.org/api/monoforum.md) (mutuamente exclusivo com `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": "Data agendada da mensagem para mensagens agendadas"}, "schedule_repeat_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.24?int", "description": "Uma vez enviada, esta mensagem será automaticamente reprogramada para ser reenviada novamente em alguns segundos no futuro, veja [aqui »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para mais informações sobre a repetição de mensagens programadas."}, "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": "Encaminhe as mensagens como o peer 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": "Em vez disso, adicione as mensagens ao [atalho de resposta 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 um [efeito de mensagem »](https://core.telegram.org/api/effects.md) para usar na mensagem.", "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": "Comece a reproduzir o vídeo no carimbo de data/hora especificado (segundos)."}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [mensagens pagas »](https://core.telegram.org/api/paid-messages.md), especifica a quantia de [Estrelas do Telegram](https://core.telegram.org/api/stars.md) que o usuário concordou em pagar para enviar a mensagem.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "oneOf": [{"$ref": "#/components/schemas/suggestedPost"}], "description": "Usado para [sugerir uma postagem para um canal, veja aqui »](https://core.telegram.org/api/suggested-posts.md) para mais informações sobre o fluxo completo.", "x-tl-flag": "flags.23?SuggestedPost"}}, "additionalProperties": false, "required": ["from_peer", "id", "random_id", "to_peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `silent` | `true` | Não | Avançar sem notificação sonora. |\n| `background` | `true` | Não | Se deve enviar a mensagem em segundo plano |\n| `with_my_score` | `true` | Não | Ao encaminhar jogos, incluir sua pontuação no jogo |\n| `drop_author` | `true` | Não | Se deve encaminhar mensagens sem citar o autor original |\n| `drop_media_captions` | `true` | Não | Se as legendas devem ser retiradas da mídia |\n| `noforwards` | `true` | Não | Somente para bots, não permite reencaminhamento e salvamento adicionais das mensagens, mesmo que o chat de destino não tenha [proteção de conteúdo](https://telegram.org/blog/content-protection-delete-by-date-and-more) habilitada |\n| `allow_paid_floodskip` | `true` | Não | Somente bots: se definido, permite o envio de até 1.000 mensagens por segundo, ignorando [limites de transmissão](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por uma taxa de 0,1 Estrelas do Telegram por mensagem. As estrelas relevantes serão retiradas do saldo do bot. |\n| `from_ephemeral` | `true` | Não | Valor do tipo TL `true`. |\n| `from_peer` | `InputPeer` | Sim | O bate-papo do qual você deseja encaminhar mensagens. |\n| `id` | `Vector<int>` | Sim | IDs de mensagens de origem. |\n| `random_id` | `Vector<long>` | Sim | Um ID de encaminhamento exclusivo para cada mensagem. |\n| `to_peer` | `InputPeer` | Sim | Bate-papo de destino. |\n| `top_msg_id` | `int` | Não | Destino [tópico do fórum](https://core.telegram.org/api/forum.md#forum-topics) |\n| `reply_to` | `InputReplyTo` | Não | Só pode conter um [inputReplyToMonoForum](https://core.telegram.org/constructor/inputReplyToMonoForum.md), para encaminhar mensagens para um [tópico monoforum](https://core.telegram.org/api/monoforum.md) (mutuamente exclusivo com `top_msg_id`). |\n| `schedule_date` | `int` | Não | Data agendada da mensagem para mensagens agendadas |\n| `schedule_repeat_period` | `int` | Não | Uma vez enviada, esta mensagem será automaticamente reprogramada para ser reenviada novamente em alguns segundos no futuro, veja [aqui »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para mais informações sobre a repetição de mensagens programadas. |\n| `send_as` | `InputPeer` | Não | Encaminhe as mensagens como o peer especificado |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | Não | Em vez disso, adicione as mensagens ao [atalho de resposta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado. |\n| `effect` | `long` | Não | Especifica um [efeito de mensagem »](https://core.telegram.org/api/effects.md) para usar na mensagem. |\n| `video_timestamp` | `int` | Não | Comece a reproduzir o vídeo no carimbo de data/hora especificado (segundos). |\n| `allow_paid_stars` | `long` | Não | Para [mensagens pagas »](https://core.telegram.org/api/paid-messages.md), especifica a quantia de [Estrelas do Telegram](https://core.telegram.org/api/stars.md) que o usuário concordou em pagar para enviar a mensagem. |\n| `suggested_post` | `SuggestedPost` | Não | Usado para [sugerir uma postagem para um canal, veja aqui »](https://core.telegram.org/api/suggested-posts.md) para mais informações sobre o fluxo 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": ["Mensagens"], "summary": "Denunciar um novo bate-papo recebido por spam, se as configurações de pares do bate-papo nos permitirem fazer isso", "description": "Denuncie um novo bate-papo recebido por spam, se as [configurações de pares](https://core.telegram.org/constructor/peerSettings.md) do bate-papo nos permitirem fazer isso\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Ponto a relatar"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Ponto a relatar |"}, "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": ["Mensagens"], "summary": "Obtenha configurações de pares", "description": "Obtenha configurações de pares\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 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 de TL: messages.PeerSettings."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) não suporta este recurso.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O par"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O 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": ["Mensagens"], "summary": "Denunciar uma mensagem em um chat por violação dos Termos de Serviço do Telegram", "description": "Denunciar uma mensagem em um chat por violação dos Termos de Serviço do Telegram\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `ReportResult`.\n\n[Resultado do Relatório](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 TL: ReportResult."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MESSAGE_REQUIRED` — Uma lista não vazia de IDs deve ser passada para `id`.\n- 400 · `OPTION_INVALID` — Opção inválida selecionada.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Par"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de mensagens a serem denunciadas"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Opção de menu, inicialmente vazia"}, "message": {"type": "string", "x-tl-type": "string", "description": "Comentário para moderação do relatório"}}, "additionalProperties": false, "required": ["peer", "id", "option", "message"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par |\n| `id` | `Vector<int>` | Sim | IDs de mensagens a serem denunciadas |\n| `option` | `bytes` | Sim | Opção de menu, inicialmente vazia |\n| `message` | `string` | Sim | Comentário para moderação do relatório |"}, "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": ["Mensagens"], "summary": "Retorna informações básicas do chat em seus IDs.", "description": "Retorna informações básicas do chat em seus IDs.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista de IDs de bate-papo"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `Vector<long>` | Sim | Lista de IDs de bate-papo |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1240027791"}}, "/catalog/messages.getFullChat": {"post": {"operationId": "messages.getFullChat", "tags": ["Mensagens"], "summary": "Obtenha informações completas sobre um grupo básico.", "description": "Obtenha informações completas sobre um [grupo básico](https://core.telegram.org/api/channel.md#basic-groups).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 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 de TL: messages.ChatFull."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | Sim | [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": ["Mensagens"], "summary": "Altera o nome do chat e envia uma mensagem de serviço nele.", "description": "Altera o nome do chat e envia uma mensagem de serviço nele.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `CHAT_TITLE_EMPTY` — Nenhum título de chat fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do bate-papo", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string", "description": "Novo nome de chat, diferente do antigo"}}, "additionalProperties": false, "required": ["chat_id", "title"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | Sim | ID do bate-papo |\n| `title` | `string` | Sim | Novo nome de chat, diferente do antigo |"}, "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": ["Mensagens"], "summary": "Altera a foto do bate-papo e envia uma mensagem de serviço nela", "description": "Altera a foto do bate-papo e envia uma mensagem de serviço nela\n\n**Quem pode chamar esse método** · Usuários e bots do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `IMAGE_PROCESS_FAILED` — Falha no processamento da imagem.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `PHOTO_CROP_SIZE_SMALL` — A foto é muito pequena.\n- 400 · `PHOTO_EXT_INVALID` — A extensão da foto é inválida.\n- 400 · `PHOTO_INVALID` — Foto inválida."}}, "externalDocs": {"description": "Documentação oficial do 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 do bate-papo", "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 a ser definida"}}, "additionalProperties": false, "required": ["chat_id", "photo"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | Sim | ID do bate-papo |\n| `photo` | `InputChatPhoto` | Sim | Foto a ser definida |"}, "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": ["Mensagens"], "summary": "Adiciona um usuário a um chat e envia uma mensagem de serviço nele.", "description": "Adiciona um usuário a um chat e envia uma mensagem de serviço nele.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: messages.InvitedUsers."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_GROUPS_BLOCKED` — Este bot não pode ser adicionado a grupos.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_INVALID` — Bate-papo inválido.\n- 400 · `CHAT_MEMBER_ADD_FAILED` — Não foi possível adicionar participantes.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USERS_TOO_MUCH` — O número máximo de usuários foi excedido (para criar um chat, por exemplo).\n- 400 · `USER_ALREADY_PARTICIPANT` — O usuário já está no grupo.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido.\n- 400 · `USER_IS_BLOCKED` — Você foi bloqueado por este usuário.\n- 403 · `USER_NOT_MUTUAL_CONTACT` — O usuário fornecido não é um contato mútuo.\n- 403 · `USER_PRIVACY_RESTRICTED` — As configurações de privacidade do usuário não permitem que você faça isso.\n- 400 · `YOU_BLOCKED_USER` — Você bloqueou este usuário."}}, "externalDocs": {"description": "Documentação oficial do 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 do bate-papo", "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 do usuário a ser adicionado"}, "fwd_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número das últimas mensagens a serem encaminhadas"}}, "additionalProperties": false, "required": ["chat_id", "user_id", "fwd_limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | Sim | ID do bate-papo |\n| `user_id` | `InputUser` | Sim | ID do usuário a ser adicionado |\n| `fwd_limit` | `int` | Sim | Número das últimas mensagens a serem encaminhadas |"}, "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": ["Mensagens"], "summary": "Exclui um usuário de um chat e envia uma mensagem de serviço nele.", "description": "Exclui um usuário de um chat e envia uma mensagem de serviço nele.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido.\n- 400 · `USER_NOT_PARTICIPANT` — Você não é membro deste supergrupo/canal."}}, "externalDocs": {"description": "Documentação oficial do 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": "Remova todo o histórico de bate-papo do usuário especificado neste bate-papo."}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do bate-papo", "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 do usuário a ser excluído"}}, "additionalProperties": false, "required": ["chat_id", "user_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `revoke_history` | `true` | Não | Remova todo o histórico de bate-papo do usuário especificado neste bate-papo. |\n| `chat_id` | `long` | Sim | ID do bate-papo |\n| `user_id` | `InputUser` | Sim | ID do usuário a ser excluído |"}, "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": ["Mensagens"], "summary": "Cria um novo bate-papo.", "description": "Cria um novo bate-papo.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: messages.InvitedUsers."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 500 · `CHAT_ID_GENERATE_FAILED` — Falha ao gerar o ID do chat.\n- 400 · `CHAT_INVALID` — Bate-papo inválido.\n- 400 · `CHAT_MEMBER_ADD_FAILED` — Não foi possível adicionar participantes.\n- 400 · `CHAT_TITLE_EMPTY` — Nenhum título de chat fornecido.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `TTL_PERIOD_INVALID` — O período TTL especificado é inválido.\n- 400 · `USERS_TOO_FEW` — Usuários insuficientes (para criar um chat, por exemplo).\n- 406 · `USER_RESTRICTED` — Você foi denunciado como spam, não pode criar canais ou chats."}}, "externalDocs": {"description": "Documentação oficial do 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 TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Lista de IDs de usuário a serem convidados"}, "title": {"type": "string", "x-tl-type": "string", "description": "Nome do bate-papo"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Tempo de vida de todas as mensagens que serão enviadas no chat: uma vez message.date+message.ttl_period === time(), a mensagem será deletada no servidor, e deverá ser deletada localmente também. Você pode usar [messages.setDefaultHistoryTTL](https://core.telegram.org/method/messages.setDefaultHistoryTTL.md) para editar este valor posteriormente."}}, "additionalProperties": false, "required": ["users", "title"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `users` | `Vector<InputUser>` | Sim | Lista de IDs de usuário a serem convidados |\n| `title` | `string` | Sim | Nome do bate-papo |\n| `ttl_period` | `int` | Não | Tempo de vida de todas as mensagens que serão enviadas no chat: uma vez message.date+message.ttl_period === time(), a mensagem será deletada no servidor, e deverá ser deletada localmente também. Você pode usar [messages.setDefaultHistoryTTL](https://core.telegram.org/method/messages.setDefaultHistoryTTL.md) para editar este valor posteriormente. |"}, "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": ["Mensagens"], "summary": "Retorna parâmetros de configuração para geração de chave Diffie-Hellman. Também pode retornar uma sequência aleatória de bytes com o comprimento necessário.", "description": "Retorna parâmetros de configuração para geração de chave Diffie-Hellman. Também pode retornar uma sequência aleatória de bytes com o comprimento necessário.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: messages.DhConfig."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `RANDOM_LENGTH_INVALID` — Comprimento aleatório inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do parâmetro **versão** de [messages.dhConfig](https://core.telegram.org/constructor/messages.dhConfig.md), disponível no cliente"}, "random_length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Comprimento da sequência aleatória necessária"}}, "additionalProperties": false, "required": ["version", "random_length"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `version` | `int` | Sim | Valor do parâmetro **versão** de [messages.dhConfig](https://core.telegram.org/constructor/messages.dhConfig.md), disponível no cliente |\n| `random_length` | `int` | Sim | Comprimento da sequência aleatória necessária |"}, "x-telegram-rpc-errors": ["RANDOM_LENGTH_INVALID"], "x-browser-schema-id": "651135312"}}, "/catalog/messages.requestEncryption": {"post": {"operationId": "messages.requestEncryption", "tags": ["Mensagens"], "summary": "Envia uma solicitação para iniciar um bate-papo secreto ao usuário.", "description": "Envia uma solicitação para iniciar um bate-papo secreto ao usuário.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](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 MTProto · `EncryptedChat`.\n\n[Bate-papo criptografado](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 TL: EncryptedChat."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `DH_G_A_INVALID` — g_a inválido.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `RANDOM_ID_DUPLICATE` — Você forneceu um ID aleatório que já foi usado.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido.\n- 403 · `USER_IS_BLOCKED` — Você foi bloqueado por este usuário."}}, "externalDocs": {"description": "Documentação oficial do 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 do usuário"}, "random_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "É necessário um ID de solicitação de cliente exclusivo para evitar o reenvio. Isso também funciona como ID do bate-papo. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID."}, "g_a": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "`A = g ^ a mod p`, consulte [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)"}}, "additionalProperties": false, "required": ["user_id", "random_id", "g_a"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Sim | ID do usuário |\n| `random_id` | `int` | Sim | É necessário um ID de solicitação de cliente exclusivo para evitar o reenvio. Isso também funciona como ID do bate-papo. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID. |\n| `g_a` | `bytes` | Sim | `A = g ^ a mod p`, consulte [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": ["Mensagens"], "summary": "Confirma a criação de um chat secreto", "description": "Confirma a criação de um chat secreto\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `EncryptedChat`.\n\n[Bate-papo criptografado](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 TL: EncryptedChat."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `ENCRYPTION_ALREADY_ACCEPTED` — Chat secreto já aceito.\n- 400 · `ENCRYPTION_ALREADY_DECLINED` — O chat secreto já foi recusado."}}, "externalDocs": {"description": "Documentação oficial do 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 secreto do bate-papo"}, "g_b": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "`B = g ^ b mod p`, consulte [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)"}, "key_fingerprint": {"type": "string", "pattern": "^-?\\d+$", "description": "Impressão digital de 64 bits da chave recebida", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "g_b", "key_fingerprint"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | Sim | ID secreto do bate-papo |\n| `g_b` | `bytes` | Sim | `B = g ^ b mod p`, consulte [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange) |\n| `key_fingerprint` | `long` | Sim | Impressão digital de 64 bits da chave recebida |"}, "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": ["Mensagens"], "summary": "Cancela uma solicitação de criação e/ou exclusão de informações no chat secreto.", "description": "Cancela uma solicitação de criação e/ou exclusão de informações no chat secreto.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ID_EMPTY` — O ID do chat fornecido está vazio.\n- 400 · `ENCRYPTION_ALREADY_ACCEPTED` — Chat secreto já aceito.\n- 400 · `ENCRYPTION_ALREADY_DECLINED` — O chat secreto já foi recusado.\n- 400 · `ENCRYPTION_ID_INVALID` — O ID de bate-papo secreto fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja excluir todo o histórico de bate-papo do outro usuário também"}, "chat_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID secreto do bate-papo"}}, "additionalProperties": false, "required": ["chat_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `delete_history` | `true` | Não | Se deseja excluir todo o histórico de bate-papo do outro usuário também |\n| `chat_id` | `int` | Sim | ID secreto do bate-papo |"}, "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": ["Mensagens"], "summary": "Enviar evento de digitação do usuário atual para um chat secreto.", "description": "Enviar evento de digitação do usuário atual para um chat secreto.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 secreto do bate-papo"}, "typing": {"type": "boolean", "x-tl-type": "Bool", "description": "Digitando. **Valores possíveis**: [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md), se o usuário começou a digitar e mais de **5 segundos** se passaram desde a última solicitação [(boolFalse)](https://core.telegram.org/constructor/boolFalse.md), se o usuário parou de digitar"}}, "additionalProperties": false, "required": ["peer", "typing"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | Sim | ID secreto do bate-papo |\n| `typing` | `Bool` | Sim | Digitando. **Valores possíveis**: [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md), se o usuário começou a digitar e mais de **5 segundos** se passaram desde a última solicitação [(boolFalse)](https://core.telegram.org/constructor/boolFalse.md), se o usuário parou de digitar |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID"], "x-browser-schema-id": "2031374829"}}, "/catalog/messages.readEncryptedHistory": {"post": {"operationId": "messages.readEncryptedHistory", "tags": ["Mensagens"], "summary": "Marca o histórico de mensagens em um bate-papo secreto como lido.", "description": "Marca o histórico de mensagens em um bate-papo secreto como lido.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `MAX_DATE_INVALID` — A data máxima especificada é inválida.\n- 400 · `MSG_WAIT_FAILED` — Uma chamada em espera retornou um erro."}}, "externalDocs": {"description": "Documentação oficial do 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 secreto do bate-papo"}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor máximo de data para mensagens recebidas no histórico"}}, "additionalProperties": false, "required": ["peer", "max_date"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | Sim | ID secreto do bate-papo |\n| `max_date` | `int` | Sim | Valor máximo de data para mensagens recebidas no histórico |"}, "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": ["Mensagens"], "summary": "Envia uma mensagem de texto para um bate-papo secreto.", "description": "Envia uma mensagem de texto para um bate-papo secreto.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `DATA_INVALID` — Dados criptografados inválidos.\n- 400 · `DATA_TOO_LONG` — Dados muito longos.\n- 400 · `ENCRYPTION_DECLINED` — O chat secreto foi recusado.\n- 500 · `MSG_WAIT_FAILED` — Uma chamada em espera retornou um erro.\n- 403 · `USER_IS_BLOCKED` — Você foi bloqueado por este usuário."}}, "externalDocs": {"description": "Documentação oficial do 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": "Envie mensagem criptografada sem notificação"}, "peer": {"type": "object", "x-tl-type": "InputEncryptedChat", "oneOf": [{"$ref": "#/components/schemas/inputEncryptedChat"}], "description": "ID secreto do bate-papo"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID exclusivo da mensagem do cliente, necessário para evitar o reenvio de mensagens. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Serialização TL do tipo [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md), criptografada com uma chave que foi criada durante a inicialização do chat"}}, "additionalProperties": false, "required": ["peer", "random_id", "data"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `silent` | `true` | Não | Envie mensagem criptografada sem notificação |\n| `peer` | `InputEncryptedChat` | Sim | ID secreto do bate-papo |\n| `random_id` | `long` | Sim | ID exclusivo da mensagem do cliente, necessário para evitar o reenvio de mensagens. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID. |\n| `data` | `bytes` | Sim | Serialização TL do tipo [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md), criptografada com uma chave que foi criada durante a inicialização do 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": ["Mensagens"], "summary": "Envia uma mensagem com um arquivo anexado para um bate-papo secreto", "description": "Envia uma mensagem com um arquivo anexado para um bate-papo secreto\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `DATA_TOO_LONG` — Dados muito longos.\n- 400 · `ENCRYPTION_DECLINED` — O chat secreto foi recusado.\n- 400 · `FILE_EMTPY` — Um arquivo vazio foi fornecido.\n- 400 · `MD5_CHECKSUM_INVALID` — As somas de verificação MD5 não coincidem.\n- 400 · `MSG_WAIT_FAILED` — Uma chamada em espera retornou um erro."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja enviar o arquivo sem acionar uma notificação"}, "peer": {"type": "object", "x-tl-type": "InputEncryptedChat", "oneOf": [{"$ref": "#/components/schemas/inputEncryptedChat"}], "description": "ID secreto do bate-papo"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID exclusivo da mensagem do cliente necessário para evitar o reenvio de mensagens. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Serialização TL do tipo [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md), criptografada com uma chave gerada durante a inicialização do 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": "Anexo de arquivo para o bate-papo secreto"}}, "additionalProperties": false, "required": ["peer", "random_id", "data", "file"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `silent` | `true` | Não | Se deseja enviar o arquivo sem acionar uma notificação |\n| `peer` | `InputEncryptedChat` | Sim | ID secreto do bate-papo |\n| `random_id` | `long` | Sim | ID exclusivo da mensagem do cliente necessário para evitar o reenvio de mensagens. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID. |\n| `data` | `bytes` | Sim | Serialização TL do tipo [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md), criptografada com uma chave gerada durante a inicialização do chat |\n| `file` | `InputEncryptedFile` | Sim | Anexo de arquivo para o bate-papo 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": ["Mensagens"], "summary": "Envia uma mensagem de serviço para um chat secreto.", "description": "Envia uma mensagem de serviço para um chat secreto.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `DATA_INVALID` — Dados criptografados inválidos.\n- 400 · `DATA_TOO_LONG` — Dados muito longos.\n- 400 · `ENCRYPTION_DECLINED` — O chat secreto foi recusado.\n- 400 · `ENCRYPTION_ID_INVALID` — O ID de bate-papo secreto fornecido é inválido.\n- 500 · `MSG_WAIT_FAILED` — Uma chamada em espera retornou um erro.\n- 403 · `USER_DELETED` — Você não pode enviar esta mensagem secreta porque o outro participante excluiu sua conta.\n- 403 · `USER_IS_BLOCKED` — Você foi bloqueado por este usuário."}}, "externalDocs": {"description": "Documentação oficial do 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 secreto do bate-papo"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "É necessário um ID exclusivo da mensagem do cliente para evitar o reenvio de mensagens. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Serialização TL do tipo [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md), criptografada com uma chave gerada durante a inicialização do chat"}}, "additionalProperties": false, "required": ["peer", "random_id", "data"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | Sim | ID secreto do bate-papo |\n| `random_id` | `long` | Sim | É necessário um ID exclusivo da mensagem do cliente para evitar o reenvio de mensagens. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID. |\n| `data` | `bytes` | Sim | Serialização TL do tipo [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md), criptografada com uma chave gerada durante a inicialização do 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": ["Mensagens"], "summary": "Confirma o recebimento de mensagens em chat secreto pelo cliente, cancela notificações push.", "description": "Confirma o recebimento de mensagens em chat secreto pelo cliente, cancela notificações push.\nO método retorna uma lista de **aleatórios\\_id**s de mensagens para as quais as notificações push foram canceladas.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Vector<long>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[longo](https://core.telegram.org/type/long.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MAX_QTS_INVALID` — O max_qts especificado é inválido.\n- 500 · `MSG_WAIT_FAILED` — Uma chamada em espera retornou um erro."}}, "externalDocs": {"description": "Documentação oficial do 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 disponível no cliente"}}, "additionalProperties": false, "required": ["max_qts"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `max_qts` | `int` | Sim | Valor máximo de qts disponível no cliente |"}, "x-telegram-rpc-errors": ["MAX_QTS_INVALID", "MSG_WAIT_FAILED"], "x-browser-schema-id": "1436924774"}}, "/catalog/messages.reportEncryptedSpam": {"post": {"operationId": "messages.reportEncryptedSpam", "tags": ["Mensagens"], "summary": "Denunciar um bate-papo secreto por spam", "description": "Denunciar um bate-papo secreto por spam\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bate-papo secreto para denunciar"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | Sim | O bate-papo secreto para denunciar |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID"], "x-browser-schema-id": "1259113487"}}, "/catalog/messages.readMessageContents": {"post": {"operationId": "messages.readMessageContents", "tags": ["Mensagens"], "summary": "Notifica o remetente sobre o destinatário ter ouvido uma mensagem de voz ou assistido a um vídeo, emitindo um updateReadMessagesContents.", "description": "Notifica o remetente sobre o destinatário ter ouvido uma mensagem de voz ou assistido a um vídeo, emitindo um [updateReadMessagesContents](https://core.telegram.org/constructor/updateReadMessagesContents.md).\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Documentação oficial do 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 IDs de mensagens"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `Vector<int>` | Sim | Lista de IDs de mensagens |"}, "x-browser-schema-id": "916930423"}}, "/catalog/messages.getStickers": {"post": {"operationId": "messages.getStickers", "tags": ["Mensagens"], "summary": "Obtenha adesivos por emoji", "description": "Obtenha adesivos por emoji\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Digite TL: messages.Stickers."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `EMOTICON_EMPTY` — O emoji está vazio."}}, "externalDocs": {"description": "Documentação oficial do 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": "O emoji"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["emoticon", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `emoticon` | `string` | Sim | O emoji |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](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": ["Mensagens"], "summary": "Obtenha todos os adesivos instalados", "description": "Obtenha todos os adesivos instalados\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3097534888"}}, "/catalog/messages.getWebPagePreview": {"post": {"operationId": "messages.getWebPagePreview", "tags": ["Mensagens"], "summary": "Obtenha uma visualização da página da web", "description": "Obtenha uma visualização da página da web\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Texto estilizado com entidades de mensagem](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 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": "### Erros MTProto (RPC)\n\n- 400 · `ENTITY_BOUNDS_INVALID` — Um [deslocamento ou comprimento de entidade](https://core.telegram.org/api/entities.md#entity-length) especificado é inválido, consulte [aqui »](https://core.telegram.org/api/entities.md#entity-length) para obter informações sobre como calcular corretamente o deslocamento/comprimento da entidade.\n- 400 · `MESSAGE_EMPTY` — A mensagem fornecida está vazia."}}, "externalDocs": {"description": "Documentação oficial do 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": "Mensagem da qual extrair a visualização"}, "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado](https://core.telegram.org/api/entities.md)"}}, "additionalProperties": false, "required": ["message"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `message` | `string` | Sim | Mensagem da qual extrair a visualização |\n| `entities` | `Vector<MessageEntity>` | Não | [Entidades de mensagem para texto estilizado](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": ["Mensagens"], "summary": "Exportar um link de convite para um bate-papo", "description": "Exportar um link de convite para um bate-papo\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Assinaturas de estrelas](https://core.telegram.org/api/subscriptions.md)\n- [Configuração do 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 MTProto · `ExportedChatInvite`.\n\n[ExportadoChatInvite](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 TL: ExportedChatInvite."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) não suporta este recurso.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `EXPIRE_DATE_INVALID` — A data de expiração especificada é inválida.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `PRICING_CHAT_INVALID` — O preço da [assinatura](https://core.telegram.org/api/subscriptions.md) é inválido, o preço máximo é especificado na [`stars_subscription_amount_max` chave de configuração »](https://core.telegram.org/api/config.md#stars-subscription-amount-max).\n- 400 · `SUBSCRIPTION_PERIOD_INVALID` — O subscription_pricing.period especificado é inválido.\n- 400 · `USAGE_LIMIT_INVALID` — O limite de uso especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Sinalizador legado, reproduzindo o comportamento legado deste método: se definido, revoga todos os links anteriores antes de criar um novo. Mantido para o bot API BC, não deve ser usado por clientes modernos."}, "request_needed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Se a confirmação do administrador é necessária antes de admitir cada usuário no 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": "Bate-papo"}, "expire_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Data de validade"}, "usage_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Número máximo de usuários que podem ingressar usando este link"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string", "description": "Descrição do link de convite, visível apenas para administradores"}, "subscription_pricing": {"type": "object", "x-tl-type": "StarsSubscriptionPricing", "oneOf": [{"$ref": "#/components/schemas/starsSubscriptionPricing"}], "description": "Para [assinaturas Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions), contém o preço da assinatura que o usuário deve ativar para ingressar no canal privado.", "x-tl-flag": "flags.5?StarsSubscriptionPricing"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `legacy_revoke_permanent` | `true` | Não | Sinalizador legado, reproduzindo o comportamento legado deste método: se definido, revoga todos os links anteriores antes de criar um novo. Mantido para o bot API BC, não deve ser usado por clientes modernos. |\n| `request_needed` | `true` | Não | Se a confirmação do administrador é necessária antes de admitir cada usuário no chat |\n| `peer` | `InputPeer` | Sim | Bate-papo |\n| `expire_date` | `int` | Não | Data de validade |\n| `usage_limit` | `int` | Não | Número máximo de usuários que podem ingressar usando este link |\n| `title` | `string` | Não | Descrição do link de convite, visível apenas para administradores |\n| `subscription_pricing` | `StarsSubscriptionPricing` | Não | Para [assinaturas Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions), contém o preço da assinatura que o usuário deve ativar para ingressar no 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": ["Mensagens"], "summary": "Verifique a validade de um link de convite de bate-papo e obtenha informações básicas sobre ele", "description": "Verifique a validade de um link de convite de bate-papo e obtenha informações básicas sobre ele\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 MTProto · `ChatInvite`.\n\n[Convite para bate-papo](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 TL: ChatInvite."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `INVITE_HASH_EMPTY` — O hash do convite está vazio.\n- 406 · `INVITE_HASH_EXPIRED` — O link de convite expirou.\n- 400 · `INVITE_HASH_INVALID` — O hash do convite é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Convide hash de [link direto do convite para bate-papo »](https://core.telegram.org/api/links.md#chat-invite-links)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `string` | Sim | Convide hash de [link direto do convite para bate-papo »](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": ["Mensagens"], "summary": "Importe um convite de bate-papo e participe de um bate-papo/supergrupo/canal privado", "description": "Importe um convite de bate-papo e participe de um bate-papo/supergrupo/canal privado\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [Assinaturas de estrelas](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[Atualizações](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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` — Você entrou em muitos canais/supergrupos.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_INVALID` — Bate-papo inválido.\n- 400 · `INVITE_HASH_EMPTY` — O hash do convite está vazio.\n- 406 · `INVITE_HASH_EXPIRED` — O link de convite expirou.\n- 400 · `INVITE_HASH_INVALID` — O hash do convite é inválido.\n- 400 · `INVITE_REQUEST_SENT` — Você solicitou com sucesso para entrar neste chat ou canal.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `STARS_PAYMENT_REQUIRED` — Para importar este link de convite de bate-papo, você deve primeiro [pagar pela assinatura associada do Telegram Star »](https://core.telegram.org/api/subscriptions.md#channel-subscriptions).\n- 400 · `USERS_TOO_MUCH` — O número máximo de usuários foi excedido (para criar um chat, por exemplo).\n- 400 · `USER_ALREADY_PARTICIPANT` — O usuário já está no grupo.\n- 400 · `USER_CHANNELS_TOO_MUCH` — Um dos usuários que você tentou adicionar já está em muitos canais/supergrupos."}}, "externalDocs": {"description": "Documentação oficial do 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` de um [link direto do convite para bate-papo](https://core.telegram.org/api/links.md#chat-invite-links)"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `string` | Sim | `hash` de um [link direto do convite para bate-papo](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": ["Mensagens"], "summary": "Obtenha informações sobre um conjunto de adesivos", "description": "Obtenha informações sobre um conjunto de adesivos\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "### Erros MTProto (RPC)\n\n- 400 · `EMOTICON_STICKERPACK_MISSING` — inputStickerSetDice.emoji não pode estar vazio.\n- 406 · `STICKERSET_INVALID` — O conjunto de adesivos fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 adesivos"}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)"}}, "additionalProperties": false, "required": ["stickerset", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | Sim | Conjunto de adesivos |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](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": ["Mensagens"], "summary": "Instale um conjunto de adesivos", "description": "Instale um conjunto de adesivos\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: messages.StickerSetInstallResult."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 406 · `STICKERSET_INVALID` — O conjunto de adesivos fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 adesivos para instalar"}, "archived": {"type": "boolean", "x-tl-type": "Bool", "description": "Se deseja arquivar o conjunto de adesivos"}}, "additionalProperties": false, "required": ["stickerset", "archived"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | Sim | Conjunto de adesivos para instalar |\n| `archived` | `Bool` | Sim | Se deseja arquivar o conjunto de adesivos |"}, "x-telegram-rpc-errors": ["STICKERSET_INVALID"], "x-browser-schema-id": "3348096096"}}, "/catalog/messages.uninstallStickerSet": {"post": {"operationId": "messages.uninstallStickerSet", "tags": ["Mensagens"], "summary": "Desinstalar um conjunto de adesivos", "description": "Desinstalar um conjunto de adesivos\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 406 · `STICKERSET_INVALID` — O conjunto de adesivos fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O conjunto de adesivos para desinstalar"}}, "additionalProperties": false, "required": ["stickerset"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | Sim | O conjunto de adesivos para desinstalar |"}, "x-telegram-rpc-errors": ["STICKERSET_INVALID"], "x-browser-schema-id": "4184757726"}}, "/catalog/messages.startBot": {"post": {"operationId": "messages.startBot", "tags": ["Mensagens"], "summary": "Inicie uma conversa com um bot usando um parâmetro de link direto", "description": "Inicie uma conversa com um bot usando um [parâmetro de link direto](https://core.telegram.org/api/links.md#bot-links)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Links diretos](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 500 · `RANDOM_ID_DUPLICATE` — Você forneceu um ID aleatório que já foi usado.\n- 400 · `START_PARAM_EMPTY` — O parâmetro inicial está vazio.\n- 400 · `START_PARAM_INVALID` — Parâmetro inicial inválido.\n- 400 · `START_PARAM_TOO_LONG` — O parâmetro inicial é muito longo."}}, "externalDocs": {"description": "Documentação oficial do 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": "O 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": "O chat onde iniciar o bot, pode ser o chat privado do bot ou um grupo"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatório para evitar o reenvio da mesma mensagem. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID.", "x-tl-type": "long"}, "start_param": {"type": "string", "x-tl-type": "string", "description": "[Parâmetro de link direto](https://core.telegram.org/api/links.md#bot-links)"}}, "additionalProperties": false, "required": ["bot", "peer", "random_id", "start_param"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot |\n| `peer` | `InputPeer` | Sim | O chat onde iniciar o bot, pode ser o chat privado do bot ou um grupo |\n| `random_id` | `long` | Sim | ID aleatório para evitar o reenvio da mesma mensagem. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID. |\n| `start_param` | `string` | Sim | [Parâmetro de link direto](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": ["Mensagens"], "summary": "Obtenha e aumente o contador de visualizações de uma mensagem enviada ou encaminhada de um canal", "description": "Obtenha e aumente o contador de visualizações de uma mensagem enviada ou encaminhada de um [canal](https://core.telegram.org/api/channel.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 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": "Digite TL: messages.MessageViews."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde a mensagem foi encontrada"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID da mensagem"}, "increment": {"type": "boolean", "x-tl-type": "Bool", "description": "Se deve marcar a mensagem como visualizada e incrementar o contador de visualizações"}}, "additionalProperties": false, "required": ["peer", "id", "increment"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde a mensagem foi encontrada |\n| `id` | `Vector<int>` | Sim | ID da mensagem |\n| `increment` | `Bool` | Sim | Se deve marcar a mensagem como visualizada e incrementar o contador de visualizações |"}, "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": ["Mensagens"], "summary": "Torne um usuário administrador em um grupo básico.", "description": "Torne um usuário administrador em um [grupo básico](https://core.telegram.org/api/channel.md#basic-groups).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido.\n- 400 · `USER_NOT_PARTICIPANT` — Você não é membro deste supergrupo/canal."}}, "externalDocs": {"description": "Documentação oficial do 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": "O ID do 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": "O usuário a ser tornado administrador"}, "is_admin": {"type": "boolean", "x-tl-type": "Bool", "description": "Seja para torná-los administradores"}}, "additionalProperties": false, "required": ["chat_id", "user_id", "is_admin"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | Sim | O ID do grupo |\n| `user_id` | `InputUser` | Sim | O usuário a ser tornado administrador |\n| `is_admin` | `Bool` | Sim | Seja para torná-los 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": ["Mensagens"], "summary": "Transforme um grupo básico em um supergrupo", "description": "Transforme um [grupo básico em um supergrupo](https://core.telegram.org/api/channel.md#migration)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` — Você entrou em muitos canais/supergrupos.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 500 · `CHAT_INVALID` — Bate-papo inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | Sim | [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": ["Mensagens"], "summary": "Pesquise mensagens e pares globalmente", "description": "Pesquise mensagens e pares globalmente\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Pesquisa e filtros](https://core.telegram.org/api/search.md)\n- [Pastas de diálogo](https://core.telegram.org/api/folders.md)\n- [Paginação no 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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `FOLDER_ID_INVALID` — ID de pasta inválido.\n- 400 · `INPUT_FILTER_INVALID` — O filtro especificado é inválido.\n- 400 · `SEARCH_QUERY_EMPTY` — A consulta de pesquisa está vazia."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, retorna apenas resultados de canais (usados na [guia de pesquisa global de canais »](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": "Se deve pesquisar apenas em grupos"}, "users_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Se deve pesquisar apenas em chats privados"}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "[ID da pasta peer, para mais informações clique aqui](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: InputChannel.", "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 pesquisa global"}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se for especificado um valor positivo, o método retornará apenas mensagens com data maior que min_date"}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se um valor positivo foi transferido, o método retornará apenas mensagens com data menor que max_date"}, "offset_rate": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Inicialmente 0, então defina para o parâmetro [`next_rate` de messages.messagesSlice](https://core.telegram.org/constructor/messages.messagesSlice.md), ou se estiver ausente, o `date` da última mensagem retornada."}, "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": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["q", "filter", "min_date", "max_date", "offset_rate", "offset_peer", "offset_id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `broadcasts_only` | `true` | Não | Se definido, retorna apenas resultados de canais (usados na [guia de pesquisa global de canais »](https://core.telegram.org/api/search.md#global-search)). |\n| `groups_only` | `true` | Não | Se deve pesquisar apenas em grupos |\n| `users_only` | `true` | Não | Se deve pesquisar apenas em chats privados |\n| `folder_id` | `int` | Não | [ID da pasta peer, para mais informações clique aqui](https://core.telegram.org/api/folders.md#peer-folders) |\n| `community` | `InputChannel` | Não | Tipo TL: InputChannel. |\n| `q` | `string` | Sim | Consulta |\n| `filter` | `MessagesFilter` | Sim | Filtro de pesquisa global |\n| `min_date` | `int` | Sim | Se for especificado um valor positivo, o método retornará apenas mensagens com data maior que min_date |\n| `max_date` | `int` | Sim | Se um valor positivo foi transferido, o método retornará apenas mensagens com data menor que max_date |\n| `offset_rate` | `int` | Sim | Inicialmente 0, então defina para o parâmetro [`next_rate` de messages.messagesSlice](https://core.telegram.org/constructor/messages.messagesSlice.md), ou se estiver ausente, o `date` da última mensagem retornada. |\n| `offset_peer` | `InputPeer` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `offset_id` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](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": ["Mensagens"], "summary": "Reordenar conjuntos de adesivos instalados", "description": "Reordenar conjuntos de adesivos instalados\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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 adesivos de máscara"}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Reordenar [conjuntos de adesivos emoji personalizados](https://core.telegram.org/api/custom-emoji.md)"}, "order": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Novo pedido de conjunto de adesivos por IDs de conjunto de adesivos"}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `masks` | `true` | Não | Reordenar conjuntos de adesivos de máscara |\n| `emojis` | `true` | Não | Reordenar [conjuntos de adesivos emoji personalizados](https://core.telegram.org/api/custom-emoji.md) |\n| `order` | `Vector<long>` | Sim | Novo pedido de conjunto de adesivos por IDs de conjunto de adesivos |"}, "x-browser-schema-id": "2016638777"}}, "/catalog/messages.getDocumentByHash": {"post": {"operationId": "messages.getDocumentByHash", "tags": ["Mensagens"], "summary": "Obtenha um documento pelo seu hash SHA256, usado principalmente para gifs", "description": "Obtenha um documento pelo seu hash SHA256, usado principalmente para gifs\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `SHA256_HASH_INVALID` — O hash SHA256 fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do arquivo"}, "size": {"type": "string", "pattern": "^-?\\d+$", "description": "Tamanho do arquivo em bytes", "x-tl-type": "long"}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "Tipo Mime"}}, "additionalProperties": false, "required": ["sha256", "size", "mime_type"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `sha256` | `bytes` | Sim | SHA256 do arquivo |\n| `size` | `long` | Sim | Tamanho do arquivo em bytes |\n| `mime_type` | `string` | Sim | Tipo Mime |"}, "x-telegram-rpc-errors": ["SHA256_HASH_INVALID"], "x-browser-schema-id": "2985428511"}}, "/catalog/messages.getSavedGifs": {"post": {"operationId": "messages.getSavedGifs", "tags": ["Mensagens"], "summary": "Obtenha GIFs salvos.", "description": "Obtenha GIFs salvos.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1559270965"}}, "/catalog/messages.saveGif": {"post": {"operationId": "messages.saveGif", "tags": ["Mensagens"], "summary": "Adicione GIF à lista de gifs salvos", "description": "Adicione GIF à lista de gifs salvos\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GIF_ID_INVALID` — O ID GIF fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 salvar"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Se deseja remover GIF da lista de gifs salvos"}}, "additionalProperties": false, "required": ["id", "unsave"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `InputDocument` | Sim | GIF para salvar |\n| `unsave` | `Bool` | Sim | Se deseja remover GIF da lista de gifs salvos |"}, "x-telegram-rpc-errors": ["GIF_ID_INVALID"], "x-browser-schema-id": "846868683"}}, "/catalog/messages.getInlineBotResults": {"post": {"operationId": "messages.getInlineBotResults", "tags": ["Mensagens"], "summary": "Consultar um bot in-line", "description": "Consultar um bot in-line\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INLINE_DISABLED` — Este bot não pode ser usado no modo inline.\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `BOT_RESPONSE_TIMEOUT` — Ocorreu um tempo limite ao buscar dados do bot.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot a ser consultado"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "O chat atualmente aberto"}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "oneOf": [{"$ref": "#/components/schemas/inputGeoPointEmpty"}, {"$ref": "#/components/schemas/inputGeoPoint"}], "description": "A geolocalização, se solicitada", "x-tl-flag": "flags.0?InputGeoPoint"}, "query": {"type": "string", "x-tl-type": "string", "description": "A consulta"}, "offset": {"type": "string", "x-tl-type": "string", "description": "O deslocamento nos resultados será passado diretamente como está para o bot."}}, "additionalProperties": false, "required": ["bot", "peer", "query", "offset"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot a ser consultado |\n| `peer` | `InputPeer` | Sim | O chat atualmente aberto |\n| `geo_point` | `InputGeoPoint` | Não | A geolocalização, se solicitada |\n| `query` | `string` | Sim | A consulta |\n| `offset` | `string` | Sim | O deslocamento nos resultados será passado diretamente como está para o 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": ["Mensagens"], "summary": "Responda a uma consulta in-line, apenas para bots", "description": "Responda a uma consulta in-line, apenas para bots\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.\n\n**Documentação relacionada**\n\n- [Miniaplicativos no 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `ARTICLE_TITLE_EMPTY` — O título do artigo está vazio.\n- 400 · `AUDIO_CONTENT_URL_EMPTY` — O URL remoto especificado no campo de conteúdo está vazio.\n- 400 · `AUDIO_TITLE_EMPTY` — Um título de áudio vazio foi fornecido.\n- 400 · `BUTTON_DATA_INVALID` — Os dados de um ou mais botões que você forneceu são inválidos.\n- 400 · `BUTTON_TYPE_INVALID` — O tipo de um ou mais botões fornecidos é inválido.\n- 400 · `BUTTON_URL_INVALID` — Botão URL inválido.\n- 400 · `DOCUMENT_INVALID` — O documento especificado é inválido.\n- 400 · `FILE_CONTENT_TYPE_INVALID` — O tipo de conteúdo do arquivo é inválido.\n- 400 · `FILE_TITLE_EMPTY` — Um título de arquivo vazio foi especificado.\n- 400 · `GIF_CONTENT_TYPE_INVALID` — GIF tipo de conteúdo inválido.\n- 400 · `MEDIA_CAPTION_TOO_LONG` — A legenda é muito longa.\n- 400 · `MESSAGE_EMPTY` — A mensagem fornecida está vazia.\n- 400 · `MESSAGE_TOO_LONG` — A mensagem fornecida é muito longa.\n- 400 · `NEXT_OFFSET_INVALID` — O deslocamento especificado é maior que 64 bytes.\n- 400 · `PEER_TYPES_INVALID` — O campo [keyboardButtonSwitchInline](https://core.telegram.org/constructor/keyboardButtonSwitchInline.md).`peer_types` passado é inválido.\n- 400 · `PHOTO_CONTENT_TYPE_INVALID` — Tipo mime de foto inválido.\n- 400 · `PHOTO_CONTENT_URL_EMPTY` — Foto URL inválida.\n- 400 · `PHOTO_INVALID` — Foto inválida.\n- 400 · `PHOTO_THUMB_URL_EMPTY` — A miniatura da foto URL está vazia.\n- 400 · `QUERY_ID_INVALID` — O ID da consulta é inválido.\n- 400 · `REPLY_MARKUP_INVALID` — A marcação de resposta fornecida é inválida.\n- 400 · `RESULTS_TOO_MUCH` — Foram fornecidos muitos resultados.\n- 400 · `RESULT_ID_DUPLICATE` — Você forneceu um ID de resultado duplicado.\n- 400 · `RESULT_ID_INVALID` — Um dos IDs de resultado especificados é inválido.\n- 400 · `RESULT_TYPE_INVALID` — Tipo de resultado inválido.\n- 400 · `SEND_MESSAGE_MEDIA_INVALID` — Mídia inválida fornecida.\n- 400 · `SEND_MESSAGE_TYPE_INVALID` — O tipo de mensagem é inválido.\n- 400 · `START_PARAM_EMPTY` — O parâmetro inicial está vazio.\n- 400 · `START_PARAM_INVALID` — Parâmetro inicial inválido.\n- 400 · `STICKER_DOCUMENT_INVALID` — O documento adesivo especificado é inválido.\n- 400 · `SWITCH_PM_TEXT_EMPTY` — O campo switch_pm.text estava vazio.\n- 400 · `SWITCH_WEBVIEW_URL_INVALID` — O URL especificado em switch_webview.url é inválido!\n- 400 · `URL_INVALID` — URL fornecido inválido.\n- 403 · `USER_BOT_INVALID` — As contas de usuário devem fornecer o parâmetro de método `bot` ao chamar este método. Se não houver tal parâmetro de método, este método só poderá ser invocado por contas de bot.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot.\n- 400 · `VIDEO_CONTENT_TYPE_INVALID` — O tipo de conteúdo do vídeo é inválido.\n- 400 · `VIDEO_TITLE_EMPTY` — O título do vídeo especificado está vazio.\n- 400 · `WEBDOCUMENT_INVALID` — Documento web URL fornecido inválido.\n- 400 · `WEBDOCUMENT_MIME_INVALID` — Tipo mime de documento da web inválido fornecido.\n- 400 · `WEBDOCUMENT_SIZE_TOO_BIG` — O documento da Web é muito grande!\n- 400 · `WEBDOCUMENT_URL_EMPTY` — O documento web passado URL está vazio.\n- 400 · `WEBDOCUMENT_URL_INVALID` — O documento da web especificado URL é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Defina este sinalizador se os resultados forem compostos de arquivos de mídia"}, "private": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Defina esse sinalizador se os resultados puderem ser armazenados em cache no lado do servidor somente para o usuário que enviou a consulta. Por padrão, os resultados podem ser retornados a qualquer usuário que envie a mesma consulta"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador exclusivo da 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 TL: InputBotInlineResult."}, "x-tl-type": "Vector<InputBotInlineResult>", "description": "Vetor de resultados para a consulta in-line"}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "A quantidade máxima de tempo em segundos que o resultado da consulta sequencial pode ser armazenado em cache no servidor. O padrão é 300."}, "next_offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Passe o offset que um cliente deverá enviar na próxima consulta com o mesmo texto para receber mais resultados. Passe uma string vazia se não houver mais resultados ou se você não suportar paginação. O comprimento do deslocamento não pode exceder 64 bytes."}, "switch_pm": {"type": "object", "x-tl-type": "InlineBotSwitchPM", "oneOf": [{"$ref": "#/components/schemas/inlineBotSwitchPM"}], "description": "Se aprovado, os clientes exibirão um botão no topo da lista de resultados in-line restante com o texto especificado, que leva o usuário a um bate-papo privado com o bot e envia ao bot uma mensagem inicial com um determinado parâmetro.", "x-tl-flag": "flags.3?InlineBotSwitchPM"}, "switch_webview": {"type": "object", "x-tl-type": "InlineBotWebView", "oneOf": [{"$ref": "#/components/schemas/inlineBotWebView"}], "description": "Se aprovado, os clientes exibirão um botão no topo da lista de resultados embutidos restantes com o texto especificado, que muda o usuário para o [mini aplicativo de modo embutido](https://core.telegram.org/api/bots/webapps.md#inline-mode-mini-apps) especificado.", "x-tl-flag": "flags.4?InlineBotWebView"}}, "additionalProperties": false, "required": ["query_id", "results", "cache_time"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `gallery` | `true` | Não | Defina este sinalizador se os resultados forem compostos de arquivos de mídia |\n| `private` | `true` | Não | Defina esse sinalizador se os resultados puderem ser armazenados em cache no lado do servidor somente para o usuário que enviou a consulta. Por padrão, os resultados podem ser retornados a qualquer usuário que envie a mesma consulta |\n| `query_id` | `long` | Sim | Identificador exclusivo da consulta respondida |\n| `results` | `Vector<InputBotInlineResult>` | Sim | Vetor de resultados para a consulta in-line |\n| `cache_time` | `int` | Sim | A quantidade máxima de tempo em segundos que o resultado da consulta sequencial pode ser armazenado em cache no servidor. O padrão é 300. |\n| `next_offset` | `string` | Não | Passe o offset que um cliente deverá enviar na próxima consulta com o mesmo texto para receber mais resultados. Passe uma string vazia se não houver mais resultados ou se você não suportar paginação. O comprimento do deslocamento não pode exceder 64 bytes. |\n| `switch_pm` | `InlineBotSwitchPM` | Não | Se aprovado, os clientes exibirão um botão no topo da lista de resultados in-line restante com o texto especificado, que leva o usuário a um bate-papo privado com o bot e envia ao bot uma mensagem inicial com um determinado parâmetro. |\n| `switch_webview` | `InlineBotWebView` | Não | Se aprovado, os clientes exibirão um botão no topo da lista de resultados embutidos restantes com o texto especificado, que muda o usuário para o [mini aplicativo de modo embutido](https://core.telegram.org/api/bots/webapps.md#inline-mode-mini-apps) especificado. |"}, "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": ["Mensagens"], "summary": "Envie um resultado obtido usando messages.getInlineBotResults.", "description": "Envie um resultado obtido usando [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Rascunhos de mensagens](https://core.telegram.org/api/drafts.md)\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Negócio de telegrama](https://core.telegram.org/api/business.md)\n- [Mensagens pagas](https://core.telegram.org/api/paid-messages.md)\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Grupos de discussão](https://core.telegram.org/api/discussion.md)\n- [Texto estilizado com entidades de mensagem](https://core.telegram.org/api/entities.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Configuração do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d` — Este peer cobra %d [Telegram Stars](https://core.telegram.org/api/stars.md) por mensagem, mas o `allow_paid_stars` não foi definido ou seu valor é menor que %d.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_GUEST_SEND_FORBIDDEN` — Você entra no grupo de discussão antes de comentar, veja [aqui »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group) para mais informações.\n- 400 · `CHAT_RESTRICTED` — Você não pode enviar mensagens neste chat, você estava restrito.\n- 403 · `CHAT_SEND_AUDIOS_FORBIDDEN` — Você não pode enviar mensagens de áudio neste chat.\n- 403 · `CHAT_SEND_GAME_FORBIDDEN` — Você não pode enviar um jogo para este chat.\n- 403 · `CHAT_SEND_GIFS_FORBIDDEN` — Você não pode enviar gifs neste chat.\n- 403 · `CHAT_SEND_INLINE_FORBIDDEN` — Você não pode enviar mensagens inline neste grupo.\n- 403 · `CHAT_SEND_MEDIA_FORBIDDEN` — Você não pode enviar mídia neste chat.\n- 403 · `CHAT_SEND_PHOTOS_FORBIDDEN` — Você não pode enviar fotos neste chat.\n- 403 · `CHAT_SEND_PLAIN_FORBIDDEN` — Você não pode enviar mensagens que não sejam de mídia (texto) neste chat.\n- 403 · `CHAT_SEND_STICKERS_FORBIDDEN` — Você não pode enviar adesivos neste chat.\n- 403 · `CHAT_SEND_VOICES_FORBIDDEN` — Você não pode enviar gravações de voz neste chat.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `ENTITY_BOUNDS_INVALID` — Um [deslocamento ou comprimento de entidade](https://core.telegram.org/api/entities.md#entity-length) especificado é inválido, consulte [aqui »](https://core.telegram.org/api/entities.md#entity-length) para obter informações sobre como calcular corretamente o deslocamento/comprimento da entidade.\n- 400 · `INLINE_RESULT_EXPIRED` — A consulta embutida expirou.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MEDIA_EMPTY` — O objeto de mídia fornecido é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 403 · `PRIVACY_PREMIUM_REQUIRED` — Você precisa de uma [assinatura Telegram Premium](https://core.telegram.org/api/premium.md) para enviar uma mensagem para este usuário.\n- 400 · `QUERY_ID_EMPTY` — O ID da consulta está vazio.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Podem ser criados no máximo [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) atalhos, o limite foi atingido.\n- 500 · `RANDOM_ID_DUPLICATE` — Você forneceu um ID aleatório que já foi usado.\n- 400 · `REPLY_MESSAGES_TOO_MUCH` — Cada atalho pode conter no máximo [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) mensagens, o limite foi atingido.\n- 400 · `RESULT_ID_EMPTY` — ID do resultado vazio.\n- 400 · `RESULT_ID_INVALID` — Um dos IDs de resultado especificados é inválido.\n- 400 · `SCHEDULE_DATE_TOO_LATE` — Você não pode agendar uma mensagem para um futuro tão distante.\n- 400 · `SCHEDULE_TOO_MUCH` — Há muitas mensagens agendadas.\n- 400 · `SEND_AS_PEER_INVALID` — Você não pode enviar mensagens como o par especificado.\n- 500 · `SEND_MEDIA_INVALID` — A mídia especificada é inválida.\n- 420 · `SLOWMODE_WAIT_%d` — Modo lento está ativado neste chat: espere %d segundos antes de enviar outra mensagem para este chat.\n- 400 · `TOPIC_DELETED` — O tópico especificado foi excluído.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais.\n- 400 · `VOICE_MESSAGES_FORBIDDEN` — As configurações de privacidade deste usuário proíbem o envio de mensagens de voz.\n- 400 · `WEBPAGE_CURL_FAILED` — Falha ao buscar a página web com cURL.\n- 400 · `WEBPAGE_MEDIA_EMPTY` — Mídia da página da Web vazia.\n- 400 · `YOU_BLOCKED_USER` — Você bloqueou este usuário."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se a mensagem deve ser enviada silenciosamente (nenhuma notificação será acionada no outro cliente)"}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Se deve enviar a mensagem em segundo plano"}, "clear_draft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Se deve limpar o [rascunho](https://core.telegram.org/api/drafts.md)"}, "hide_via": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true", "description": "Se deve ocultar `via @botname` na mensagem resultante (apenas para nomes de usuário de bot encontrados em [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": "Se definido, indica que a mensagem deve ser enviada em resposta à mensagem ou história especificada.", "x-tl-flag": "flags.0?InputReplyTo"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatório para evitar o reenvio da mesma consulta. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento 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 do 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": "Data agendada da mensagem para mensagens agendadas"}, "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": "Envie esta mensagem como o 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": "Adicione a mensagem ao [atalho de resposta 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 [mensagens pagas »](https://core.telegram.org/api/paid-messages.md), especifica a quantia de [Estrelas do Telegram](https://core.telegram.org/api/stars.md) que o usuário concordou em pagar para enviar a mensagem.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}}, "additionalProperties": false, "required": ["peer", "random_id", "query_id", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `silent` | `true` | Não | Se a mensagem deve ser enviada silenciosamente (nenhuma notificação será acionada no outro cliente) |\n| `background` | `true` | Não | Se deve enviar a mensagem em segundo plano |\n| `clear_draft` | `true` | Não | Se deve limpar o [rascunho](https://core.telegram.org/api/drafts.md) |\n| `hide_via` | `true` | Não | Se deve ocultar `via @botname` na mensagem resultante (apenas para nomes de usuário de bot encontrados em [config](https://core.telegram.org/constructor/config.md)) |\n| `peer` | `InputPeer` | Sim | Destino |\n| `reply_to` | `InputReplyTo` | Não | Se definido, indica que a mensagem deve ser enviada em resposta à mensagem ou história especificada. |\n| `random_id` | `long` | Sim | ID aleatório para evitar o reenvio da mesma consulta. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID. |\n| `query_id` | `long` | Sim | ID de consulta de [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md) |\n| `id` | `string` | Sim | ID do resultado de [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md) |\n| `schedule_date` | `int` | Não | Data agendada da mensagem para mensagens agendadas |\n| `send_as` | `InputPeer` | Não | Envie esta mensagem como o par especificado |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | Não | Adicione a mensagem ao [atalho de resposta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado. |\n| `allow_paid_stars` | `long` | Não | Para [mensagens pagas »](https://core.telegram.org/api/paid-messages.md), especifica a quantia de [Estrelas do Telegram](https://core.telegram.org/api/stars.md) que o usuário concordou em pagar para enviar a mensagem. |"}, "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": ["Mensagens"], "summary": "Descubra se a legenda de uma mensagem de mídia pode ser editada", "description": "Descubra se a legenda de uma mensagem de mídia pode ser editada\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: messages.MessageEditData."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 403 · `MESSAGE_AUTHOR_REQUIRED` — É necessário o autor da mensagem.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 para onde a mídia foi enviada"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Peer para onde a mídia foi enviada |\n| `id` | `int` | Sim | ID da mensagem |"}, "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": ["Mensagens"], "summary": "Editar mensagem", "description": "Edita uma mensagem por ID no chat selecionado.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Texto estilizado com entidades de mensagem](https://core.telegram.org/api/entities.md)\n- [Mensagens agendadas](https://core.telegram.org/api/scheduled-messages.md)\n- [Negócio de telegrama](https://core.telegram.org/api/business.md)\n- [Checklists e listas de tarefas](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_DOMAIN_INVALID` — Domínio do bot inválido.\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `BUSINESS_PEER_INVALID` — As mensagens não podem ser definidas para o peer especificado através da [conexão comercial](https://core.telegram.org/api/business.md#connected-bots) atual.\n- 400 · `BUTTON_COPY_TEXT_INVALID` — O [keyboardButtonCopy](https://core.telegram.org/constructor/keyboardButtonCopy.md).`copy_text` especificado é inválido.\n- 400 · `BUTTON_DATA_INVALID` — Os dados de um ou mais botões que você forneceu são inválidos.\n- 400 · `BUTTON_TYPE_INVALID` — O tipo de um ou mais botões fornecidos é inválido.\n- 400 · `BUTTON_URL_INVALID` — Botão URL inválido.\n- 400 · `BUTTON_USER_PRIVACY_RESTRICTED` — A configuração de privacidade do usuário especificada em um botão [inputKeyboardButtonUserProfile](https://core.telegram.org/constructor/inputKeyboardButtonUserProfile.md) não permite a criação de tal botão.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_FORWARDS_RESTRICTED` — Você não pode encaminhar mensagens de um bate-papo protegido.\n- 403 · `CHAT_SEND_GIFS_FORBIDDEN` — Você não pode enviar gifs neste chat.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `DOCUMENT_INVALID` — O documento especificado é inválido.\n- 406 · `EDIT_MESSAGE_TEMP_RESTRICTED` — A edição de mensagens está temporariamente proibida para este usuário devido a restrições regulatórias.\n- 400 · `ENTITIES_TOO_LONG` — Você forneceu muitas entidades de mensagem com estilo.\n- 400 · `ENTITY_BOUNDS_INVALID` — Um [deslocamento ou comprimento de entidade](https://core.telegram.org/api/entities.md#entity-length) especificado é inválido, consulte [aqui »](https://core.telegram.org/api/entities.md#entity-length) para obter informações sobre como calcular corretamente o deslocamento/comprimento da entidade.\n- 400 · `FILE_PARTS_INVALID` — O número de partes do arquivo é inválido.\n- 400 · `IMAGE_PROCESS_FAILED` — Falha no processamento da imagem.\n- 403 · `INLINE_BOT_REQUIRED` — Somente o bot inline pode editar a mensagem.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MEDIA_CAPTION_TOO_LONG` — A legenda é muito longa.\n- 400 · `MEDIA_EMPTY` — O objeto de mídia fornecido é inválido.\n- 400 · `MEDIA_GROUPED_INVALID` — Você tentou enviar mídias de diferentes tipos em um álbum.\n- 400 · `MEDIA_INVALID` — Mídia inválida.\n- 400 · `MEDIA_NEW_INVALID` — A nova mídia é inválida.\n- 400 · `MEDIA_PREV_INVALID` — Mídia anterior inválida.\n- 400 · `MEDIA_TTL_INVALID` — A mídia especificada TTL é inválida.\n- 403 · `MESSAGE_AUTHOR_REQUIRED` — É necessário o autor da mensagem.\n- 400 · `MESSAGE_EDIT_TIME_EXPIRED` — Você não pode mais editar esta mensagem, já passou muito tempo desde a sua criação.\n- 400 · `MESSAGE_EMPTY` — A mensagem fornecida está vazia.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `MESSAGE_NOT_MODIFIED` — Os dados da mensagem fornecida são idênticos aos dados da mensagem anterior, a mensagem não foi modificada.\n- 400 · `MESSAGE_TOO_LONG` — A mensagem fornecida é muito longa.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 500 · `MSG_WAIT_FAILED` — Uma chamada em espera retornou um erro.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `PEER_TYPES_INVALID` — O campo [keyboardButtonSwitchInline](https://core.telegram.org/constructor/keyboardButtonSwitchInline.md).`peer_types` passado é inválido.\n- 400 · `PHOTO_EXT_INVALID` — A extensão da foto é inválida.\n- 400 · `PHOTO_INVALID_DIMENSIONS` — As dimensões da foto são inválidas.\n- 400 · `PHOTO_SAVE_FILE_INVALID` — Problemas internos, tente novamente mais tarde.\n- 400 · `REPLY_MARKUP_INVALID` — A marcação de resposta fornecida é inválida.\n- 400 · `REPLY_MARKUP_TOO_LONG` — O reply_markup especificado é muito longo.\n- 400 · `SCHEDULE_DATE_INVALID` — Data de programação inválida fornecida.\n- 400 · `TODO_ITEMS_EMPTY` — Uma lista de verificação foi especificada, mas nenhum [item da lista de verificação](https://core.telegram.org/api/todo.md) foi aprovado.\n- 400 · `TODO_ITEM_DUPLICATE` — Duplicados [itens da lista de verificação](https://core.telegram.org/api/todo.md) detectados.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais.\n- 400 · `WEBPAGE_NOT_FOUND` — Não foi possível gerar uma visualização da página da web especificada `url`."}}, "externalDocs": {"description": "Documentação oficial do 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": "Desative as visualizações de links."}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true", "description": "Se definido, qualquer eventual visualização da página da Web será mostrada na parte superior da mensagem, e não na 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": "Converse onde a mensagem está localizada."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem que está sendo editada."}, "message": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.11?string", "description": "Novo texto da mensagem."}, "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": "Nova mídia anexada", "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": "Marcação de resposta para teclados embutidos", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "Elementos de formatação para novo texto."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.15?int", "description": "Data agendada da mensagem para [mensagens agendadas](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": "Uma vez enviada, esta mensagem será automaticamente reprogramada para ser reenviada novamente em alguns segundos no futuro, veja [aqui »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para mais informações sobre a repetição de mensagens programadas."}, "quick_reply_shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.17?int", "description": "Se especificado, edita uma [mensagem de atalho de resposta rápida, em vez de »](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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `no_webpage` | `true` | Não | Desative as visualizações de links. |\n| `invert_media` | `true` | Não | Se definido, qualquer eventual visualização da página da Web será mostrada na parte superior da mensagem, e não na parte inferior. |\n| `peer` | `InputPeer` | Sim | Converse onde a mensagem está localizada. |\n| `id` | `int` | Sim | ID da mensagem que está sendo editada. |\n| `message` | `string` | Não | Novo texto da mensagem. |\n| `media` | `InputMedia` | Não | Nova mídia anexada |\n| `reply_markup` | `ReplyMarkup` | Não | Marcação de resposta para teclados embutidos |\n| `entities` | `Vector<MessageEntity>` | Não | Elementos de formatação para novo texto. |\n| `schedule_date` | `int` | Não | Data agendada da mensagem para [mensagens agendadas](https://core.telegram.org/api/scheduled-messages.md) |\n| `schedule_repeat_period` | `int` | Não | Uma vez enviada, esta mensagem será automaticamente reprogramada para ser reenviada novamente em alguns segundos no futuro, veja [aqui »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para mais informações sobre a repetição de mensagens programadas. |\n| `quick_reply_shortcut_id` | `int` | Não | Se especificado, edita uma [mensagem de atalho de resposta rápida, em vez de »](https://core.telegram.org/api/business.md#quick-reply-shortcuts). |\n| `rich_message` | `InputRichMessage` | Não | Тип 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": ["Mensagens"], "summary": "Editar uma mensagem de bot embutida", "description": "Editar uma mensagem de bot embutida\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Texto estilizado com entidades de mensagem](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BUTTON_DATA_INVALID` — Os dados de um ou mais botões que você forneceu são inválidos.\n- 400 · `ENTITY_BOUNDS_INVALID` — Um [deslocamento ou comprimento de entidade](https://core.telegram.org/api/entities.md#entity-length) especificado é inválido, consulte [aqui »](https://core.telegram.org/api/entities.md#entity-length) para obter informações sobre como calcular corretamente o deslocamento/comprimento da entidade.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `MESSAGE_NOT_MODIFIED` — Os dados da mensagem fornecida são idênticos aos dados da mensagem anterior, a mensagem não foi modificada."}}, "externalDocs": {"description": "Documentação oficial do 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": "Desativar visualização da página da web"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true", "description": "Se definido, qualquer eventual visualização da página da Web será mostrada na parte superior da mensagem, e não na parte inferior."}, "id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "oneOf": [{"$ref": "#/components/schemas/inputBotInlineMessageID"}, {"$ref": "#/components/schemas/inputBotInlineMessageID64"}], "description": "ID da mensagem in-line enviada"}, "message": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.11?string", "description": "Mensagem"}, "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": "Mídia", "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": "Marcação de resposta para teclados embutidos", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado](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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `no_webpage` | `true` | Não | Desativar visualização da página da web |\n| `invert_media` | `true` | Não | Se definido, qualquer eventual visualização da página da Web será mostrada na parte superior da mensagem, e não na parte inferior. |\n| `id` | `InputBotInlineMessageID` | Sim | ID da mensagem in-line enviada |\n| `message` | `string` | Não | Mensagem |\n| `media` | `InputMedia` | Não | Mídia |\n| `reply_markup` | `ReplyMarkup` | Não | Marcação de resposta para teclados embutidos |\n| `entities` | `Vector<MessageEntity>` | Não | [Entidades de mensagem para texto estilizado](https://core.telegram.org/api/entities.md) |\n| `rich_message` | `InputRichMessage` | Não | Тип 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": ["Mensagens"], "summary": "Pressione um botão de retorno de chamada embutido e receba uma resposta de retorno do bot", "description": "Pressione um botão de retorno de chamada embutido e receba uma resposta de retorno do bot\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](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 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": "### Erros MTProto (RPC)\n\n- 400 · `BOT_RESPONSE_TIMEOUT` — Ocorreu um tempo limite ao buscar dados do bot.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `DATA_INVALID` — Dados criptografados inválidos.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PASSWORD_MISSING` — Você deve [habilitar 2FA](https://core.telegram.org/api/srp.md) antes de executar esta operação.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se este é um botão \"jogar\""}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Para onde foi enviado o teclado embutido"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem com o teclado embutido"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "Dados de retorno de chamada"}, "password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "Para botões [exigindo que você verifique sua identidade com sua senha 2FA](https://core.telegram.org/constructor/keyboardButtonCallback.md), a carga útil SRP gerada usando [SRP](https://core.telegram.org/api/srp.md).", "x-tl-flag": "flags.2?InputCheckPasswordSRP"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `game` | `true` | Não | Se este é um botão \"jogar\" |\n| `peer` | `InputPeer` | Sim | Para onde foi enviado o teclado embutido |\n| `msg_id` | `int` | Sim | ID da mensagem com o teclado embutido |\n| `data` | `bytes` | Não | Dados de retorno de chamada |\n| `password` | `InputCheckPasswordSRP` | Não | Para botões [exigindo que você verifique sua identidade com sua senha 2FA](https://core.telegram.org/constructor/keyboardButtonCallback.md), a carga útil SRP gerada 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": ["Mensagens"], "summary": "Defina a resposta de retorno de chamada para o pressionamento de um botão do usuário (somente bots)", "description": "Defina a resposta de retorno de chamada para o pressionamento de um botão do usuário (somente bots)\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_TOO_LONG` — A mensagem fornecida é muito longa.\n- 400 · `QUERY_ID_INVALID` — O ID da consulta é inválido.\n- 400 · `URL_INVALID` — URL fornecido inválido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se a mensagem deve ser mostrada como um pop-up em vez de uma notificação do sistema"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID da consulta", "x-tl-type": "long"}, "message": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Pop-up 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": "Validade do cache"}}, "additionalProperties": false, "required": ["query_id", "cache_time"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `alert` | `true` | Não | Se a mensagem deve ser mostrada como um pop-up em vez de uma notificação do sistema |\n| `query_id` | `long` | Sim | ID da consulta |\n| `message` | `string` | Não | Pop-up para mostrar |\n| `url` | `string` | Não | URL para abrir |\n| `cache_time` | `int` | Sim | Validade do cache |"}, "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": ["Mensagens"], "summary": "Obtenha informações de diálogo de pares especificados", "description": "Obtenha informações de diálogo de pares especificados\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autorização do usuário](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 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 de TL: messages.PeerDialogs."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `FROZEN_PARTICIPANT_MISSING` — A conta corrente está [congelada](https://core.telegram.org/api/auth.md#frozen-accounts) e não pode acessar o peer especificado.\n- 400 · `INPUT_PEERS_EMPTY` — A matriz de pares especificada está vazia.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 TL: InputDialogPeer."}, "x-tl-type": "Vector<InputDialogPeer>", "description": "Pares"}}, "additionalProperties": false, "required": ["peers"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peers` | `Vector<InputDialogPeer>` | Sim | Pares |"}, "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": ["Mensagens"], "summary": "Salve um rascunho de mensagem associado a um chat.", "description": "Salve uma mensagem [rascunho](https://core.telegram.org/api/drafts.md) associada a um chat.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Texto estilizado com entidades de mensagem](https://core.telegram.org/api/entities.md)\n- [Efeitos de mensagens animadas](https://core.telegram.org/api/effects.md)\n- [Postagens sugeridas](https://core.telegram.org/api/suggested-posts.md)\n- [Rascunhos de mensagens](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `ENTITY_BOUNDS_INVALID` — Um [deslocamento ou comprimento de entidade](https://core.telegram.org/api/entities.md#entity-length) especificado é inválido, consulte [aqui »](https://core.telegram.org/api/entities.md#entity-length) para obter informações sobre como calcular corretamente o deslocamento/comprimento da entidade.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Desativar a geração da visualização da página da web"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Se definido, qualquer eventual visualização da página da Web será mostrada na parte superior da mensagem, e não na 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": "Se definido, indica que a mensagem deve ser enviada em resposta à mensagem ou história 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 da mensagem que deve ser enviada"}, "message": {"type": "string", "x-tl-type": "string", "description": "O rascunho"}, "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "Mensagem [entidades](https://core.telegram.org/api/entities.md) para texto estilizado"}, "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": "Mídia anexada", "x-tl-flag": "flags.5?InputMedia"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "Especifica um [efeito de mensagem »](https://core.telegram.org/api/effects.md) para usar na mensagem.", "x-tl-type": "long", "x-tl-flag": "flags.7?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "oneOf": [{"$ref": "#/components/schemas/suggestedPost"}], "description": "Usado para [sugerir uma postagem para um canal, veja aqui »](https://core.telegram.org/api/suggested-posts.md) para mais informações sobre o fluxo 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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `no_webpage` | `true` | Não | Desativar a geração da visualização da página da web |\n| `invert_media` | `true` | Não | Se definido, qualquer eventual visualização da página da Web será mostrada na parte superior da mensagem, e não na parte inferior. |\n| `reply_to` | `InputReplyTo` | Não | Se definido, indica que a mensagem deve ser enviada em resposta à mensagem ou história especificada. |\n| `peer` | `InputPeer` | Sim | Destino da mensagem que deve ser enviada |\n| `message` | `string` | Sim | O rascunho |\n| `entities` | `Vector<MessageEntity>` | Não | Mensagem [entidades](https://core.telegram.org/api/entities.md) para texto estilizado |\n| `media` | `InputMedia` | Não | Mídia anexada |\n| `effect` | `long` | Não | Especifica um [efeito de mensagem »](https://core.telegram.org/api/effects.md) para usar na mensagem. |\n| `suggested_post` | `SuggestedPost` | Não | Usado para [sugerir uma postagem para um canal, veja aqui »](https://core.telegram.org/api/suggested-posts.md) para mais informações sobre o fluxo completo. |\n| `rich_message` | `InputRichMessage` | Não | Тип 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": ["Mensagens"], "summary": "Devolva todos os rascunhos de mensagens.", "description": "Retornar todas as mensagens [rascunhos](https://core.telegram.org/api/drafts.md).\nRetorna todas as atualizações mais recentes [updateDraftMessage](https://core.telegram.org/constructor/updateDraftMessage.md) relacionadas a todos os bate-papos com rascunhos.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Rascunhos de mensagens](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/messages.getAllDrafts"}, "x-browser-schema-id": "1782549861"}}, "/catalog/messages.getFeaturedStickers": {"post": {"operationId": "messages.getFeaturedStickers", "tags": ["Mensagens"], "summary": "Obtenha adesivos em destaque", "description": "Obtenha adesivos em destaque\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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 de TL: messages.FeaturedStickers."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1685588756"}}, "/catalog/messages.readFeaturedStickers": {"post": {"operationId": "messages.readFeaturedStickers", "tags": ["Mensagens"], "summary": "Marcar novos adesivos em destaque como lidos", "description": "Marcar novos adesivos em destaque como lidos", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "IDs de conjuntos de adesivos para marcar como lidos"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `Vector<long>` | Sim | IDs de conjuntos de adesivos para marcar como lidos |"}, "x-browser-schema-id": "1527873830"}}, "/catalog/messages.getRecentStickers": {"post": {"operationId": "messages.getRecentStickers", "tags": ["Mensagens"], "summary": "Obtenha adesivos recentes", "description": "Obtenha adesivos recentes\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Documentação oficial do 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": "Obtenha adesivos recentemente anexados a arquivos de foto ou vídeo"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `attached` | `true` | Não | Obtenha adesivos recentemente anexados a arquivos de foto ou vídeo |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2645114939"}}, "/catalog/messages.saveRecentSticker": {"post": {"operationId": "messages.saveRecentSticker", "tags": ["Mensagens"], "summary": "Adicionar/remover adesivo da lista de adesivos recentes", "description": "Adicionar/remover adesivo da lista de adesivos recentes\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `STICKER_ID_INVALID` — O ID do adesivo fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja adicionar/remover adesivos recentemente anexados a arquivos de foto ou vídeo"}, "id": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Adesivo"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Salvar ou cancelar o salvamento do adesivo"}}, "additionalProperties": false, "required": ["id", "unsave"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `attached` | `true` | Não | Se deseja adicionar/remover adesivos recentemente anexados a arquivos de foto ou vídeo |\n| `id` | `InputDocument` | Sim | Adesivo |\n| `unsave` | `Bool` | Sim | Salvar ou cancelar o salvamento do adesivo |"}, "x-telegram-rpc-errors": ["STICKER_ID_INVALID"], "x-browser-schema-id": "958863608"}}, "/catalog/messages.clearRecentStickers": {"post": {"operationId": "messages.clearRecentStickers", "tags": ["Mensagens"], "summary": "Limpar adesivos recentes", "description": "Limpar adesivos recentes", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Defina este sinalizador para limpar a lista de adesivos recentemente anexados a arquivos de foto ou vídeo"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `attached` | `true` | Não | Defina este sinalizador para limpar a lista de adesivos recentemente anexados a arquivos de foto ou vídeo |"}, "x-browser-schema-id": "2308530221"}}, "/catalog/messages.getArchivedStickers": {"post": {"operationId": "messages.getArchivedStickers", "tags": ["Mensagens"], "summary": "Obtenha todos os adesivos arquivados", "description": "Obtenha todos os adesivos arquivados\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Adesivos e máscaras](https://core.telegram.org/api/stickers.md)\n- [Emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Paginação no 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 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": "Documentação oficial do 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": "Obtenha [adesivos de máscara](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": "Obtenha [adesivos emoji personalizados](https://core.telegram.org/api/custom-emoji.md)"}, "offset_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Deslocamentos para paginação, para mais informações clique aqui](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 serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset_id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `masks` | `true` | Não | Obtenha [adesivos de máscara](https://core.telegram.org/api/stickers.md#mask-stickers) |\n| `emojis` | `true` | Não | Obtenha [adesivos emoji personalizados](https://core.telegram.org/api/custom-emoji.md) |\n| `offset_id` | `long` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "1475442322"}}, "/catalog/messages.getMaskStickers": {"post": {"operationId": "messages.getMaskStickers", "tags": ["Mensagens"], "summary": "Obtenha adesivos de máscara instalados", "description": "Obtenha adesivos de máscara instalados\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1678738104"}}, "/catalog/messages.getAttachedStickers": {"post": {"operationId": "messages.getAttachedStickers", "tags": ["Mensagens"], "summary": "Obtenha adesivos anexados a uma foto ou vídeo", "description": "Obtenha adesivos anexados a uma foto ou vídeo\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Vector<StickerSetCovered>`.\n\n[Vetor](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: StickerSetCovered."}, "x-tl-type": "Vector<StickerSetCovered>"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MEDIA_EMPTY` — O objeto de mídia fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Mídia adesivada"}}, "additionalProperties": false, "required": ["media"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `media` | `InputStickeredMedia` | Sim | Mídia adesivada |"}, "x-telegram-rpc-errors": ["MEDIA_EMPTY"], "x-browser-schema-id": "3428542412"}}, "/catalog/messages.setGameScore": {"post": {"operationId": "messages.setGameScore", "tags": ["Mensagens"], "summary": "Use este método para definir a pontuação do usuário especificado em um jogo enviado como uma mensagem normal (somente bots).", "description": "Use este método para definir a pontuação do usuário especificado em um jogo enviado como uma mensagem normal (somente bots).\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_SCORE_NOT_MODIFIED` — A pontuação não foi modificada.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `SCORE_INVALID` — A pontuação do jogo especificada é inválida.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "Defina este sinalizador se a mensagem do jogo precisar ser editada automaticamente para incluir o placar atual"}, "force": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Defina este sinalizador se a pontuação mais alta puder diminuir. Isso pode ser útil ao corrigir erros ou banir trapaceiros"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/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 exclusivo do chat alvo"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificador da mensagem enviada"}, "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 do usuário"}, "score": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nova pontuação"}}, "additionalProperties": false, "required": ["peer", "id", "user_id", "score"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `edit_message` | `true` | Não | Defina este sinalizador se a mensagem do jogo precisar ser editada automaticamente para incluir o placar atual |\n| `force` | `true` | Não | Defina este sinalizador se a pontuação mais alta puder diminuir. Isso pode ser útil ao corrigir erros ou banir trapaceiros |\n| `peer` | `InputPeer` | Sim | Identificador exclusivo do chat alvo |\n| `id` | `int` | Sim | Identificador da mensagem enviada |\n| `user_id` | `InputUser` | Sim | Identificador do usuário |\n| `score` | `int` | Sim | Nova pontuação |"}, "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": ["Mensagens"], "summary": "Use este método para definir a pontuação do usuário especificado em um jogo enviado como uma mensagem embutida (somente bots).", "description": "Use este método para definir a pontuação do usuário especificado em um jogo enviado como uma mensagem embutida (somente bots).\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "Defina este sinalizador se a mensagem do jogo precisar ser editada automaticamente para incluir o placar atual"}, "force": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Defina este sinalizador se a pontuação mais alta puder diminuir. Isso pode ser útil ao corrigir erros ou banir trapaceiros"}, "id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "oneOf": [{"$ref": "#/components/schemas/inputBotInlineMessageID"}, {"$ref": "#/components/schemas/inputBotInlineMessageID64"}], "description": "ID da mensagem embutida"}, "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 do usuário"}, "score": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nova pontuação"}}, "additionalProperties": false, "required": ["id", "user_id", "score"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `edit_message` | `true` | Não | Defina este sinalizador se a mensagem do jogo precisar ser editada automaticamente para incluir o placar atual |\n| `force` | `true` | Não | Defina este sinalizador se a pontuação mais alta puder diminuir. Isso pode ser útil ao corrigir erros ou banir trapaceiros |\n| `id` | `InputBotInlineMessageID` | Sim | ID da mensagem embutida |\n| `user_id` | `InputUser` | Sim | Identificador do usuário |\n| `score` | `int` | Sim | Nova pontuação |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "363700068"}}, "/catalog/messages.getGameHighScores": {"post": {"operationId": "messages.getGameHighScores", "tags": ["Mensagens"], "summary": "Obtenha pontuações mais altas de um jogo", "description": "Obtenha pontuações mais altas de um jogo\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 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": "Digite TL: messages.HighScores."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "Para onde foi enviado o jogo"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem com anexo de mídia do jogo"}, "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": "Obtenha pontuações mais altas feitas por um determinado usuário"}}, "additionalProperties": false, "required": ["peer", "id", "user_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Para onde foi enviado o jogo |\n| `id` | `int` | Sim | ID da mensagem com anexo de mídia do jogo |\n| `user_id` | `InputUser` | Sim | Obtenha pontuações mais altas feitas por um determinado usuário |"}, "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": ["Mensagens"], "summary": "Obtenha pontuações mais altas de um jogo enviadas usando um bot inline", "description": "Obtenha pontuações mais altas de um jogo enviadas usando um bot inline\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 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": "Digite TL: messages.HighScores."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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 da mensagem embutida"}, "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": "Obtenha pontuações altas de um determinado usuário"}}, "additionalProperties": false, "required": ["id", "user_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `InputBotInlineMessageID` | Sim | ID da mensagem embutida |\n| `user_id` | `InputUser` | Sim | Obtenha pontuações altas de um determinado usuário |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "258170395"}}, "/catalog/messages.getCommonChats": {"post": {"operationId": "messages.getCommonChats", "tags": ["Mensagens"], "summary": "Obtenha bate-papos em comum com um usuário", "description": "Obtenha bate-papos em comum com um usuário\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do usuário"}, "max_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID máximo do chat a ser retornado (veja [paginação](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 serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["user_id", "max_id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Sim | ID do usuário |\n| `max_id` | `long` | Sim | ID máximo do chat a ser retornado (veja [paginação](https://core.telegram.org/api/offsets.md)) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Mensagens"], "summary": "Obtenha a página de visualização instantânea", "description": "Obtenha a página [visualização instantânea](https://instantview.telegram.org)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "### Erros MTProto (RPC)\n\n- 400 · `WC_CONVERT_URL_INVALID` — Conversão WC URL inválida."}}, "externalDocs": {"description": "Documentação oficial do 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 da página IV para buscar"}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).  **Nota**: o algoritmo usual de geração de hash não pode ser usado neste caso, reutilize o campo [webPage](https://core.telegram.org/constructor/webPage.md).`hash` retornado por uma chamada anterior ao método, ou passe 0 se esta for a primeira chamada ou se a chamada anterior não retornou um [webPage](https://core.telegram.org/constructor/webPage.md)."}}, "additionalProperties": false, "required": ["url", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `url` | `string` | Sim | URL da página IV para buscar |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).  **Nota**: o algoritmo usual de geração de hash não pode ser usado neste caso, reutilize o campo [webPage](https://core.telegram.org/constructor/webPage.md).`hash` retornado por uma chamada anterior ao método, ou passe 0 se esta for a primeira chamada ou se a chamada anterior não retornou um [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": ["Mensagens"], "summary": "Fixar/desafixar uma caixa de diálogo", "description": "Fixar/desafixar uma caixa de diálogo\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `PEER_HISTORY_EMPTY` — Você não pode fixar um bate-papo vazio com um usuário.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `PINNED_DIALOGS_TOO_MUCH` — Muitas caixas de diálogo fixadas."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja fixar ou desafixar a caixa de diálogo"}, "peer": {"type": "object", "x-tl-type": "InputDialogPeer", "oneOf": [{"$ref": "#/components/schemas/inputDialogPeer"}, {"$ref": "#/components/schemas/inputDialogPeerFolder"}, {"$ref": "#/components/schemas/inputDialogPeerCommunity"}], "description": "A caixa de diálogo para fixar"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `pinned` | `true` | Não | Se deseja fixar ou desafixar a caixa de diálogo |\n| `peer` | `InputDialogPeer` | Sim | A caixa de diálogo para fixar |"}, "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": ["Mensagens"], "summary": "Reordenar caixas de diálogo fixadas", "description": "Reordenar caixas de diálogo fixadas\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Pastas 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, os diálogos fixados no lado do servidor, mas não presentes no campo `order`, serão liberados."}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[ID da pasta peer, para mais informações clique aqui](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 TL: InputDialogPeer."}, "x-tl-type": "Vector<InputDialogPeer>", "description": "Nova ordem de diálogo"}}, "additionalProperties": false, "required": ["folder_id", "order"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `force` | `true` | Não | Se definido, os diálogos fixados no lado do servidor, mas não presentes no campo `order`, serão liberados. |\n| `folder_id` | `int` | Sim | [ID da pasta peer, para mais informações clique aqui](https://core.telegram.org/api/folders.md#peer-folders) |\n| `order` | `Vector<InputDialogPeer>` | Sim | Nova ordem de diálogo |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "991616823"}}, "/catalog/messages.getPinnedDialogs": {"post": {"operationId": "messages.getPinnedDialogs", "tags": ["Mensagens"], "summary": "Obtenha caixas de diálogo fixadas", "description": "Obtenha caixas de diálogo fixadas\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Pastas 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 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 de TL: messages.PeerDialogs."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `FOLDER_ID_INVALID` — ID de pasta inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 da pasta peer, para mais informações clique aqui](https://core.telegram.org/api/folders.md#peer-folders)"}}, "additionalProperties": false, "required": ["folder_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `folder_id` | `int` | Sim | [ID da pasta peer, para mais informações clique aqui](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": ["Mensagens"], "summary": "Se você enviou uma fatura solicitando um endereço de entrega e o parâmetro is\\_flexible foi especificado, o bot receberá uma atualização updateBotShippingQuery. Use este método para responder a dúvidas sobre envio.", "description": "Se você enviou uma fatura solicitando um endereço de entrega e o parâmetro is\\_flexible foi especificado, o bot receberá uma atualização [updateBotShippingQuery](https://core.telegram.org/constructor/updateBotShippingQuery.md). Use este método para responder a dúvidas sobre envio.\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `QUERY_ID_INVALID` — O ID da consulta é inválido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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 exclusivo da consulta a ser respondida", "x-tl-type": "long"}, "error": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Mensagem de erro em formato legível que explica porque é impossível concluir o pedido (e.g. \"Desculpe, a entrega no endereço desejado não está disponível\"). O Telegram exibirá esta mensagem ao usuário."}, "shipping_options": {"type": "array", "items": {"type": "object", "x-tl-type": "ShippingOption", "oneOf": [{"$ref": "#/components/schemas/shippingOption"}], "description": "Tipo TL: Opção de envio."}, "x-tl-type": "Vector<ShippingOption>", "x-tl-flag": "flags.1?Vector<ShippingOption>", "description": "Um vetor de opções de envio disponíveis."}}, "additionalProperties": false, "required": ["query_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `query_id` | `long` | Sim | Identificador exclusivo da consulta a ser respondida |\n| `error` | `string` | Não | Mensagem de erro em formato legível que explica porque é impossível concluir o pedido (e.g. \"Desculpe, a entrega no endereço desejado não está disponível\"). O Telegram exibirá esta mensagem ao usuário. |\n| `shipping_options` | `Vector<ShippingOption>` | Não | Um vetor de opções de envio disponíveis. |"}, "x-telegram-rpc-errors": ["QUERY_ID_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "3858133754"}}, "/catalog/messages.setBotPrecheckoutResults": {"post": {"operationId": "messages.setBotPrecheckoutResults", "tags": ["Mensagens"], "summary": "Depois que o usuário confirmar seus detalhes de pagamento e envio, o bot receberá uma atualização updateBotPrecheckoutQuery.", "description": "Depois que o usuário confirmar seus detalhes de pagamento e envio, o bot receberá uma atualização [updateBotPrecheckoutQuery](https://core.telegram.org/constructor/updateBotPrecheckoutQuery.md).\nUse este método para responder a essas consultas de pré-checkout.\n**Observação**: O Telegram deve receber uma resposta em até 10 segundos após o envio da consulta pré-checkout.\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `ERROR_TEXT_EMPTY` — A mensagem de erro fornecida está vazia.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "Defina este sinalizador se tudo estiver bem (produtos disponíveis, etc.) e o bot estiver pronto para prosseguir com o pedido, caso contrário, não o defina e defina o campo `error`, em vez disso"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador exclusivo da consulta a ser respondida", "x-tl-type": "long"}, "error": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Obrigatório se `success` não estiver definido. Mensagem de erro em formato legível que explica o motivo da falha em prosseguir com a finalização da compra (e.g. \"Desculpe, alguém acabou de comprar a última de nossas incríveis camisetas pretas enquanto você estava ocupado preenchendo seus dados de pagamento. Escolha uma cor ou roupa diferente!\"). O Telegram exibirá esta mensagem ao usuário."}}, "additionalProperties": false, "required": ["query_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `success` | `true` | Não | Defina este sinalizador se tudo estiver bem (produtos disponíveis, etc.) e o bot estiver pronto para prosseguir com o pedido, caso contrário, não o defina e defina o campo `error`, em vez disso |\n| `query_id` | `long` | Sim | Identificador exclusivo da consulta a ser respondida |\n| `error` | `string` | Não | Obrigatório se `success` não estiver definido. Mensagem de erro em formato legível que explica o motivo da falha em prosseguir com a finalização da compra (e.g. \"Desculpe, alguém acabou de comprar a última de nossas incríveis camisetas pretas enquanto você estava ocupado preenchendo seus dados de pagamento. Escolha uma cor ou roupa diferente!\"). O Telegram exibirá esta mensagem ao usuário. |"}, "x-telegram-rpc-errors": ["ERROR_TEXT_EMPTY", "USER_BOT_REQUIRED"], "x-browser-schema-id": "163765653"}}, "/catalog/messages.uploadMedia": {"post": {"operationId": "messages.uploadMedia", "tags": ["Mensagens"], "summary": "Carregar um arquivo e associá-lo a um chat (sem realmente enviá-lo para o chat)", "description": "Carregar um arquivo e associá-lo a um chat (sem realmente enviá-lo para o chat)\n\nTambém pode ser usado em uma [conexão comercial](https://core.telegram.org/api/bots/connected-business-bots.md), *não* envolvendo a consulta em [invokeWithBusinessConnection »](https://core.telegram.org/method/invokeWithBusinessConnection.md), mas especificando o ID da conexão comercial no parâmetro `business_connection_id`.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Bots de negócios conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Fazendo upload e download de arquivos](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 MTProto · `MessageMedia`.\n\n[MensagemMídia](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 TL: MessageMedia."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_RESTRICTED` — Você não pode enviar mensagens neste chat, você estava restrito.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `FILE_PARTS_INVALID` — O número de partes do arquivo é inválido.\n- 400 · `FILE_PART_LENGTH_INVALID` — O comprimento de uma parte do arquivo é inválido.\n- 400 · `IMAGE_PROCESS_FAILED` — Falha no processamento da imagem.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MEDIA_INVALID` — Mídia inválida.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `PHOTO_EXT_INVALID` — A extensão da foto é inválida.\n- 400 · `PHOTO_INVALID_DIMENSIONS` — As dimensões da foto são inválidas.\n- 400 · `PHOTO_SAVE_FILE_INVALID` — Problemas internos, tente novamente mais tarde.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais.\n- 400 · `VOICE_MESSAGES_FORBIDDEN` — As configurações de privacidade deste usuário proíbem o envio de mensagens de voz.\n- 400 · `WEBPAGE_CURL_FAILED` — Falha ao buscar a página web com cURL."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se a mídia será usada apenas na [conexão comercial »](https://core.telegram.org/api/bots/connected-business-bots.md) especificada, e não diretamente pelo 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": "O chat pode ser [inputPeerEmpty](https://core.telegram.org/constructor/inputPeerEmpty.md) para bots e [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) para usuários."}, "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": "Arquivo enviado em partes conforme descrito em [arquivos »](https://core.telegram.org/api/files.md)"}}, "additionalProperties": false, "required": ["peer", "media"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `business_connection_id` | `string` | Não | Se a mídia será usada apenas na [conexão comercial »](https://core.telegram.org/api/bots/connected-business-bots.md) especificada, e não diretamente pelo bot. |\n| `peer` | `InputPeer` | Sim | O chat pode ser [inputPeerEmpty](https://core.telegram.org/constructor/inputPeerEmpty.md) para bots e [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) para usuários. |\n| `media` | `InputMedia` | Sim | Arquivo enviado em partes conforme descrito em [arquivos »](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": ["Mensagens"], "summary": "Notificar o outro usuário em um bate-papo privado de que uma captura de tela do bate-papo foi feita", "description": "Notificar o outro usuário em um bate-papo privado de que uma captura de tela do bate-papo foi feita\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `REPLY_MESSAGE_ID_INVALID` — O ID da mensagem de resposta especificada é inválido.\n- 400 · `STORY_ID_INVALID` — O ID da história especificado é inválido.\n- 400 · `YOU_BLOCKED_USER` — Você bloqueou este usuário."}}, "externalDocs": {"description": "Documentação oficial do 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": "Outro usuário"}, "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 a mensagem que foi capturada (o ID da mensagem especificada também pode ser `0` para evitar a indicação de qualquer mensagem específica)."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatório para evitar o reenvio de mensagens. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "reply_to", "random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Outro usuário |\n| `reply_to` | `InputReplyTo` | Sim | Indica a mensagem que foi capturada (o ID da mensagem especificada também pode ser `0` para evitar a indicação de qualquer mensagem específica). |\n| `random_id` | `long` | Sim | ID aleatório para evitar o reenvio de mensagens. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento 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": ["Mensagens"], "summary": "Obtenha adesivos favoritos", "description": "Obtenha adesivos favoritos\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Digite TL: messages.FavedStickers."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "82946729"}}, "/catalog/messages.faveSticker": {"post": {"operationId": "messages.faveSticker", "tags": ["Mensagens"], "summary": "Marcar ou desmarcar um adesivo como favorito", "description": "Marcar ou desmarcar um adesivo como favorito\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `STICKER_ID_INVALID` — O ID do adesivo fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Adesivo em questão"}, "unfave": {"type": "boolean", "x-tl-type": "Bool", "description": "Se deseja adicionar ou remover um adesivo dos favoritos"}}, "additionalProperties": false, "required": ["id", "unfave"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `InputDocument` | Sim | Adesivo em questão |\n| `unfave` | `Bool` | Sim | Se deseja adicionar ou remover um adesivo dos favoritos |"}, "x-telegram-rpc-errors": ["STICKER_ID_INVALID"], "x-browser-schema-id": "3120547163"}}, "/catalog/messages.getUnreadMentions": {"post": {"operationId": "messages.getUnreadMentions", "tags": ["Mensagens"], "summary": "Receba mensagens não lidas onde fomos mencionados", "description": "Receba mensagens não lidas onde fomos mencionados\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tópicos do fórum](https://core.telegram.org/api/forum.md)\n- [Paginação no 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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde procurar menções"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Se definido, considera apenas mensagens dentro do [tópico do fórum](https://core.telegram.org/api/forum.md#forum-topics) especificado"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID máximo da mensagem a ser retornada, [ver paginação](https://core.telegram.org/api/offsets.md)"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID mínimo da mensagem a ser retornada, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset_id", "add_offset", "limit", "max_id", "min_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde procurar menções |\n| `top_msg_id` | `int` | Não | Se definido, considera apenas mensagens dentro do [tópico do fórum](https://core.telegram.org/api/forum.md#forum-topics) especificado |\n| `offset_id` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `add_offset` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | Sim | ID máximo da mensagem a ser retornada, [ver paginação](https://core.telegram.org/api/offsets.md) |\n| `min_id` | `int` | Sim | ID mínimo da mensagem a ser retornada, [ver paginação](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": ["Mensagens"], "summary": "Marcar menções como lidas; pode ser usado em fóruns, mas **não** pode ser usado em monofóruns.", "description": "Marcar menções como lidas; pode ser usado em [forums](https://core.telegram.org/api/forum.md) mas **não** pode ser usado em [monoforums](https://core.telegram.org/api/monoforum.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tópicos do fórum](https://core.telegram.org/api/forum.md)\n- [Mensagens diretas para canais](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 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": "Digite TL: messages.AffectedHistory."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 somente leitura menções dentro do [tópico do fórum](https://core.telegram.org/api/forum.md#forum-topics) especificado (exceto para monofóruns)."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Diálogo |\n| `top_msg_id` | `int` | Não | Marcar como somente leitura menções dentro do [tópico do fórum](https://core.telegram.org/api/forum.md#forum-topics) especificado (exceto para monofóruns). |"}, "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": ["Mensagens"], "summary": "Receba todos os locais recentes ao vivo enviados para um chat específico: retorna até 1 mensagem de localização (messageMediaGeoLive) por participante do chat.", "description": "Receba todos os [locais ao vivo](https://core.telegram.org/api/live-location.md) recentes enviados para um bate-papo específico: retorna até 1 mensagem de localização ([messageMediaGeoLive](https://core.telegram.org/constructor/messageMediaGeoLive.md)) por participante do bate-papo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Geolocalização ao 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 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": "Digite TL: messages.Messages."}}}}}, "externalDocs": {"description": "Documentação oficial do 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-alvo ou chat privado."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "limit", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Grupo-alvo ou chat privado. |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation) |"}, "x-browser-schema-id": "1881817312"}}, "/catalog/messages.sendMultiMedia": {"post": {"operationId": "messages.sendMultiMedia", "tags": ["Mensagens"], "summary": "Envie um álbum ou mídia agrupada", "description": "Envie um [álbum ou mídia agrupada](https://core.telegram.org/api/files.md#albums-grouped-media)\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Rascunhos de mensagens](https://core.telegram.org/api/drafts.md)\n- [Adesivos e máscaras](https://core.telegram.org/api/stickers.md)\n- [Negócio de telegrama](https://core.telegram.org/api/business.md)\n- [Efeitos de mensagens animadas](https://core.telegram.org/api/effects.md)\n- [Mensagens pagas](https://core.telegram.org/api/paid-messages.md)\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Fazendo upload e download de arquivos](https://core.telegram.org/api/files.md)\n- [Texto estilizado com entidades de mensagem](https://core.telegram.org/api/entities.md)\n- [Referências de arquivo](https://core.telegram.org/api/file-references.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Configuração do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d` — Este peer cobra %d [Telegram Stars](https://core.telegram.org/api/stars.md) por mensagem, mas o `allow_paid_stars` não foi definido ou seu valor é menor que %d.\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `BUSINESS_PEER_INVALID` — As mensagens não podem ser definidas para o peer especificado através da [conexão comercial](https://core.telegram.org/api/business.md#connected-bots) atual.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_FORWARDS_RESTRICTED` — Você não pode encaminhar mensagens de um bate-papo protegido.\n- 403 · `CHAT_SEND_MEDIA_FORBIDDEN` — Você não pode enviar mídia neste chat.\n- 403 · `CHAT_SEND_PHOTOS_FORBIDDEN` — Você não pode enviar fotos neste chat.\n- 403 · `CHAT_SEND_VIDEOS_FORBIDDEN` — Você não pode enviar vídeos neste chat.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `EFFECT_ID_INVALID` — O ID do efeito especificado é inválido.\n- 400 · `ENTITY_BOUNDS_INVALID` — Um [deslocamento ou comprimento de entidade](https://core.telegram.org/api/entities.md#entity-length) especificado é inválido, consulte [aqui »](https://core.telegram.org/api/entities.md#entity-length) para obter informações sobre como calcular corretamente o deslocamento/comprimento da entidade.\n- 400 · `FILE_REFERENCE_%d_EMPTY` — A referência do arquivo de mídia no deslocamento %d na matriz multi_media é inválida.\n- 400 · `FILE_REFERENCE_%d_EXPIRED` — A referência do arquivo de mídia no índice %d no array de mídia passado expirou, ela [deve ser atualizada conforme especificado na documentação](https://core.telegram.org/api/file-references.md). .\n- 400 · `FILE_REFERENCE_%d_INVALID` — A [referência de arquivo](https://core.telegram.org/api/file-references.md) do arquivo de mídia no índice %d no array de mídia passado é inválida.\n- 400 · `MEDIA_CAPTION_TOO_LONG` — A legenda é muito longa.\n- 400 · `MEDIA_EMPTY` — O objeto de mídia fornecido é inválido.\n- 400 · `MEDIA_INVALID` — Mídia inválida.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `MULTI_MEDIA_TOO_LONG` — Muitos arquivos de mídia para o álbum.\n- 406 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 403 · `PRIVACY_PREMIUM_REQUIRED` — Você precisa de uma [assinatura Telegram Premium](https://core.telegram.org/api/premium.md) para enviar uma mensagem para este usuário.\n- 400 · `QUICK_REPLIES_BOT_NOT_ALLOWED` — [Respostas rápidas](https://core.telegram.org/api/business.md#quick-reply-shortcuts) não podem ser usadas por bots.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Podem ser criados no máximo [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) atalhos, o limite foi atingido.\n- 500 · `RANDOM_ID_DUPLICATE` — Você forneceu um ID aleatório que já foi usado.\n- 400 · `RANDOM_ID_EMPTY` — ID aleatório vazio.\n- 400 · `REPLY_MESSAGES_TOO_MUCH` — Cada atalho pode conter no máximo [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) mensagens, o limite foi atingido.\n- 400 · `REPLY_TO_INVALID` — O campo `reply_to` especificado é inválido.\n- 400 · `SCHEDULE_DATE_TOO_LATE` — Você não pode agendar uma mensagem para um futuro tão distante.\n- 400 · `SCHEDULE_TOO_MUCH` — Há muitas mensagens agendadas.\n- 400 · `SEND_AS_PEER_INVALID` — Você não pode enviar mensagens como o par especificado.\n- 420 · `SLOWMODE_WAIT_%d` — Modo lento está ativado neste chat: espere %d segundos antes de enviar outra mensagem para este chat.\n- 400 · `TOPIC_CLOSED` — Este tópico foi fechado, você não pode mais enviar mensagens para ele.\n- 400 · `TOPIC_DELETED` — O tópico especificado foi excluído.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais.\n- 400 · `USER_IS_BLOCKED` — Você foi bloqueado por este usuário."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja enviar o álbum silenciosamente (nenhuma notificação acionada)"}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Enviar em segundo plano?"}, "clear_draft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Se deve limpar [rascunhos](https://core.telegram.org/api/drafts.md)"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true", "description": "Somente para bots, não permite o encaminhamento e salvamento das mensagens, mesmo que o chat de destino não tenha [proteção de conteúdo](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": "Se deseja mover conjuntos de adesivos usados para o topo, [veja aqui para mais informações sobre esta bandeira »](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": "Se definido, qualquer eventual visualização da página da Web será mostrada na parte superior da mensagem, e não na parte inferior."}, "allow_paid_floodskip": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true", "description": "Somente bots: se definido, permite o envio de até 1.000 mensagens por segundo, ignorando [limites de transmissão](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por uma taxa de 0,1 Estrelas do Telegram por mensagem. As estrelas relevantes serão retiradas do saldo do 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": "O bate-papo do 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": "Se definido, indica que a mensagem deve ser enviada em resposta à mensagem ou história 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 TL: InputSingleMedia."}, "x-tl-type": "Vector<InputSingleMedia>", "description": "As mídias a serem enviadas: observe que elas devem ser carregadas separadamente usando [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md) primeiro, o uso de construtores `inputMediaUploaded*` brutos não é suportado."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int", "description": "Data agendada da mensagem para mensagens agendadas"}, "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": "Envie esta mensagem como o 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": "Adicione a mensagem ao [atalho de resposta 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 um [efeito de mensagem »](https://core.telegram.org/api/effects.md) para usar na mensagem.", "x-tl-type": "long", "x-tl-flag": "flags.18?long"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [mensagens pagas »](https://core.telegram.org/api/paid-messages.md), especifica a quantia de [Estrelas do Telegram](https://core.telegram.org/api/stars.md) que o usuário concordou em pagar para enviar a mensagem.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}}, "additionalProperties": false, "required": ["peer", "multi_media"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `silent` | `true` | Não | Se deseja enviar o álbum silenciosamente (nenhuma notificação acionada) |\n| `background` | `true` | Não | Enviar em segundo plano? |\n| `clear_draft` | `true` | Não | Se deve limpar [rascunhos](https://core.telegram.org/api/drafts.md) |\n| `noforwards` | `true` | Não | Somente para bots, não permite o encaminhamento e salvamento das mensagens, mesmo que o chat de destino não tenha [proteção de conteúdo](https://telegram.org/blog/content-protection-delete-by-date-and-more) habilitada |\n| `update_stickersets_order` | `true` | Não | Se deseja mover conjuntos de adesivos usados para o topo, [veja aqui para mais informações sobre esta bandeira »](https://core.telegram.org/api/stickers.md#recent-stickersets) |\n| `invert_media` | `true` | Não | Se definido, qualquer eventual visualização da página da Web será mostrada na parte superior da mensagem, e não na parte inferior. |\n| `allow_paid_floodskip` | `true` | Não | Somente bots: se definido, permite o envio de até 1.000 mensagens por segundo, ignorando [limites de transmissão](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por uma taxa de 0,1 Estrelas do Telegram por mensagem. As estrelas relevantes serão retiradas do saldo do bot. |\n| `peer` | `InputPeer` | Sim | O bate-papo do destino |\n| `reply_to` | `InputReplyTo` | Não | Se definido, indica que a mensagem deve ser enviada em resposta à mensagem ou história especificada. |\n| `multi_media` | `Vector<InputSingleMedia>` | Sim | As mídias a serem enviadas: observe que elas devem ser carregadas separadamente usando [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md) primeiro, o uso de construtores `inputMediaUploaded*` brutos não é suportado. |\n| `schedule_date` | `int` | Não | Data agendada da mensagem para mensagens agendadas |\n| `send_as` | `InputPeer` | Não | Envie esta mensagem como o par especificado |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | Não | Adicione a mensagem ao [atalho de resposta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado. |\n| `effect` | `long` | Não | Especifica um [efeito de mensagem »](https://core.telegram.org/api/effects.md) para usar na mensagem. |\n| `allow_paid_stars` | `long` | Não | Para [mensagens pagas »](https://core.telegram.org/api/paid-messages.md), especifica a quantia de [Estrelas do Telegram](https://core.telegram.org/api/stars.md) que o usuário concordou em pagar para enviar a mensagem. |"}, "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": ["Mensagens"], "summary": "Carregue o arquivo criptografado e associe-o a um chat secreto (sem realmente enviá-lo para o chat).", "description": "Carregue o arquivo criptografado e associe-o a um chat secreto (sem realmente enviá-lo para o chat).\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `EncryptedFile`.\n\n[Arquivo Criptografado](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 TL: EncryptedFile."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bate-papo secreto ao qual associar o arquivo"}, "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": "O arquivo"}}, "additionalProperties": false, "required": ["peer", "file"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | Sim | O bate-papo secreto ao qual associar o arquivo |\n| `file` | `InputEncryptedFile` | Sim | O arquivo |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID"], "x-browser-schema-id": "1347929239"}}, "/catalog/messages.searchStickerSets": {"post": {"operationId": "messages.searchStickerSets", "tags": ["Mensagens"], "summary": "Pesquisar conjuntos de adesivos", "description": "Pesquisar conjuntos de adesivos\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Digite TL: messages.FoundStickerSets."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 adesivos em destaque dos resultados"}, "q": {"type": "string", "x-tl-type": "string", "description": "Cadeia de consulta"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["q", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `exclude_featured` | `true` | Não | Excluir conjuntos de adesivos em destaque dos resultados |\n| `q` | `string` | Sim | Cadeia de consulta |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "896555914"}}, "/catalog/messages.getSplitRanges": {"post": {"operationId": "messages.getSplitRanges", "tags": ["Mensagens"], "summary": "Obtenha intervalos de mensagens para salvar o histórico de bate-papo do usuário", "description": "Obtenha intervalos de mensagens para salvar o histórico de bate-papo do usuário", "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 MTProto · `Vector<MessageRange>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[MessageRange](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 TL: MessageRange."}, "x-tl-type": "Vector<MessageRange>"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/messages.getSplitRanges"}, "x-browser-schema-id": "486505992"}}, "/catalog/messages.markDialogUnread": {"post": {"operationId": "messages.markDialogUnread", "tags": ["Mensagens"], "summary": "Marcar manualmente a caixa de diálogo como não lida", "description": "Marcar manualmente a caixa de diálogo como não lida\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens diretas para canais](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 não lido/lido"}, "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": "Se definido, deve ser igual ao ID de um [monoforum](https://core.telegram.org/api/monoforum.md) e afetará o tópico monoforum passado em `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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `unread` | `true` | Não | Marcar como não lido/lido |\n| `parent_peer` | `InputPeer` | Não | Se definido, deve ser igual ao ID de um [monoforum](https://core.telegram.org/api/monoforum.md) e afetará o tópico monoforum passado em `peer`. |\n| `peer` | `InputDialogPeer` | Sim | Diálogo |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2354054904"}}, "/catalog/messages.getDialogUnreadMarks": {"post": {"operationId": "messages.getDialogUnreadMarks", "tags": ["Mensagens"], "summary": "Obtenha caixas de diálogo marcadas manualmente como não lidas", "description": "Obtenha caixas de diálogo marcadas manualmente como não lidas", "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 MTProto · `Vector<DialogPeer>`.\n\n[Vetor](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 TL: DialogPeer."}, "x-tl-type": "Vector<DialogPeer>"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Pode ser igual ao ID de um monoforum, para buscar tópicos do monoforum manualmente marcados como não lidos.", "x-tl-flag": "flags.0?InputPeer"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | Não | Pode ser igual ao ID de um monoforum, para buscar tópicos do monoforum manualmente marcados como não lidos. |"}, "x-browser-schema-id": "555754018"}}, "/catalog/messages.clearAllDrafts": {"post": {"operationId": "messages.clearAllDrafts", "tags": ["Mensagens"], "summary": "Limpe todos os rascunhos.", "description": "Limpe todos os [rascunhos](https://core.telegram.org/api/drafts.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Rascunhos de mensagens](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/messages.clearAllDrafts"}, "x-browser-schema-id": "2119757468"}}, "/catalog/messages.updatePinnedMessage": {"post": {"operationId": "messages.updatePinnedMessage", "tags": ["Mensagens"], "summary": "Fixar uma mensagem", "description": "Fixar uma mensagem\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_ONESIDE_NOT_AVAIL` — Os bots não podem fixar mensagens em PM apenas para eles próprios.\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `BUSINESS_PEER_INVALID` — As mensagens não podem ser definidas para o peer especificado através da [conexão comercial](https://core.telegram.org/api/business.md#connected-bots) atual.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_INVALID` — Bate-papo inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `PIN_RESTRICTED` — Você não pode fixar mensagens.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais."}}, "externalDocs": {"description": "Documentação oficial do 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": "Fixe a mensagem silenciosamente, sem acionar uma notificação"}, "unpin": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se a mensagem deve ser liberada ou fixada"}, "pm_oneside": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Se a mensagem deve ser fixada apenas no lado local de um bate-papo 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": "O par onde fixar a mensagem"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "A mensagem para fixar ou desafixar"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `silent` | `true` | Não | Fixe a mensagem silenciosamente, sem acionar uma notificação |\n| `unpin` | `true` | Não | Se a mensagem deve ser liberada ou fixada |\n| `pm_oneside` | `true` | Não | Se a mensagem deve ser fixada apenas no lado local de um bate-papo individual |\n| `peer` | `InputPeer` | Sim | O par onde fixar a mensagem |\n| `id` | `int` | Sim | A mensagem para fixar ou desafixar |"}, "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": ["Mensagens"], "summary": "Votar em uma enquete", "description": "Vote em uma [enquete](https://core.telegram.org/constructor/poll.md)\n\nA partir da camada 159, o voto será enviado do par especificado usando [messages.saveDefaultSendAs](https://core.telegram.org/method/messages.saveDefaultSendAs.md).\n\nAntes de votar, os clientes devem verificar se o usuário realmente tem permissão para votar: a votação não é possível se a enquete estiver encerrada, se for [somente para assinantes »](https://core.telegram.org/api/poll.md#subscriber-only-polls) e o usuário não for um assinante elegível, ou se for [restrito ao país »](https://core.telegram.org/api/poll.md#country-restricted-polls) e o [`phone_country_iso2` »](https://core.telegram.org/api/config.md#phone-country-iso2) do usuário não estiver na lista de países permitidos da enquete. Veja [restrições de voto »](https://core.telegram.org/api/poll.md#vote-restrictions) para a lista completa de condições.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Enquetes e questionários](https://core.telegram.org/api/poll.md)\n- [Configuração do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `MESSAGE_POLL_CLOSED` — Enquete encerrada.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `OPTIONS_TOO_MUCH` — Muitas opções fornecidas.\n- 400 · `OPTION_INVALID` — Opção inválida selecionada.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 406 · `POLL_COUNTRY_RESTRICTED` — Os usuários do país do usuário atual não podem votar nesta [enquete restrita ao país »](https://core.telegram.org/api/poll.md#country-restricted-polls).\n- 406 · `POLL_MEMBER_RESTRICTED` — Somente assinantes do canal podem votar nesta enquete.\n- 400 · `REVOTE_NOT_ALLOWED` — Você não pode alterar seu voto."}}, "externalDocs": {"description": "Documentação oficial do 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": "O chat para onde a enquete foi enviada"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O ID da mensagem da enquete"}, "options": {"type": "array", "items": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "x-tl-type": "Vector<bytes>", "description": "As opções escolhidas"}}, "additionalProperties": false, "required": ["peer", "msg_id", "options"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O chat para onde a enquete foi enviada |\n| `msg_id` | `int` | Sim | O ID da mensagem da enquete |\n| `options` | `Vector<bytes>` | Sim | As opções escolhidas |"}, "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": ["Mensagens"], "summary": "Obtenha os resultados da enquete", "description": "Obtenha os resultados da enquete\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde a enquete foi encontrada"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem da enquete"}, "poll_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Passe o `poll.hash` do último estado de enquete recebido; o servidor ignora o retorno de dados inalterados", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "msg_id", "poll_hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde a enquete foi encontrada |\n| `msg_id` | `int` | Sim | ID da mensagem da enquete |\n| `poll_hash` | `long` | Sim | Passe o `poll.hash` do último estado de enquete recebido; o servidor ignora o retorno de dados inalterados |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "3986940731"}}, "/catalog/messages.getOnlines": {"post": {"operationId": "messages.getOnlines", "tags": ["Mensagens"], "summary": "Obtenha a contagem de usuários online em um bate-papo", "description": "Obtenha a contagem de usuários online em um bate-papo\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `ChatOnlines`.\n\n[Bate-papo Online](https://core.telegram.org/type/ChatOnlines.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ChatOnlines", "oneOf": [{"$ref": "#/components/schemas/chatOnlines"}], "description": "Tipo de TL: ChatOnlines."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bate-papo"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O bate-papo |"}, "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": ["Mensagens"], "summary": "Edite a descrição de um grupo/supergrupo/canal.", "description": "Edite a descrição de um [grupo/supergrupo/canal](https://core.telegram.org/api/channel.md).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ABOUT_NOT_MODIFIED` — Sobre o texto não mudou.\n- 400 · `CHAT_ABOUT_TOO_LONG` — Conversa muito longa.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O [grupo/supergrupo/canal](https://core.telegram.org/api/channel.md)."}, "about": {"type": "string", "x-tl-type": "string", "description": "A nova descrição"}}, "additionalProperties": false, "required": ["peer", "about"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O [grupo/supergrupo/canal](https://core.telegram.org/api/channel.md). |\n| `about` | `string` | Sim | A nova descrição |"}, "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": ["Mensagens"], "summary": "Edite os direitos banidos padrão de um canal/supergrupo/grupo.", "description": "Edite os direitos banidos padrão de um [canal/supergrupo/grupo](https://core.telegram.org/api/channel.md).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BANNED_RIGHTS_INVALID` — Você forneceu algumas flags inválidas nos direitos banidos.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `UNTIL_DATE_INVALID` — Inválido até a data informada."}}, "externalDocs": {"description": "Documentação oficial do 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": "O par"}, "banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "oneOf": [{"$ref": "#/components/schemas/chatBannedRights"}], "description": "Os novos direitos globais"}}, "additionalProperties": false, "required": ["peer", "banned_rights"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O par |\n| `banned_rights` | `ChatBannedRights` | Sim | Os novos direitos globais |"}, "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": ["Mensagens"], "summary": "Obtenha palavras-chave emoji localizadas ».", "description": "Obtenha [palavras-chave emoji localizadas »](https://core.telegram.org/api/custom-emoji.md#emoji-keywords).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação 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 MTProto · `EmojiKeywordsDifference`.\n\n[EmojiPalavras-chaveDiferença](https://core.telegram.org/type/EmojiKeywordsDifference.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EmojiKeywordsDifference", "oneOf": [{"$ref": "#/components/schemas/emojiKeywordsDifference"}], "description": "Tipo TL: EmojiKeywordsDiferença."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 do idioma"}}, "additionalProperties": false, "required": ["lang_code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `lang_code` | `string` | Sim | Código do idioma |"}, "x-browser-schema-id": "899735650"}}, "/catalog/messages.getEmojiKeywordsDifference": {"post": {"operationId": "messages.getEmojiKeywordsDifference", "tags": ["Mensagens"], "summary": "Altere as palavras-chave emoji ».", "description": "Troque [palavras-chave emoji »](https://core.telegram.org/api/custom-emoji.md#emoji-keywords).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação 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 MTProto · `EmojiKeywordsDifference`.\n\n[EmojiPalavras-chaveDiferença](https://core.telegram.org/type/EmojiKeywordsDifference.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EmojiKeywordsDifference", "oneOf": [{"$ref": "#/components/schemas/emojiKeywordsDifference"}], "description": "Tipo TL: EmojiKeywordsDiferença."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 do idioma"}, "from_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Lista de palavras-chave emoji armazenadas anteriormente `version`"}}, "additionalProperties": false, "required": ["lang_code", "from_version"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `lang_code` | `string` | Sim | Código do idioma |\n| `from_version` | `int` | Sim | Lista de palavras-chave emoji armazenadas anteriormente `version` |"}, "x-browser-schema-id": "352892591"}}, "/catalog/messages.getEmojiKeywordsLanguages": {"post": {"operationId": "messages.getEmojiKeywordsLanguages", "tags": ["Mensagens"], "summary": "Obtenha uma lista de idiomas relacionados que devem ser usados ao buscar listas de palavras-chave emoji ».", "description": "Obtenha uma lista de idiomas relacionados que devem ser usados ao buscar [listas de palavras-chave emoji »](https://core.telegram.org/api/custom-emoji.md#emoji-keywords).\n\nNormalmente o método retornará os códigos de idioma passados (se localizados) + `en` + alguns códigos de idioma para idiomas semelhantes (se aplicável).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação 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 MTProto · `Vector<EmojiLanguage>`.\n\n[Vetor](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": "Documentação oficial do 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": "Os códigos de idioma do usuário"}}, "additionalProperties": false, "required": ["lang_codes"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `lang_codes` | `Vector<string>` | Sim | Os códigos de idioma do usuário |"}, "x-browser-schema-id": "1318675378"}}, "/catalog/messages.getEmojiURL": {"post": {"operationId": "messages.getEmojiURL", "tags": ["Mensagens"], "summary": "Retorna um HTTP URL que pode ser usado para fazer login automaticamente na plataforma de tradução e sugerir novas palavras-chave emoji ». O URL será válido por 30 segundos após a geração.", "description": "Retorna um HTTP URL que pode ser usado para fazer login automaticamente na plataforma de tradução e sugerir novas [palavras-chave emoji »](https://core.telegram.org/api/custom-emoji.md#emoji-keywords). O URL será válido por 30 segundos após a geração.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação 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 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": "Documentação oficial do 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 do idioma para o qual as palavras-chave emoji serão sugeridas"}}, "additionalProperties": false, "required": ["lang_code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `lang_code` | `string` | Sim | Código do idioma para o qual as palavras-chave emoji serão sugeridas |"}, "x-browser-schema-id": "3585149990"}}, "/catalog/messages.getSearchCounters": {"post": {"operationId": "messages.getSearchCounters", "tags": ["Mensagens"], "summary": "Obtenha o número de resultados que seriam encontrados por uma chamada messages.search com os mesmos parâmetros", "description": "Obtenha o número de resultados que seriam encontrados por uma chamada [messages.search](https://core.telegram.org/method/messages.search.md) com os mesmos parâmetros\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens salvas](https://core.telegram.org/api/saved-messages.md)\n- [Tópicos do fórum](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 MTProto · `Vector<messages.SearchCounter>`.\n\n[Vetor](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": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde pesquisar"}, "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": "Pesquise na [caixa de diálogo de mensagem salva »](https://core.telegram.org/api/saved-messages.md) com este 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": "Se definido, considera apenas mensagens dentro do [tópico do fórum](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 TL: MessagesFilter."}, "x-tl-type": "Vector<MessagesFilter>", "description": "Filtros de pesquisa"}}, "additionalProperties": false, "required": ["peer", "filters"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde pesquisar |\n| `saved_peer_id` | `InputPeer` | Não | Pesquise na [caixa de diálogo de mensagem salva »](https://core.telegram.org/api/saved-messages.md) com este ID. |\n| `top_msg_id` | `int` | Não | Se definido, considera apenas mensagens dentro do [tópico do fórum](https://core.telegram.org/api/forum.md#forum-topics) especificado |\n| `filters` | `Vector<MessagesFilter>` | Sim | Filtros de pesquisa |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "465367808"}}, "/catalog/messages.requestUrlAuth": {"post": {"operationId": "messages.requestUrlAuth", "tags": ["Mensagens"], "summary": "Obtenha mais informações sobre uma solicitação de autorização de login do Seamless Telegram, para mais informações clique aqui »", "description": "Obtenha mais informações sobre uma solicitação de autorização de login do Seamless Telegram, para mais informações [clique aqui »](https://core.telegram.org/api/url-authorization.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Login perfeito no telegrama](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 MTProto · `UrlAuthResult`.\n\n[UrlAuthResult](https://core.telegram.org/type/UrlAuthResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "UrlAuthResult", "oneOf": [{"$ref": "#/components/schemas/urlAuthResultRequest"}, {"$ref": "#/components/schemas/urlAuthResultAccepted"}, {"$ref": "#/components/schemas/urlAuthResultDefault"}], "description": "Tipo TL: UrlAuthResult."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 500 · `OAUTH_REQUEST_INVALID` — A solicitação OAuth especificada é inválida.\n- 400 · `URL_EXPIRED` — A solicitação OAuth especificada expirou.\n- 400 · `URL_INVALID` — URL fornecido inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Pare onde a mensagem está localizada", "x-tl-flag": "flags.1?InputPeer"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "A mensagem"}, "button_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "O ID do botão com a solicitação de autorização"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "URL usado para [link URL autorização, clique aqui para mais informações »](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 [autorização OAuth de miniaplicativos »](https://core.telegram.org/api/url-authorization.md#oauth-authorization-for-mini-apps): a origem do webview que originou a solicitação OAuth, no formato `scheme://host` (ou `scheme://host:port` para portas não padrão)"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Não | Pare onde a mensagem está localizada |\n| `msg_id` | `int` | Não | A mensagem |\n| `button_id` | `int` | Não | O ID do botão com a solicitação de autorização |\n| `url` | `string` | Não | URL usado para [link URL autorização, clique aqui para mais informações »](https://core.telegram.org/api/url-authorization.md#link-url-authorization) |\n| `in_app_origin` | `string` | Não | Para [autorização OAuth de miniaplicativos »](https://core.telegram.org/api/url-authorization.md#oauth-authorization-for-mini-apps): a origem do webview que originou a solicitação OAuth, no formato `scheme://host` (ou `scheme://host:port` para portas não padrão) |"}, "x-telegram-rpc-errors": ["OAUTH_REQUEST_INVALID", "URL_EXPIRED", "URL_INVALID"], "x-browser-schema-id": "2303510940"}}, "/catalog/messages.acceptUrlAuth": {"post": {"operationId": "messages.acceptUrlAuth", "tags": ["Mensagens"], "summary": "Use isto para aceitar uma solicitação de autorização de login do Seamless Telegram, para mais informações clique aqui »", "description": "Use isto para aceitar uma solicitação de autorização de login do Seamless Telegram, para mais informações [clique aqui »](https://core.telegram.org/api/url-authorization.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Login perfeito no telegrama](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 MTProto · `UrlAuthResult`.\n\n[UrlAuthResult](https://core.telegram.org/type/UrlAuthResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "UrlAuthResult", "oneOf": [{"$ref": "#/components/schemas/urlAuthResultRequest"}, {"$ref": "#/components/schemas/urlAuthResultAccepted"}, {"$ref": "#/components/schemas/urlAuthResultDefault"}], "description": "Tipo TL: UrlAuthResult."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Defina este sinalizador para permitir que o bot envie mensagens para você (se solicitado)"}, "share_phone_number": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Defina este sinalizador para compartilhar o número de telefone do usuário com o bot (se solicitado via [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`request_phone_number` e consentido pelo usuário)"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "A localização da mensagem", "x-tl-flag": "flags.1?InputPeer"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "ID da mensagem com o botão de login"}, "button_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "ID do botão de login"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "URL usado para [link URL autorização, clique aqui para mais informações »](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": "Se [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`match_codes` foi definido, o emoji ou código selecionado pelo usuário na lista fornecida; deve sempre ser fornecido quando `match_codes` estiver definido, mesmo que `match_codes_first` tenha sido definido e o código já tenha sido validado via [messages.checkUrlAuthMatchCode](https://core.telegram.org/method/messages.checkUrlAuthMatchCode.md)"}, "tonconnect_session": {"type": "object", "x-tl-type": "InputTonConnectOauthSession", "oneOf": [{"$ref": "#/components/schemas/inputTonConnectOauthSession"}], "description": "Тип TL: InputTonConnectOauthSession.", "x-tl-flag": "flags.5?InputTonConnectOauthSession"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `write_allowed` | `true` | Não | Defina este sinalizador para permitir que o bot envie mensagens para você (se solicitado) |\n| `share_phone_number` | `true` | Não | Defina este sinalizador para compartilhar o número de telefone do usuário com o bot (se solicitado via [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`request_phone_number` e consentido pelo usuário) |\n| `peer` | `InputPeer` | Não | A localização da mensagem |\n| `msg_id` | `int` | Não | ID da mensagem com o botão de login |\n| `button_id` | `int` | Não | ID do botão de login |\n| `url` | `string` | Não | URL usado para [link URL autorização, clique aqui para mais informações »](https://core.telegram.org/api/url-authorization.md#link-url-authorization) |\n| `match_code` | `string` | Não | Se [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`match_codes` foi definido, o emoji ou código selecionado pelo usuário na lista fornecida; deve sempre ser fornecido quando `match_codes` estiver definido, mesmo que `match_codes_first` tenha sido definido e o código já tenha sido validado via [messages.checkUrlAuthMatchCode](https://core.telegram.org/method/messages.checkUrlAuthMatchCode.md) |\n| `tonconnect_session` | `InputTonConnectOauthSession` | Não | Тип TL: InputTonConnectOauthSession. |"}, "x-browser-schema-id": "417156754"}}, "/catalog/messages.hidePeerSettingsBar": {"post": {"operationId": "messages.hidePeerSettingsBar", "tags": ["Mensagens"], "summary": "Deve ser chamado após o usuário ocultar o relatório de spam/adicionar como barra de contato de um novo chat, evitando efetivamente que o usuário execute as ações especificadas na barra de ações ».", "description": "Deve ser chamado depois que o usuário oculta a [denunciar spam/adicionar como barra de contato](https://core.telegram.org/api/action-bar.md) de um novo bate-papo, evitando efetivamente que o usuário execute as ações especificadas na [barra de ação »](https://core.telegram.org/api/action-bar.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Barra de ação](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Par"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1336717624"}}, "/catalog/messages.getScheduledHistory": {"post": {"operationId": "messages.getScheduledHistory", "tags": ["Mensagens"], "summary": "Receba mensagens agendadas", "description": "Receba mensagens agendadas\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Par"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).  Para gerar o hash, preencha o array `ids` com `id`, `edit_date` (0 se não editado) e `date` (nesta ordem) das mensagens retornadas anteriormente (em ordem, i.e. `ids = [id1, (edit_date1 ?? 0), date1, id2, (edit_date2 ?? 0), date2, ...]`).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).  Para gerar o hash, preencha o array `ids` com `id`, `edit_date` (0 se não editado) e `date` (nesta ordem) das mensagens retornadas anteriormente (em ordem, 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": ["Mensagens"], "summary": "Receba mensagens agendadas", "description": "Receba mensagens agendadas\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Par"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de mensagens agendadas"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par |\n| `id` | `Vector<int>` | Sim | IDs de mensagens agendadas |"}, "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": ["Mensagens"], "summary": "Envie mensagens agendadas imediatamente", "description": "Envie mensagens agendadas imediatamente\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 500 · `RANDOM_ID_DUPLICATE` — Você forneceu um ID aleatório que já foi usado."}}, "externalDocs": {"description": "Documentação oficial do 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": "Par"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de mensagens agendadas"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par |\n| `id` | `Vector<int>` | Sim | IDs de mensagens agendadas |"}, "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": ["Mensagens"], "summary": "Excluir mensagens agendadas", "description": "Excluir mensagens agendadas\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 403 · `MESSAGE_DELETE_FORBIDDEN` — Você não pode excluir uma das mensagens que tentou excluir, provavelmente porque é uma mensagem de serviço.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Par"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de mensagens agendadas"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par |\n| `id` | `Vector<int>` | Sim | IDs de mensagens agendadas |"}, "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": ["Mensagens"], "summary": "Obtenha resultados de pesquisas não anônimas", "description": "Obtenha resultados de pesquisas não anônimas\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: messages.VotesList."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `BROADCAST_FORBIDDEN` — Os eleitores e as reações das pesquisas do canal não podem ser obtidos para evitar a desanonimização.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 403 · `POLL_VOTE_REQUIRED` — Vote na enquete antes de chamar este método."}}, "externalDocs": {"description": "Documentação oficial do 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": "Bate-papo para onde a enquete foi enviada"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "Obtenha apenas resultados para a enquete especificada `option`"}, "offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Deslocamento para resultados, retirado do campo `next_offset` de [messages.votesList](https://core.telegram.org/constructor/messages.votesList.md), inicialmente uma string vazia.  Nota: se não houver mais resultados disponíveis, a chamada do método retornará um `next_offset` vazio; portanto, evite fornecer o `next_offset` retornado em [messages.votesList](https://core.telegram.org/constructor/messages.votesList.md) se estiver vazio, para evitar um loop infinito."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de resultados a serem retornados"}}, "additionalProperties": false, "required": ["peer", "id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Bate-papo para onde a enquete foi enviada |\n| `id` | `int` | Sim | ID da mensagem |\n| `option` | `bytes` | Não | Obtenha apenas resultados para a enquete especificada `option` |\n| `offset` | `string` | Não | Deslocamento para resultados, retirado do campo `next_offset` de [messages.votesList](https://core.telegram.org/constructor/messages.votesList.md), inicialmente uma string vazia.  Nota: se não houver mais resultados disponíveis, a chamada do método retornará um `next_offset` vazio; portanto, evite fornecer o `next_offset` retornado em [messages.votesList](https://core.telegram.org/constructor/messages.votesList.md) se estiver vazio, para evitar um loop infinito. |\n| `limit` | `int` | Sim | Número de resultados a serem retornados |"}, "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": ["Mensagens"], "summary": "Aplicar alterações a vários conjuntos de adesivos", "description": "Aplicar alterações a vários conjuntos de adesivos", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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 os conjuntos de adesivos especificados"}, "archive": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Arquive os conjuntos de adesivos especificados"}, "unarchive": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Desarquive os conjuntos de adesivos 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 adesivos para agir"}}, "additionalProperties": false, "required": ["stickersets"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `uninstall` | `true` | Não | Desinstale os conjuntos de adesivos especificados |\n| `archive` | `true` | Não | Arquive os conjuntos de adesivos especificados |\n| `unarchive` | `true` | Não | Desarquive os conjuntos de adesivos especificados |\n| `stickersets` | `Vector<InputStickerSet>` | Sim | Conjuntos de adesivos para agir |"}, "x-browser-schema-id": "3037016042"}}, "/catalog/messages.getDialogFilters": {"post": {"operationId": "messages.getDialogFilters", "tags": ["Mensagens"], "summary": "Obtenha pastas", "description": "Obtenha [pastas](https://core.telegram.org/api/folders.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Pastas 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 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": "Digite TL: messages.DialogFilters."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/messages.getDialogFilters"}, "x-browser-schema-id": "4023684233"}}, "/catalog/messages.getSuggestedDialogFilters": {"post": {"operationId": "messages.getSuggestedDialogFilters", "tags": ["Mensagens"], "summary": "Obtenha pastas sugeridas", "description": "Obtenha [pastas sugeridas](https://core.telegram.org/api/folders.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Pastas 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 MTProto · `Vector<DialogFilterSuggested>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[DialogFilterSuggested](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 TL: DialogFilterSuggested."}, "x-tl-type": "Vector<DialogFilterSuggested>"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/messages.getSuggestedDialogFilters"}, "x-browser-schema-id": "2728186924"}}, "/catalog/messages.updateDialogFilter": {"post": {"operationId": "messages.updateDialogFilter", "tags": ["Mensagens"], "summary": "Atualizar pasta", "description": "Atualizar [pasta](https://core.telegram.org/api/folders.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Pastas 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHATLIST_EXCLUDE_INVALID` — Os `exclude_peers` especificados são inválidos.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `FILTER_ID_INVALID` — O ID do filtro especificado é inválido.\n- 400 · `FILTER_INCLUDE_EMPTY` — O vetor include_peers do filtro está vazio.\n- 400 · `FILTER_TITLE_EMPTY` — O campo de título do filtro está vazio.\n- 400 · `MESSAGE_TOO_LONG` — A mensagem fornecida é muito longa.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "[Pasta](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": "[Pasta](https://core.telegram.org/api/folders.md) informações", "x-tl-flag": "flags.0?DialogFilter"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `int` | Sim | [Pasta](https://core.telegram.org/api/folders.md)ID |\n| `filter` | `DialogFilter` | Não | [Pasta](https://core.telegram.org/api/folders.md) informações |"}, "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": ["Mensagens"], "summary": "Reordenar pastas", "description": "Reordenar [pastas](https://core.telegram.org/api/folders.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Pastas 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Novo pedido [pasta](https://core.telegram.org/api/folders.md)"}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `order` | `Vector<int>` | Sim | Novo pedido [pasta](https://core.telegram.org/api/folders.md) |"}, "x-browser-schema-id": "3311649252"}}, "/catalog/messages.getOldFeaturedStickers": {"post": {"operationId": "messages.getOldFeaturedStickers", "tags": ["Mensagens"], "summary": "Método para obter adesivos apresentados anteriormente", "description": "Método para obter adesivos apresentados anteriormente\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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 de TL: messages.FeaturedStickers."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Deslocamento"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["offset", "limit", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `offset` | `int` | Sim | Deslocamento |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2127598753"}}, "/catalog/messages.getReplies": {"post": {"operationId": "messages.getReplies", "tags": ["Mensagens"], "summary": "Receba mensagens em uma conversa de resposta", "description": "Receba mensagens em uma conversa de resposta\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `TOPIC_ID_INVALID` — O ID do tópico especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Par"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se um valor positivo foi transferido, o método retornará apenas mensagens com ID menor que max_id"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se um valor positivo foi transferido, o método retornará apenas mensagens com ID maior que min_id"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par |\n| `msg_id` | `int` | Sim | ID da mensagem |\n| `offset_id` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `offset_date` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `add_offset` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | Sim | Se um valor positivo foi transferido, o método retornará apenas mensagens com ID menor que max_id |\n| `min_id` | `int` | Sim | Se um valor positivo foi transferido, o método retornará apenas mensagens com ID maior que min_id |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](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": ["Mensagens"], "summary": "Obtenha uma mensagem de discussão do grupo de discussão associado de um canal para exibi-la no topo da seção de comentários, sem realmente ingressar no grupo", "description": "Obtenha [mensagem de discussão](https://core.telegram.org/api/threads.md) do [grupo de discussão associado](https://core.telegram.org/api/discussion.md) de um canal para mostrá-la no topo da seção de comentários, sem realmente entrar no grupo\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Tópicos de mensagens](https://core.telegram.org/api/threads.md)\n- [Grupos de discussão](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 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": "Digite TL: messages.DiscussionMessage."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `TOPIC_ID_INVALID` — O ID do tópico especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do canal](https://core.telegram.org/api/channel.md)"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | [ID do canal](https://core.telegram.org/api/channel.md) |\n| `msg_id` | `int` | Sim | ID da mensagem |"}, "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": ["Mensagens"], "summary": "Marcar um tópico como lido", "description": "Marcar um [tópico](https://core.telegram.org/api/threads.md) como lido\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tópicos de mensagens](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do grupo"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem que iniciou o tópico"}, "read_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID até onde as mensagens do tópico foram lidas"}}, "additionalProperties": false, "required": ["peer", "msg_id", "read_max_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | ID do grupo |\n| `msg_id` | `int` | Sim | ID da mensagem que iniciou o tópico |\n| `read_max_id` | `int` | Sim | ID até onde as mensagens do tópico foram lidas |"}, "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": ["Mensagens"], "summary": "Liberar todas as mensagens fixadas", "description": "[Desafixar](https://core.telegram.org/api/pin.md) todas as mensagens fixadas\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Tópicos do fórum](https://core.telegram.org/api/forum.md)\n- [Mensagens diretas para canais](https://core.telegram.org/api/monoforum.md)\n- [Mensagens fixadas](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 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": "Digite TL: messages.AffectedHistory."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Converse onde liberar"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "[Tópico do fórum](https://core.telegram.org/api/forum.md#forum-topics) onde liberar"}, "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": "Se definido, deve ser igual ao ID de um [tópico monoforum](https://core.telegram.org/api/monoforum.md) e irá liberar todas as mensagens fixadas no tópico monoforum passado.", "x-tl-flag": "flags.1?InputPeer"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Converse onde liberar |\n| `top_msg_id` | `int` | Não | [Tópico do fórum](https://core.telegram.org/api/forum.md#forum-topics) onde liberar |\n| `saved_peer_id` | `InputPeer` | Não | Se definido, deve ser igual ao ID de um [tópico monoforum](https://core.telegram.org/api/monoforum.md) e irá liberar todas as mensagens fixadas no tópico monoforum passado. |"}, "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": ["Mensagens"], "summary": "Excluir um bate-papo", "description": "Excluir um [bate-papo](https://core.telegram.org/api/channel.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do bate-papo", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["chat_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | Sim | ID do bate-papo |"}, "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": ["Mensagens"], "summary": "Exclua todo o histórico de chamadas telefônicas.", "description": "Exclua todo o histórico de chamadas 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 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": "Digite TL: messages.AffectedFoundMessages."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Se também deve ser removido o histórico de chamadas telefônicas dos participantes"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `revoke` | `true` | Não | Se também deve ser removido o histórico de chamadas telefônicas dos participantes |"}, "x-browser-schema-id": "4190888969"}}, "/catalog/messages.checkHistoryImport": {"post": {"operationId": "messages.checkHistoryImport", "tags": ["Mensagens"], "summary": "Obtém informações sobre um arquivo de exportação de chat, gerado por um aplicativo de chat estrangeiro, clique aqui para mais informações sobre chats importados ».", "description": "Obtém informações sobre um arquivo de exportação de chat, gerado por um aplicativo de chat estrangeiro, [clique aqui para mais informações sobre chats importados »](https://core.telegram.org/api/import.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens importadas](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 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": "Digite TL: messages.HistoryImportParsed."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `IMPORT_FORMAT_UNRECOGNIZED` — O arquivo de exportação de bate-papo especificado foi exportado de um aplicativo de bate-papo não compatível."}}, "externalDocs": {"description": "Documentação oficial do 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": "Início do arquivo de mensagens; até 100 linhas."}}, "additionalProperties": false, "required": ["import_head"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `import_head` | `string` | Sim | Início do arquivo de mensagens; até 100 linhas. |"}, "x-telegram-rpc-errors": ["IMPORT_FORMAT_UNRECOGNIZED"], "x-browser-schema-id": "1140726259"}}, "/catalog/messages.initHistoryImport": {"post": {"operationId": "messages.initHistoryImport", "tags": ["Mensagens"], "summary": "Importe o histórico de bate-papo de um aplicativo de bate-papo estrangeiro para um bate-papo específico do Telegram, clique aqui para obter mais informações sobre bate-papos importados ».", "description": "Importe o histórico de bate-papo de um aplicativo de bate-papo estrangeiro para um bate-papo específico do Telegram, [clique aqui para obter mais informações sobre bate-papos importados »](https://core.telegram.org/api/import.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens importadas](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 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": "Digite TL: messages.HistoryImport."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `IMPORT_FILE_INVALID` — O arquivo de exportação de bate-papo especificado é inválido.\n- 400 · `IMPORT_FORMAT_DATE_INVALID` — A data especificada no arquivo de importação é inválida.\n- 400 · `IMPORT_FORMAT_UNRECOGNIZED` — O arquivo de exportação de bate-papo especificado foi exportado de um aplicativo de bate-papo não compatível.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 406 · `PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN` — A importação deste chat já está em andamento, aguarde %d minutos antes de iniciar um novo.\n- 400 · `USER_NOT_MUTUAL_CONTACT` — O usuário fornecido não é um contato mútuo."}}, "externalDocs": {"description": "Documentação oficial do 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": "O chat do Telegram onde o [histórico deve ser importado](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": "Arquivo com mensagens para importar."}, "media_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de arquivos de mídia associados ao chat que serão carregados usando [messages.uploadImportedMedia](https://core.telegram.org/method/messages.uploadImportedMedia.md)."}}, "additionalProperties": false, "required": ["peer", "file", "media_count"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O chat do Telegram onde o [histórico deve ser importado](https://core.telegram.org/api/import.md). |\n| `file` | `InputFile` | Sim | Arquivo com mensagens para importar. |\n| `media_count` | `int` | Sim | Número de arquivos de mídia associados ao chat que serão carregados 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": ["Mensagens"], "summary": "Faça upload de um arquivo de mídia associado a um chat importado, clique aqui para mais informações ».", "description": "Carregue um arquivo de mídia associado a um [bate-papo importado, clique aqui para mais informações »](https://core.telegram.org/api/import.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens importadas](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 MTProto · `MessageMedia`.\n\n[MensagemMídia](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 TL: MessageMedia."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `IMPORT_ID_INVALID` — O ID de importação especificado é inválido.\n- 400 · `MEDIA_INVALID` — Mídia inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "O chat do Telegram onde a mídia será importada"}, "import_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de uma [sessão de importação de histórico](https://core.telegram.org/api/import.md), retornado por [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md)", "x-tl-type": "long"}, "file_name": {"type": "string", "x-tl-type": "string", "description": "Nome do arquivo"}, "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": "Metadados de mídia"}}, "additionalProperties": false, "required": ["peer", "import_id", "file_name", "media"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O chat do Telegram onde a mídia será importada |\n| `import_id` | `long` | Sim | Identificador de uma [sessão de importação de histórico](https://core.telegram.org/api/import.md), retornado por [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md) |\n| `file_name` | `string` | Sim | Nome do arquivo |\n| `media` | `InputMedia` | Sim | Metadados de mídia |"}, "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": ["Mensagens"], "summary": "Conclua o processo de importação do histórico, importando todas as mensagens para o chat.", "description": "Conclua o [processo de importação do histórico](https://core.telegram.org/api/import.md), importando todas as mensagens para o chat.\nPara ser chamado somente após inicializar a importação com [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md) e carregar todos os arquivos usando [messages.uploadImportedMedia](https://core.telegram.org/method/messages.uploadImportedMedia.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens importadas](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `IMPORT_ID_INVALID` — O ID de importação especificado é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O chat do Telegram onde as mensagens devem ser [importadas, clique aqui para mais informações »](https://core.telegram.org/api/import.md)"}, "import_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de uma sessão de importação de histórico, retornado por [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "import_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O chat do Telegram onde as mensagens devem ser [importadas, clique aqui para mais informações »](https://core.telegram.org/api/import.md) |\n| `import_id` | `long` | Sim | Identificador de uma sessão de importação de histórico, retornado 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": ["Mensagens"], "summary": "Obtenha informações sobre os convites de bate-papo de um bate-papo específico", "description": "Obtenha informações sobre os convites de bate-papo de um bate-papo específico\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "### Erros MTProto (RPC)\n\n- 400 · `ADMIN_ID_INVALID` — O ID de administrador especificado é inválido.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja buscar convites de bate-papo revogados"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Bate-papo"}, "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": "Se deseja buscar apenas convites de bate-papo deste administrador"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "offset_link": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "admin_id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `revoked` | `true` | Não | Se deseja buscar convites de bate-papo revogados |\n| `peer` | `InputPeer` | Sim | Bate-papo |\n| `admin_id` | `InputUser` | Sim | Se deseja buscar apenas convites de bate-papo deste administrador |\n| `offset_date` | `int` | Não | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `offset_link` | `string` | Não | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Mensagens"], "summary": "Obter informações sobre um convite de bate-papo", "description": "Obter informações sobre um convite de bate-papo\n\n**Quem pode chamar esse método** · Somente usuários do 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 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 de TL: messages.ExportedChatInvite."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `INVITE_HASH_EXPIRED` — O link de convite expirou.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Bate-papo"}, "link": {"type": "string", "x-tl-type": "string", "description": "Link de convite"}}, "additionalProperties": false, "required": ["peer", "link"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Bate-papo |\n| `link` | `string` | Sim | Link de convite |"}, "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": ["Mensagens"], "summary": "Editar um convite de chat exportado", "description": "Editar um convite de chat exportado\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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 de TL: messages.ExportedChatInvite."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_INVITE_PERMANENT` — Você não pode definir uma data de expiração para links de convite permanentes.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 403 · `EDIT_BOT_INVITE_FORBIDDEN` — Usuários normais não podem editar convites criados por bots.\n- 400 · `INVITE_HASH_EXPIRED` — O link de convite expirou.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USAGE_LIMIT_INVALID` — O limite de uso especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve revogar o convite de bate-papo"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Bate-papo"}, "link": {"type": "string", "x-tl-type": "string", "description": "Link de convite"}, "expire_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Nova data de validade"}, "usage_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Número máximo de usuários que podem ingressar usando este link"}, "request_needed": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool", "description": "Se a confirmação do administrador é necessária antes de admitir cada usuário no chat"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string", "description": "Descrição do link de convite, visível apenas para administradores"}}, "additionalProperties": false, "required": ["peer", "link"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `revoked` | `true` | Não | Se deve revogar o convite de bate-papo |\n| `peer` | `InputPeer` | Sim | Bate-papo |\n| `link` | `string` | Sim | Link de convite |\n| `expire_date` | `int` | Não | Nova data de validade |\n| `usage_limit` | `int` | Não | Número máximo de usuários que podem ingressar usando este link |\n| `request_needed` | `Bool` | Não | Se a confirmação do administrador é necessária antes de admitir cada usuário no chat |\n| `title` | `string` | Não | Descrição do link de convite, visível apenas 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": ["Mensagens"], "summary": "Exclua todos os convites de bate-papo revogados", "description": "Exclua todos os convites de bate-papo revogados\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `ADMIN_ID_INVALID` — O ID de administrador especificado é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Bate-papo"}, "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 do administrador que gerou originalmente os convites de chat revogados"}}, "additionalProperties": false, "required": ["peer", "admin_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Bate-papo |\n| `admin_id` | `InputUser` | Sim | ID do administrador que gerou originalmente os convites de chat revogados |"}, "x-telegram-rpc-errors": ["ADMIN_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1452833749"}}, "/catalog/messages.deleteExportedChatInvite": {"post": {"operationId": "messages.deleteExportedChatInvite", "tags": ["Mensagens"], "summary": "Excluir um convite de bate-papo", "description": "Excluir um convite de bate-papo\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `INVITE_HASH_EXPIRED` — O link de convite expirou.\n- 400 · `INVITE_REVOKED_MISSING` — O link de convite especificado já foi revogado ou é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Par"}, "link": {"type": "string", "x-tl-type": "string", "description": "Link de convite"}}, "additionalProperties": false, "required": ["peer", "link"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par |\n| `link` | `string` | Sim | Link de convite |"}, "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": ["Mensagens"], "summary": "Obtenha informações sobre convites de bate-papo gerados por administradores.", "description": "Obtenha informações sobre convites de bate-papo gerados por administradores.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Bate-papo"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Bate-papo |"}, "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": ["Mensagens"], "summary": "Obtenha informações sobre os usuários que ingressaram no chat usando um convite de chat específico", "description": "Obtenha informações sobre os usuários que ingressaram no chat usando um convite de chat específico\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links de convite](https://core.telegram.org/api/invites.md)\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Paginação no 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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `INVITE_HASH_EXPIRED` — O link de convite expirou.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `SEARCH_WITH_LINK_NOT_SUPPORTED` — Você não pode fornecer uma consulta de pesquisa e um link de convite ao mesmo tempo."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, retorna apenas informações sobre usuários com [solicitações de adesão» pendentes »](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": "Defina este sinalizador se o link for um [link de assinatura do Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions) e apenas membros com assinatura já expirada devem ser retornados."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Bate-papo"}, "link": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Link de convite"}, "q": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Procure um usuário na lista [pedidos de adesão »](https://core.telegram.org/api/invites.md#join-requests) pendentes: disponível apenas quando o sinalizador `requested` está definido, não pode ser usado junto com um `link` específico."}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](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 usuário para [paginação](https://core.telegram.org/api/offsets.md): se definido, `offset_date` também deve ser definido."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset_date", "offset_user", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `requested` | `true` | Não | Se definido, retorna apenas informações sobre usuários com [solicitações de adesão» pendentes »](https://core.telegram.org/api/invites.md#join-requests) |\n| `subscription_expired` | `true` | Não | Defina este sinalizador se o link for um [link de assinatura do Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions) e apenas membros com assinatura já expirada devem ser retornados. |\n| `peer` | `InputPeer` | Sim | Bate-papo |\n| `link` | `string` | Não | Link de convite |\n| `q` | `string` | Não | Procure um usuário na lista [pedidos de adesão »](https://core.telegram.org/api/invites.md#join-requests) pendentes: disponível apenas quando o sinalizador `requested` está definido, não pode ser usado junto com um `link` específico. |\n| `offset_date` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `offset_user` | `InputUser` | Sim | ID de usuário para [paginação](https://core.telegram.org/api/offsets.md): se definido, `offset_date` também deve ser definido. |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Mensagens"], "summary": "Defina o tempo de vida máximo de todas as mensagens no bate-papo especificado", "description": "Defina o tempo de vida máximo de todas as mensagens no bate-papo especificado\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `TTL_PERIOD_INVALID` — O período TTL especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O diálogo"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Exclua automaticamente todas as mensagens enviadas no chat após esses segundos"}}, "additionalProperties": false, "required": ["peer", "period"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O diálogo |\n| `period` | `int` | Sim | Exclua automaticamente todas as mensagens enviadas no chat após esses 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": ["Mensagens"], "summary": "Verifique se o histórico de chat exportado de outro aplicativo de chat pode ser importado para um chat específico do Telegram, clique aqui para mais informações ».", "description": "Verifique se o histórico de bate-papo exportado de outro aplicativo de bate-papo pode ser [importado para um bate-papo específico do Telegram, clique aqui para mais informações »](https://core.telegram.org/api/import.md).\n\nSe a verificação for bem-sucedida e nenhum erro RPC for retornado, um construtor [messages.CheckedHistoryImportPeer](https://core.telegram.org/type/messages.CheckedHistoryImportPeer.md) será retornado, com um texto de confirmação a ser mostrado ao usuário, antes de realmente inicializar a importação.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens importadas](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 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": "Digite TL: messages.CheckedHistoryImportPeer."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USER_NOT_MUTUAL_CONTACT` — O usuário fornecido não é um contato mútuo."}}, "externalDocs": {"description": "Documentação oficial do 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": "O chat onde queremos [importar histórico »](https://core.telegram.org/api/import.md)."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O chat onde queremos [importar histórico »](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": ["Mensagens"], "summary": "Altere o tema do chat de um determinado chat, veja aqui » para mais informações.", "description": "Altere o tema do bate-papo de um determinado bate-papo, veja [aqui »](https://core.telegram.org/api/themes.md#chat-themes) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Temas de telegrama](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `EMOJI_INVALID` — O emoji de tema especificado é válido.\n- 400 · `EMOJI_NOT_MODIFIED` — O tema não foi alterado.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Bate-papo privado onde mudar o tema"}, "theme": {"type": "object", "x-tl-type": "InputChatTheme", "oneOf": [{"$ref": "#/components/schemas/inputChatThemeEmpty"}, {"$ref": "#/components/schemas/inputChatTheme"}, {"$ref": "#/components/schemas/inputChatThemeUniqueGift"}], "description": "O tema a ser definido."}}, "additionalProperties": false, "required": ["peer", "theme"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Bate-papo privado onde mudar o tema |\n| `theme` | `InputChatTheme` | Sim | O tema a ser definido. |"}, "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": ["Mensagens"], "summary": "Obtenha quais usuários leram uma mensagem específica: disponível apenas para grupos e supergrupos com menos de `chat_read_mark_size_threshold` membros, as confirmações de leitura serão armazenadas por `chat_read_mark_expire_period` segundos após o envio da mensagem, consulte a configuração do cliente para mais informações ».", "description": "Obtenha quais usuários leram uma mensagem específica: disponível apenas para grupos e supergrupos com menos de [`chat_read_mark_size_threshold` membros](https://core.telegram.org/api/config.md#chat-read-mark-size-threshold), as confirmações de leitura serão armazenadas por [`chat_read_mark_expire_period` segundos após o envio da mensagem](https://core.telegram.org/api/config.md#chat-read-mark-expire-period), consulte [configuração do cliente para mais informações »](https://core.telegram.org/api/config.md#client-configuration).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configuração do 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 MTProto · `Vector<ReadParticipantDate>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[LerParticipanteData](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 TL: ReadParticipantDate."}, "x-tl-type": "Vector<ReadParticipantDate>"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_TOO_BIG` — Este método não está disponível para grupos com mais de `chat_read_mark_size_threshold` membros, [ver configuração do cliente »](https://core.telegram.org/api/config.md#client-configuration).\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `MSG_TOO_OLD` — [`chat_read_mark_expire_period` segundos](https://core.telegram.org/api/config.md#chat-read-mark-expire-period) se passaram desde que a mensagem foi enviada, as confirmações de leitura foram excluídas.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 da mensagem"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Diálogo |\n| `msg_id` | `int` | Sim | ID da mensagem |"}, "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": ["Mensagens"], "summary": "Retorna informações sobre as próximas mensagens do tipo especificado no chat divididas por dias.", "description": "Retorna informações sobre as próximas mensagens do tipo especificado no chat divididas por dias.\n\nRetorna os resultados em ordem cronológica inversa.\nPode retornar resultados parciais do último dia retornado.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens salvas](https://core.telegram.org/api/saved-messages.md)\n- [Paginação no 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 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": "### Erros MTProto (RPC)\n\n- 400 · `FILTER_NOT_SUPPORTED` — O filtro especificado não pode ser usado neste contexto.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde pesquisar"}, "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": "Pesquise na [caixa de diálogo de mensagem salva »](https://core.telegram.org/api/saved-messages.md) com este 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": "Filtro de mensagens, filtros [inputMessagesFilterEmpty](https://core.telegram.org/constructor/inputMessagesFilterEmpty.md), [inputMessagesFilterMyMentions](https://core.telegram.org/constructor/inputMessagesFilterMyMentions.md) não são suportados por este método."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "filter", "offset_id", "offset_date"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde pesquisar |\n| `saved_peer_id` | `InputPeer` | Não | Pesquise na [caixa de diálogo de mensagem salva »](https://core.telegram.org/api/saved-messages.md) com este ID. |\n| `filter` | `MessagesFilter` | Sim | Filtro de mensagens, filtros [inputMessagesFilterEmpty](https://core.telegram.org/constructor/inputMessagesFilterEmpty.md), [inputMessagesFilterMyMentions](https://core.telegram.org/constructor/inputMessagesFilterMyMentions.md) não são suportados por este método. |\n| `offset_id` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `offset_date` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](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": ["Mensagens"], "summary": "Retorna posições esparsas de mensagens do tipo especificado no chat a serem usadas para implementação de rolagem de mídia compartilhada.", "description": "Retorna posições esparsas de mensagens do tipo especificado no chat a serem usadas para implementação de rolagem de mídia compartilhada.\n\nRetorna os resultados em ordem cronológica inversa (i.e., em ordem decrescente de mensagem\\_id).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens salvas](https://core.telegram.org/api/saved-messages.md)\n- [Paginação no 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 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": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde pesquisar"}, "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": "Pesquise na [caixa de diálogo de mensagem salva »](https://core.telegram.org/api/saved-messages.md) com este 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": "Filtro de mensagens, filtros [inputMessagesFilterEmpty](https://core.telegram.org/constructor/inputMessagesFilterEmpty.md), [inputMessagesFilterMyMentions](https://core.telegram.org/constructor/inputMessagesFilterMyMentions.md) não são suportados por este método."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "filter", "offset_id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde pesquisar |\n| `saved_peer_id` | `InputPeer` | Não | Pesquise na [caixa de diálogo de mensagem salva »](https://core.telegram.org/api/saved-messages.md) com este ID. |\n| `filter` | `MessagesFilter` | Sim | Filtro de mensagens, filtros [inputMessagesFilterEmpty](https://core.telegram.org/constructor/inputMessagesFilterEmpty.md), [inputMessagesFilterMyMentions](https://core.telegram.org/constructor/inputMessagesFilterMyMentions.md) não são suportados por este método. |\n| `offset_id` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Mensagens"], "summary": "Ignore ou aprove uma solicitação de ingresso no chat relacionada a um chat ou canal específico.", "description": "Dispensar ou aprovar um bate-papo [pedido de participação](https://core.telegram.org/api/invites.md#join-requests) relacionado a um bate-papo ou canal específico.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Links de convite](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` — Você entrou em muitos canais/supergrupos.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `HIDE_REQUESTER_MISSING` — A solicitação de adesão estava faltando ou já foi processada.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USER_ALREADY_PARTICIPANT` — O usuário já está no grupo.\n- 403 · `USER_CHANNELS_TOO_MUCH` — Um dos usuários que você tentou adicionar já está em muitos canais/supergrupos.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Seja para dispensar ou aprovar o chat [solicitação de adesão »](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": "O chat ou 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": "O usuário cujo [pedido de adesão »](https://core.telegram.org/api/invites.md#join-requests) deve ser dispensado ou aprovado"}}, "additionalProperties": false, "required": ["peer", "user_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `approved` | `true` | Não | Seja para dispensar ou aprovar o chat [solicitação de adesão »](https://core.telegram.org/api/invites.md#join-requests) |\n| `peer` | `InputPeer` | Sim | O chat ou canal |\n| `user_id` | `InputUser` | Sim | O usuário cujo [pedido de adesão »](https://core.telegram.org/api/invites.md#join-requests) deve ser dispensado ou aprovado |"}, "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": ["Mensagens"], "summary": "Ignore ou aprove todas as solicitações de participação relacionadas a um chat ou canal específico.", "description": "Dispensar ou aprovar todos os [pedidos de participação](https://core.telegram.org/api/invites.md#join-requests) relacionados a um chat ou canal específico.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links de convite](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` — Você entrou em muitos canais/supergrupos.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `HIDE_REQUESTER_MISSING` — A solicitação de adesão estava faltando ou já foi processada.\n- 400 · `INVITE_HASH_EXPIRED` — O link de convite expirou.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USER_CHANNELS_TOO_MUCH` — Um dos usuários que você tentou adicionar já está em muitos canais/supergrupos."}}, "externalDocs": {"description": "Documentação oficial do 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": "Seja para dispensar ou aprovar todos os bate-papos [solicitações de participação »](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": "O chat ou canal"}, "link": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Apenas rejeite ou aprove [solicitações de adesão »](https://core.telegram.org/api/invites.md#join-requests) iniciadas usando este link de convite"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `approved` | `true` | Não | Seja para dispensar ou aprovar todos os bate-papos [solicitações de participação »](https://core.telegram.org/api/invites.md#join-requests) |\n| `peer` | `InputPeer` | Sim | O chat ou canal |\n| `link` | `string` | Não | Apenas rejeite ou aprove [solicitações de adesão »](https://core.telegram.org/api/invites.md#join-requests) iniciadas usando este link de convite |"}, "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": ["Mensagens"], "summary": "Ative ou desative a proteção de conteúdo em um canal, grupo ou chat privado.", "description": "Ative ou desative [proteção de conteúdo](https://core.telegram.org/api/content-protection.md) em um canal, grupo ou chat privado.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Proteção de conteúdo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `REQUEST_MSG_EXPIRED` — A solicitação especificada em request_msg_id já expirou."}}, "externalDocs": {"description": "Documentação oficial do 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": "O chat ou canal"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Ativar ou desativar a proteção de conteúdo"}, "request_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Usado apenas em chats privados para aceitar ou recusar uma solicitação para desativar a proteção de conteúdo, veja [aqui »](https://core.telegram.org/api/content-protection.md#for-users) para mais informações sobre o fluxo completo."}}, "additionalProperties": false, "required": ["peer", "enabled"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O chat ou canal |\n| `enabled` | `Bool` | Sim | Ativar ou desativar a proteção de conteúdo |\n| `request_msg_id` | `int` | Não | Usado apenas em chats privados para aceitar ou recusar uma solicitação para desativar a proteção de conteúdo, veja [aqui »](https://core.telegram.org/api/content-protection.md#for-users) para mais informações sobre o fluxo 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": ["Mensagens"], "summary": "Alterar o peer padrão que deve ser usado ao enviar mensagens, reações, votações para um grupo específico", "description": "Alterar o peer padrão que deve ser usado ao enviar mensagens, reações, votações para um grupo específico\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `SEND_AS_PEER_INVALID` — Você não pode enviar mensagens como o par especificado."}}, "externalDocs": {"description": "Documentação oficial do 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": "O peer padrão que deve ser usado ao enviar mensagens para o grupo"}}, "additionalProperties": false, "required": ["peer", "send_as"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Grupo |\n| `send_as` | `InputPeer` | Sim | O peer padrão que deve ser usado ao enviar mensagens para o 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": ["Mensagens"], "summary": "Reaja à mensagem.", "description": "Reaja à mensagem.\n\nA partir da camada 159, a reação será enviada do peer especificado usando [messages.saveDefaultSendAs](https://core.telegram.org/method/messages.saveDefaultSendAs.md).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Reações de mensagens](https://core.telegram.org/api/reactions.md)\n- [Configuração do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `CUSTOM_REACTIONS_TOO_MANY` — Muitas reações personalizadas foram especificadas.\n- 400 · `DOCUMENT_INVALID` — O documento especificado é inválido.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `MESSAGE_NOT_MODIFIED` — Os dados da mensagem fornecida são idênticos aos dados da mensagem anterior, a mensagem não foi modificada.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação.\n- 400 · `REACTIONS_TOO_MANY` — A mensagem já tem exatamente `reactions_uniq_max` emojis de reação, você não pode reagir com um novo emoji, veja [a documentação para mais informações »](https://core.telegram.org/api/config.md#client-configuration).\n- 400 · `REACTION_EMPTY` — Reação vazia fornecida.\n- 400 · `REACTION_INVALID` — A reação especificada é inválida.\n- 403 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se uma reação maior e mais longa deve ser mostrada"}, "add_to_recent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Se esta reação deve ser adicionada à [lista de reações recentes »](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": "Par"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem para reagir"}, "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: Reação."}, "x-tl-type": "Vector<Reaction>", "x-tl-flag": "flags.0?Vector<Reaction>", "description": "Uma lista de reações (não aceita construtores [reactionPaid](https://core.telegram.org/constructor/reactionPaid.md), use [messages.sendPaidReaction](https://core.telegram.org/method/messages.sendPaidReaction.md) para enviar reações pagas)."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `big` | `true` | Não | Se uma reação maior e mais longa deve ser mostrada |\n| `add_to_recent` | `true` | Não | Se esta reação deve ser adicionada à [lista de reações recentes »](https://core.telegram.org/api/reactions.md#recent-reactions). |\n| `peer` | `InputPeer` | Sim | Par |\n| `msg_id` | `int` | Sim | ID da mensagem para reagir |\n| `reaction` | `Vector<Reaction>` | Não | Uma lista de reações (não aceita construtores [reactionPaid](https://core.telegram.org/constructor/reactionPaid.md), use [messages.sendPaidReaction](https://core.telegram.org/method/messages.sendPaidReaction.md) para enviar reações pagas). |"}, "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": ["Mensagens"], "summary": "Obtenha reações às mensagens »", "description": "Obtenha [reações de mensagens »](https://core.telegram.org/api/reactions.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Reações de mensagens](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Par"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de mensagens"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par |\n| `id` | `Vector<int>` | Sim | IDs de mensagens |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID"], "x-browser-schema-id": "2344259814"}}, "/catalog/messages.getMessageReactionsList": {"post": {"operationId": "messages.getMessageReactionsList", "tags": ["Mensagens"], "summary": "Obtenha a lista de reações das mensagens, juntamente com o remetente de cada reação.", "description": "Obtenha a lista [reação de mensagens](https://core.telegram.org/api/reactions.md), junto com o remetente de cada reação.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Reações de mensagens](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 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": "Digite TL: messages.MessageReactionsList."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `BROADCAST_FORBIDDEN` — Os eleitores e as reações das pesquisas do canal não podem ser obtidos para evitar a desanonimização.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Par"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem"}, "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": "Obtenha apenas reações deste tipo", "x-tl-flag": "flags.0?Reaction"}, "offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Offset para paginação (retirado do campo `next_offset` do retornado [messages.MessageReactionsList](https://core.telegram.org/type/messages.MessageReactionsList.md)); vazio na primeira solicitação."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par |\n| `id` | `int` | Sim | ID da mensagem |\n| `reaction` | `Reaction` | Não | Obtenha apenas reações deste tipo |\n| `offset` | `string` | Não | Offset para paginação (retirado do campo `next_offset` do retornado [messages.MessageReactionsList](https://core.telegram.org/type/messages.MessageReactionsList.md)); vazio na primeira solicitação. |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Mensagens"], "summary": "Alterar o conjunto de reações às mensagens » que podem ser usadas em um determinado grupo, supergrupo ou canal", "description": "Altere o conjunto de [reações à mensagem »](https://core.telegram.org/api/reactions.md) que podem ser usadas em um determinado grupo, supergrupo ou canal\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Reações de mensagens](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `DOCUMENT_INVALID` — O documento especificado é inválido.\n- 400 · `LIMIT_PER_POST_INVALID` — O valor reactions_limit especificado é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `REACTION_INVALID` — A reação especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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 onde aplicar alterações"}, "available_reactions": {"type": "object", "x-tl-type": "ChatReactions", "oneOf": [{"$ref": "#/components/schemas/chatReactionsNone"}, {"$ref": "#/components/schemas/chatReactionsAll"}, {"$ref": "#/components/schemas/chatReactionsSome"}], "description": "Emojis de reação permitidos"}, "reactions_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Este sinalizador pode ser usado para impor um limite personalizado de reações únicas (i.e. uma versão personalizável de [appConfig.reactions_uniq_max](https://core.telegram.org/api/config.md#reactions-uniq-max)); este campo e as demais informações definidas pelo método estarão disponíveis para os usuários em [channelFull](https://core.telegram.org/constructor/channelFull.md) e [chatFull](https://core.telegram.org/constructor/chatFull.md).  Se este sinalizador não for definido, o `reactions_limit` configurado anteriormente não será alterado."}, "paid_enabled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.1?Bool", "description": "Se este sinalizador for definido e um [Bool](https://core.telegram.org/type/Bool.md) for passado, o método ativará ou desativará [reações de mensagens pagas »](https://core.telegram.org/api/reactions.md#paid-reactions). Se este sinalizador não for definido, a configuração armazenada anteriormente não será alterada."}}, "additionalProperties": false, "required": ["peer", "available_reactions"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Grupo onde aplicar alterações |\n| `available_reactions` | `ChatReactions` | Sim | Emojis de reação permitidos |\n| `reactions_limit` | `int` | Não | Este sinalizador pode ser usado para impor um limite personalizado de reações únicas (i.e. uma versão personalizável de [appConfig.reactions_uniq_max](https://core.telegram.org/api/config.md#reactions-uniq-max)); este campo e as demais informações definidas pelo método estarão disponíveis para os usuários em [channelFull](https://core.telegram.org/constructor/channelFull.md) e [chatFull](https://core.telegram.org/constructor/chatFull.md).  Se este sinalizador não for definido, o `reactions_limit` configurado anteriormente não será alterado. |\n| `paid_enabled` | `Bool` | Não | Se este sinalizador for definido e um [Bool](https://core.telegram.org/type/Bool.md) for passado, o método ativará ou desativará [reações de mensagens pagas »](https://core.telegram.org/api/reactions.md#paid-reactions). Se este sinalizador não for definido, a configuração armazenada anteriormente não será alterada. |"}, "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": ["Mensagens"], "summary": "Obtenha reações de mensagens disponíveis »", "description": "Obtenha [reações de mensagens disponíveis »](https://core.telegram.org/api/reactions.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Reações de mensagens](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 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": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "417243308"}}, "/catalog/messages.setDefaultReaction": {"post": {"operationId": "messages.setDefaultReaction", "tags": ["Mensagens"], "summary": "Altere a reação de emoji padrão para usar no menu de reação rápida: o valor é sincronizado entre dispositivos e pode ser obtido usando os campos help.getConfig, `reactions_default`.", "description": "Altere a reação de emoji padrão para usar no menu de reação rápida: o valor é sincronizado entre dispositivos e pode ser obtido usando [help.getConfig, `reactions_default` campo](https://core.telegram.org/method/help.getConfig.md).\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `REACTION_INVALID` — A reação especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Nova reação emoji"}}, "additionalProperties": false, "required": ["reaction"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `reaction` | `Reaction` | Sim | Nova reação emoji |"}, "x-telegram-rpc-errors": ["REACTION_INVALID"], "x-browser-schema-id": "1330094102"}}, "/catalog/messages.translateText": {"post": {"operationId": "messages.translateText", "tags": ["Mensagens"], "summary": "Traduzir um determinado texto.", "description": "Traduzir um determinado texto.\n\n[Entidades de texto estilizadas](https://core.telegram.org/api/entities.md) serão preservadas apenas para usuários do [Telegram Premium](https://core.telegram.org/api/premium.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Recursos de IA](https://core.telegram.org/api/ai.md)\n- [Texto estilizado com entidades de mensagem](https://core.telegram.org/api/entities.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Tratamento de erros](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 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": "Digite TL: messages.TranslatedText."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `INPUT_TEXT_EMPTY` — O texto especificado está vazio.\n- 400 · `INPUT_TEXT_TOO_LONG` — O texto especificado é muito longo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `TO_LANG_INVALID` — O idioma de destino especificado é inválido.\n- 500 · `TRANSLATE_REQ_FAILED` — Falha na tradução, tente novamente mais tarde.\n- 400 · `TRANSLATE_REQ_QUOTA_EXCEEDED` — A tradução está atualmente indisponível devido a uma falta temporária de recursos no servidor.\n- 406 · `TRANSLATIONS_DISABLED` — As traduções não estão disponíveis, uma descrição detalhada e localizada do erro será emitida por meio de um [updateServiceNotification conforme especificado aqui »](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 500 · `TRANSLATION_TIMEOUT` — Ocorreu um tempo limite durante a tradução do texto especificado."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se o texto for uma mensagem de bate-papo, o ID do 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": "Uma lista de IDs de mensagens para traduzir"}, "text": {"type": "array", "items": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Tipo TL: TextWithEntities."}, "x-tl-type": "Vector<TextWithEntities>", "x-tl-flag": "flags.1?Vector<TextWithEntities>", "description": "Uma lista de mensagens estilizadas para traduzir"}, "to_lang": {"type": "string", "x-tl-type": "string", "description": "Código de idioma de duas letras ISO 639-1 do idioma para o qual a mensagem é traduzida"}, "tone": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Se definido, reformula a tradução usando o [tom do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) especificado (passar o identificador do tom)"}}, "additionalProperties": false, "required": ["to_lang"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Não | Se o texto for uma mensagem de bate-papo, o ID do par |\n| `id` | `Vector<int>` | Não | Uma lista de IDs de mensagens para traduzir |\n| `text` | `Vector<TextWithEntities>` | Não | Uma lista de mensagens estilizadas para traduzir |\n| `to_lang` | `string` | Sim | Código de idioma de duas letras ISO 639-1 do idioma para o qual a mensagem é traduzida |\n| `tone` | `string` | Não | Se definido, reformula a tradução usando o [tom do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) especificado (passar o identificador do tom) |"}, "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": ["Mensagens"], "summary": "Obtenha reações não lidas às mensagens que você enviou", "description": "Obtenha reações não lidas às mensagens que você enviou\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tópicos do fórum](https://core.telegram.org/api/forum.md)\n- [Mensagens diretas para canais](https://core.telegram.org/api/monoforum.md)\n- [Paginação no 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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Par"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Se definido, considera apenas reações a mensagens dentro do [tópico do fórum](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": "Se definido, deve ser igual ao ID de um [tópico monoforum](https://core.telegram.org/api/monoforum.md): afetará esse tópico no monoforum passado em `peer`.", "x-tl-flag": "flags.1?InputPeer"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Retornar apenas reações para mensagens até esse ID de mensagem"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Retornar apenas reações para mensagens começando com este ID de mensagem"}}, "additionalProperties": false, "required": ["peer", "offset_id", "add_offset", "limit", "max_id", "min_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par |\n| `top_msg_id` | `int` | Não | Se definido, considera apenas reações a mensagens dentro do [tópico do fórum](https://core.telegram.org/api/forum.md#forum-topics) especificado |\n| `saved_peer_id` | `InputPeer` | Não | Se definido, deve ser igual ao ID de um [tópico monoforum](https://core.telegram.org/api/monoforum.md): afetará esse tópico no monoforum passado em `peer`. |\n| `offset_id` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `add_offset` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | Sim | Retornar apenas reações para mensagens até esse ID de mensagem |\n| `min_id` | `int` | Sim | Retornar apenas reações para mensagens começando com este ID de mensagem |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3179253932"}}, "/catalog/messages.readReactions": {"post": {"operationId": "messages.readReactions", "tags": ["Mensagens"], "summary": "Marcar as reações da mensagem » como lida", "description": "Marcar [reações da mensagem »](https://core.telegram.org/api/reactions.md) como lida\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tópicos do fórum](https://core.telegram.org/api/forum.md)\n- [Mensagens diretas para canais](https://core.telegram.org/api/monoforum.md)\n- [Reações de mensagens](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 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": "Digite TL: messages.AffectedHistory."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Par"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Marcar como somente leitura as reações às mensagens dentro do [tópico do fórum](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": "Se definido, deve ser igual ao ID de um [tópico monoforum](https://core.telegram.org/api/monoforum.md): afetará esse tópico no monoforum passado em `peer`.", "x-tl-flag": "flags.1?InputPeer"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par |\n| `top_msg_id` | `int` | Não | Marcar como somente leitura as reações às mensagens dentro do [tópico do fórum](https://core.telegram.org/api/forum.md#forum-topics) especificado |\n| `saved_peer_id` | `InputPeer` | Não | Se definido, deve ser igual ao ID de um [tópico monoforum](https://core.telegram.org/api/monoforum.md): afetará esse tópico no monoforum passado em `peer`. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2663665555"}}, "/catalog/messages.searchSentMedia": {"post": {"operationId": "messages.searchSentMedia", "tags": ["Mensagens"], "summary": "Visualize e pesquise mídia enviada recentemente.", "description": "Visualize e pesquise mídia enviada recentemente.\nEste método não oferece suporte à paginação.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `FILTER_NOT_SUPPORTED` — O filtro especificado não pode ser usado neste contexto."}}, "externalDocs": {"description": "Documentação oficial do 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 pesquisa 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 mensagens"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados (máximo 100)."}}, "additionalProperties": false, "required": ["q", "filter", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `q` | `string` | Sim | Consulta de pesquisa opcional |\n| `filter` | `MessagesFilter` | Sim | Filtro de mensagens |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados (máximo 100). |"}, "x-telegram-rpc-errors": ["FILTER_NOT_SUPPORTED"], "x-browser-schema-id": "276705696"}}, "/catalog/messages.getAttachMenuBots": {"post": {"operationId": "messages.getAttachMenuBots", "tags": ["Mensagens"], "summary": "Retorna miniaplicativos de bot do menu de anexos instalados »", "description": "Retorna o menu de anexos instalados [bot mini apps »](https://core.telegram.org/api/bots/attach.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Menu de anexos do bot e entradas do menu 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 MTProto · `AttachMenuBots`.\n\n[AnexarMenuBots](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: AttachMenuBots."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "385663691"}}, "/catalog/messages.getAttachMenuBot": {"post": {"operationId": "messages.getAttachMenuBot", "tags": ["Mensagens"], "summary": "Retorna a entrada do menu de anexos para um miniaplicativo bot que pode ser iniciado a partir do menu de anexos »", "description": "Retorna a entrada do menu de anexos para um [bot mini app que pode ser iniciado a partir do menu de anexos »](https://core.telegram.org/api/bots/attach.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Menu de anexos do bot e entradas do menu 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 MTProto · `AttachMenuBotsBot`.\n\n[AnexarMenuBotsBot](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: AttachMenuBotsBot."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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 do bot"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | ID do bot |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "1998676370"}}, "/catalog/messages.toggleBotInAttachMenu": {"post": {"operationId": "messages.toggleBotInAttachMenu", "tags": ["Mensagens"], "summary": "Ativar ou desativar o menu de anexos do web bot »", "description": "Ativar ou desativar [menu de anexo do web bot »](https://core.telegram.org/api/bots/attach.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Menu de anexos do bot e entradas do menu 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se o usuário autoriza o bot a escrever mensagens para ele, se solicitado por [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 do bot"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Alternar"}}, "additionalProperties": false, "required": ["bot", "enabled"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `write_allowed` | `true` | Não | Se o usuário autoriza o bot a escrever mensagens para ele, se solicitado por [attachMenuBot](https://core.telegram.org/constructor/attachMenuBot.md).`request_write_access` |\n| `bot` | `InputUser` | Sim | ID do bot |\n| `enabled` | `Bool` | Sim | Alternar |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "1777704297"}}, "/catalog/messages.requestWebView": {"post": {"operationId": "messages.requestWebView", "tags": ["Mensagens"], "summary": "Abra um miniaplicativo bot, enviando informações do usuário após a confirmação do usuário.", "description": "Abra um [bot mini app](https://core.telegram.org/bots/webapps.md), enviando informações do usuário após a confirmação do usuário.\n\nApós chamar este método, até que o usuário feche o webview, [messages.prolongWebView](https://core.telegram.org/method/messages.prolongWebView.md) deve ser chamado a cada 60 segundos.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Botão de menu do bot](https://core.telegram.org/api/bots/menu.md)\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [Miniaplicativos no 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 MTProto · `WebViewResult`.\n\n[ResultadoWebView](https://core.telegram.org/type/WebViewResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "Tipo TL: WebViewResult."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `BOT_WEBVIEW_DISABLED` — Um webview não pode ser aberto nas condições especificadas: emitido por exemplo se `from_bot_menu` ou `url` estão definidos e `peer` não é o chat com o bot.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 403 · `PRIVACY_PREMIUM_REQUIRED` — Você precisa de uma [assinatura Telegram Premium](https://core.telegram.org/api/premium.md) para enviar uma mensagem para este usuário.\n- 400 · `SEND_AS_PEER_INVALID` — Você não pode enviar mensagens como o par especificado.\n- 400 · `THEME_PARAMS_INVALID` — O campo `theme_params` especificado é inválido.\n- 400 · `URL_INVALID` — URL fornecido inválido.\n- 400 · `YOU_BLOCKED_USER` — Você bloqueou este usuário."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se o webview foi aberto clicando no [botão de menu »](https://core.telegram.org/api/bots/menu.md) do bot."}, "silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Se a mensagem embutida que será enviada pelo bot em nome do usuário assim que a interação do aplicativo da web for [terminada](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) deve ser enviada silenciosamente (sem notificações para os destinatários)."}, "compact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Se definido, solicita a abertura do miniaplicativo no modo compacto (em oposição ao modo normal ou de tela cheia). Deve ser definido se o parâmetro `mode` do [link direto do menu de anexos](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links) for igual a `compact`."}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "Se definido, solicita a abertura do miniaplicativo no modo de tela cheia (em oposição ao modo normal ou compacto). Deve ser definido se o parâmetro `mode` do [link direto do menu de anexos](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links) for 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": "Caixa de diálogo onde o aplicativo web está sendo aberto e para onde a mensagem resultante será enviada (veja os [documentos para mais informações »](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 que possui o [aplicativo web](https://core.telegram.org/api/bots/webapps.md)"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "[Aplicativo da 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": "Se o aplicativo da web foi aberto no menu de anexos usando um [link direto do menu de anexos](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links), `start_param` deve conter o `data` do parâmetro `startattach`."}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "[Parâmetros do 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": "Nome abreviado do aplicativo; 0-64 letras, dígitos e sublinhados em 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": "Se definido, indica que a mensagem embutida que será enviada pelo bot em nome do usuário assim que a interação do aplicativo da web for [terminada](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) deve ser enviada em resposta à mensagem ou história especificada.", "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 o aplicativo Web como o par especificado, enviando a mensagem resultante como o par especificado.", "x-tl-flag": "flags.13?InputPeer"}}, "additionalProperties": false, "required": ["peer", "bot", "platform"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `from_bot_menu` | `true` | Não | Se o webview foi aberto clicando no [botão de menu »](https://core.telegram.org/api/bots/menu.md) do bot. |\n| `silent` | `true` | Não | Se a mensagem embutida que será enviada pelo bot em nome do usuário assim que a interação do aplicativo da web for [terminada](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) deve ser enviada silenciosamente (sem notificações para os destinatários). |\n| `compact` | `true` | Não | Se definido, solicita a abertura do miniaplicativo no modo compacto (em oposição ao modo normal ou de tela cheia). Deve ser definido se o parâmetro `mode` do [link direto do menu de anexos](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links) for igual a `compact`. |\n| `fullscreen` | `true` | Não | Se definido, solicita a abertura do miniaplicativo no modo de tela cheia (em oposição ao modo normal ou compacto). Deve ser definido se o parâmetro `mode` do [link direto do menu de anexos](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links) for igual a `fullscreen`. |\n| `peer` | `InputPeer` | Sim | Caixa de diálogo onde o aplicativo web está sendo aberto e para onde a mensagem resultante será enviada (veja os [documentos para mais informações »](https://core.telegram.org/api/bots/webapps.md)). |\n| `bot` | `InputUser` | Sim | Bot que possui o [aplicativo web](https://core.telegram.org/api/bots/webapps.md) |\n| `url` | `string` | Não | [Aplicativo da Web URL](https://core.telegram.org/api/bots/webapps.md) |\n| `start_param` | `string` | Não | Se o aplicativo da web foi aberto no menu de anexos usando um [link direto do menu de anexos](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links), `start_param` deve conter o `data` do parâmetro `startattach`. |\n| `theme_params` | `DataJSON` | Não | [Parâmetros do tema »](https://core.telegram.org/api/bots/webapps.md#theme-parameters) |\n| `platform` | `string` | Sim | Nome abreviado do aplicativo; 0-64 letras, dígitos e sublinhados em inglês |\n| `reply_to` | `InputReplyTo` | Não | Se definido, indica que a mensagem embutida que será enviada pelo bot em nome do usuário assim que a interação do aplicativo da web for [terminada](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) deve ser enviada em resposta à mensagem ou história especificada. |\n| `send_as` | `InputPeer` | Não | Abra o aplicativo Web como o par especificado, enviando a mensagem resultante como o 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": ["Mensagens"], "summary": "Indique ao servidor (do lado do usuário) que o usuário ainda está usando um aplicativo web.", "description": "Indique ao servidor (do lado do usuário) que o usuário ainda está usando um aplicativo web.\n\nSe o método retornar um erro `QUERY_ID_INVALID`, o webview deverá ser fechado.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Miniaplicativos no 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se a mensagem embutida que será enviada pelo bot em nome do usuário assim que a interação do aplicativo da web for [terminada](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) deve ser enviada silenciosamente (sem notificações para os destinatários)."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Caixa de diálogo onde o aplicativo da web foi aberto."}, "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 que possui o [aplicativo web](https://core.telegram.org/api/bots/webapps.md)"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de interação do aplicativo Web obtido 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": "Se definido, indica que a mensagem embutida que será enviada pelo bot em nome do usuário assim que a interação do aplicativo da web for [terminada](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) deve ser enviada em resposta à mensagem ou história especificada.", "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 o aplicativo da web como o par especificado", "x-tl-flag": "flags.13?InputPeer"}}, "additionalProperties": false, "required": ["peer", "bot", "query_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `silent` | `true` | Não | Se a mensagem embutida que será enviada pelo bot em nome do usuário assim que a interação do aplicativo da web for [terminada](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) deve ser enviada silenciosamente (sem notificações para os destinatários). |\n| `peer` | `InputPeer` | Sim | Caixa de diálogo onde o aplicativo da web foi aberto. |\n| `bot` | `InputUser` | Sim | Bot que possui o [aplicativo web](https://core.telegram.org/api/bots/webapps.md) |\n| `query_id` | `long` | Sim | ID de interação do aplicativo Web obtido de [messages.requestWebView](https://core.telegram.org/method/messages.requestWebView.md) |\n| `reply_to` | `InputReplyTo` | Não | Se definido, indica que a mensagem embutida que será enviada pelo bot em nome do usuário assim que a interação do aplicativo da web for [terminada](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) deve ser enviada em resposta à mensagem ou história especificada. |\n| `send_as` | `InputPeer` | Não | Abra o aplicativo da web como o par especificado |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "2966952579"}}, "/catalog/messages.requestSimpleWebView": {"post": {"operationId": "messages.requestSimpleWebView", "tags": ["Mensagens"], "summary": "Abra um miniaplicativo bot.", "description": "Abra um [bot mini app](https://core.telegram.org/api/bots/webapps.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Menu de anexos do bot e entradas do menu lateral](https://core.telegram.org/api/bots/attach.md)\n- [Miniaplicativos no 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 MTProto · `WebViewResult`.\n\n[ResultadoWebView](https://core.telegram.org/type/WebViewResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "Tipo TL: WebViewResult."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `URL_INVALID` — URL fornecido inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se o webapp foi aberto clicando no botão `switch_webview` mostrado no topo da lista de resultados embutidos retornada 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": "Defina este sinalizador se abrir o Mini App a partir da [entrada do menu 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": "Obsoleto."}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "Solicita para abrir o aplicativo no modo de tela cheia."}, "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 que possui o miniaplicativo"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Aplicativo da Web URL, se abrir a partir de um botão do teclado ou resultado embutido"}, "start_param": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string", "description": "Obsoleto."}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "[Parâmetros do 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": "Nome abreviado do aplicativo; 0-64 letras, dígitos e sublinhados em inglês"}}, "additionalProperties": false, "required": ["bot", "platform"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `from_switch_webview` | `true` | Não | Se o webapp foi aberto clicando no botão `switch_webview` mostrado no topo da lista de resultados embutidos retornada por [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md). |\n| `from_side_menu` | `true` | Não | Defina este sinalizador se abrir o Mini App a partir da [entrada do menu lateral »](https://core.telegram.org/api/bots/attach.md) instalada. |\n| `compact` | `true` | Não | Obsoleto. |\n| `fullscreen` | `true` | Não | Solicita para abrir o aplicativo no modo de tela cheia. |\n| `bot` | `InputUser` | Sim | Bot que possui o miniaplicativo |\n| `url` | `string` | Não | Aplicativo da Web URL, se abrir a partir de um botão do teclado ou resultado embutido |\n| `start_param` | `string` | Não | Obsoleto. |\n| `theme_params` | `DataJSON` | Não | [Parâmetros do tema »](https://core.telegram.org/api/bots/webapps.md#theme-parameters) |\n| `platform` | `string` | Sim | Nome abreviado do aplicativo; 0-64 letras, dígitos e sublinhados em inglês |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "URL_INVALID"], "x-browser-schema-id": "1094336115"}}, "/catalog/messages.sendWebViewResultMessage": {"post": {"operationId": "messages.sendWebViewResultMessage", "tags": ["Mensagens"], "summary": "Encerre a interação do webview iniciada com messages.requestWebView, enviando a mensagem especificada para o chat em nome do usuário.", "description": "Encerre a interação do webview iniciada com [messages.requestWebView](https://core.telegram.org/method/messages.requestWebView.md), enviando a mensagem especificada para o chat em nome do usuário.\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 MTProto · `WebViewMessageSent`.\n\n[WebViewMessageSent](https://core.telegram.org/type/WebViewMessageSent.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewMessageSent", "oneOf": [{"$ref": "#/components/schemas/webViewMessageSent"}], "description": "Tipo TL: WebViewMessageSent."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `QUERY_ID_INVALID` — O ID da consulta é inválido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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 interação do Webview obtido 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": "Mensagem para enviar"}}, "additionalProperties": false, "required": ["bot_query_id", "result"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot_query_id` | `string` | Sim | ID de interação do Webview obtido de [messages.requestWebView](https://core.telegram.org/method/messages.requestWebView.md) |\n| `result` | `InputBotInlineResult` | Sim | Mensagem 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": ["Mensagens"], "summary": "Usado pelo usuário para retransmitir dados de um miniaplicativo de bot de teclado de resposta aberto para o bot que o possui.", "description": "Usado pelo usuário para retransmitir dados de um [mini aplicativo de bot de teclado de resposta](https://core.telegram.org/api/bots/webapps.md) aberto para o bot que o possui.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Eventos da Web](https://core.telegram.org/api/web-events.md)\n- [Miniaplicativos no 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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 que possui o aplicativo da web"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID exclusivo da mensagem do cliente para evitar o envio duplicado do mesmo evento. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID.", "x-tl-type": "long"}, "button_text": {"type": "string", "x-tl-type": "string", "description": "Texto do [keyboardButtonSimpleWebView](https://core.telegram.org/constructor/keyboardButtonSimpleWebView.md) que foi pressionado para abrir o aplicativo web."}, "data": {"type": "string", "x-tl-type": "string", "description": "Dados a serem retransmitidos para o bot, obtidos de um [`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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | Bot que possui o aplicativo da web |\n| `random_id` | `long` | Sim | ID exclusivo da mensagem do cliente para evitar o envio duplicado do mesmo evento. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID. |\n| `button_text` | `string` | Sim | Texto do [keyboardButtonSimpleWebView](https://core.telegram.org/constructor/keyboardButtonSimpleWebView.md) que foi pressionado para abrir o aplicativo web. |\n| `data` | `string` | Sim | Dados a serem retransmitidos para o bot, obtidos de um [`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": ["Mensagens"], "summary": "Transcrever mensagem de voz", "description": "[Transcrever mensagem de voz](https://core.telegram.org/api/transcribe.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Transcrição de mensagem 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 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": "Digite TL: messages.TranscribedAudio."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `MSG_VOICE_MISSING` — A mensagem especificada não é uma mensagem de voz.\n- 400 · `MSG_VOICE_TOO_LONG` — A mensagem de voz especificada é muito longa para ser transcrita.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação.\n- 400 · `TRANSCRIPTION_FAILED` — Falha na transcrição do áudio."}}, "externalDocs": {"description": "Documentação oficial do 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 do peer para onde a mensagem de voz foi enviada"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem de voz"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | ID do peer para onde a mensagem de voz foi enviada |\n| `msg_id` | `int` | Sim | ID da mensagem 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": ["Mensagens"], "summary": "Avaliar mensagem de voz transcrita", "description": "Avaliar [mensagem de voz transcrita](https://core.telegram.org/api/transcribe.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Transcrição de mensagem 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Pare onde a mensagem de voz foi enviada"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem"}, "transcription_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID da transcrição", "x-tl-type": "long"}, "good": {"type": "boolean", "x-tl-type": "Bool", "description": "Se a transcrição estava correta"}}, "additionalProperties": false, "required": ["peer", "msg_id", "transcription_id", "good"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Pare onde a mensagem de voz foi enviada |\n| `msg_id` | `int` | Sim | ID da mensagem |\n| `transcription_id` | `long` | Sim | ID da transcrição |\n| `good` | `Bool` | Sim | Se a transcrição estava correta |"}, "x-browser-schema-id": "2132608815"}}, "/catalog/messages.getCustomEmojiDocuments": {"post": {"operationId": "messages.getCustomEmojiDocuments", "tags": ["Mensagens"], "summary": "Obtenha adesivos emoji personalizados ».", "description": "Busque [adesivos emoji personalizados »](https://core.telegram.org/api/custom-emoji.md).\n\nRetorna uma lista de [documentos](https://core.telegram.org/constructor/document.md) com o emoji personalizado animado no formato TGS e um atributo [documentAttributeCustomEmoji](https://core.telegram.org/constructor/documentAttributeCustomEmoji.md) com o emoji original e informações sobre o conjunto de adesivos de emoji ao qual esse emoji personalizado pertence.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação 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 MTProto · `Vector<Document>`.\n\n[Vetor](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": "Documentação oficial do 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "[Emoji personalizado](https://core.telegram.org/api/custom-emoji.md) IDs de um [messageEntityCustomEmoji](https://core.telegram.org/constructor/messageEntityCustomEmoji.md)."}}, "additionalProperties": false, "required": ["document_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `document_id` | `Vector<long>` | Sim | [Emoji personalizado](https://core.telegram.org/api/custom-emoji.md) IDs de um [messageEntityCustomEmoji](https://core.telegram.org/constructor/messageEntityCustomEmoji.md). |"}, "x-browser-schema-id": "3651866452"}}, "/catalog/messages.getEmojiStickers": {"post": {"operationId": "messages.getEmojiStickers", "tags": ["Mensagens"], "summary": "Obtém a lista de conjuntos de adesivos emoji personalizados atualmente instalados.", "description": "Obtém a lista de [conjuntos de adesivos de emoji personalizados](https://core.telegram.org/api/custom-emoji.md) atualmente instalados.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "4227637647"}}, "/catalog/messages.getFeaturedEmojiStickers": {"post": {"operationId": "messages.getFeaturedEmojiStickers", "tags": ["Mensagens"], "summary": "Obtém conjuntos de adesivos emoji personalizados em destaque.", "description": "Obtém conjuntos de adesivos emoji personalizados em destaque.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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 de TL: messages.FeaturedStickers."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "248473398"}}, "/catalog/messages.reportReaction": {"post": {"operationId": "messages.reportReaction", "tags": ["Mensagens"], "summary": "Denunciar uma reação à mensagem", "description": "Denunciar uma [reação à mensagem](https://core.telegram.org/api/reactions.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Reações de mensagens](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Pare onde a mensagem foi enviada"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem"}, "reaction_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer que enviou a reação"}}, "additionalProperties": false, "required": ["peer", "id", "reaction_peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Pare onde a mensagem foi enviada |\n| `id` | `int` | Sim | ID da mensagem |\n| `reaction_peer` | `InputPeer` | Sim | Peer que enviou a reação |"}, "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": ["Mensagens"], "summary": "Recebi reações de mensagens populares", "description": "Obteve [reações de mensagens populares](https://core.telegram.org/api/reactions.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Reações de mensagens](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 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": "Documentação oficial do 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 serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["limit", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3145803194"}}, "/catalog/messages.getRecentReactions": {"post": {"operationId": "messages.getRecentReactions", "tags": ["Mensagens"], "summary": "Obtenha reações de mensagens usadas recentemente", "description": "Use recentemente [reações de mensagens](https://core.telegram.org/api/reactions.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Reações de mensagens](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 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": "Documentação oficial do 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 serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["limit", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "960896434"}}, "/catalog/messages.clearRecentReactions": {"post": {"operationId": "messages.clearRecentReactions", "tags": ["Mensagens"], "summary": "Limpar reações de mensagens usadas recentemente", "description": "Limpar [reações de mensagens](https://core.telegram.org/api/reactions.md) usadas recentemente\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Reações de mensagens](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/messages.clearRecentReactions"}, "x-browser-schema-id": "2650730420"}}, "/catalog/messages.getExtendedMedia": {"post": {"operationId": "messages.getExtendedMedia", "tags": ["Mensagens"], "summary": "Busque informações atualizadas sobre mídia paga, veja aqui » o fluxo completo.", "description": "Obtenha informações atualizadas sobre [mídia paga, veja aqui »](https://core.telegram.org/api/paid-media.md) para o fluxo completo.\n\nEste método retornará uma matriz de atualizações [updateMessageExtendedMedia](https://core.telegram.org/constructor/updateMessageExtendedMedia.md), apenas para mensagens contendo mídia paga **já comprada**.\nNenhuma informação será devolvida para mensagens contendo mídias pagas ainda não adquiridas.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mídia paga](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Faça peering com mensagens visíveis de mídia paga."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de mensagens atualmente visíveis contendo mídia paga."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Faça peering com mensagens visíveis de mídia paga. |\n| `id` | `Vector<int>` | Sim | IDs de mensagens atualmente visíveis contendo mídia paga. |"}, "x-browser-schema-id": "2230847508"}}, "/catalog/messages.setDefaultHistoryTTL": {"post": {"operationId": "messages.setDefaultHistoryTTL", "tags": ["Mensagens"], "summary": "Altera o valor padrão da configuração Time-To-Live, aplicada a todos os novos chats.", "description": "Altera o valor padrão da configuração Time-To-Live, aplicada a todos os novos chats.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `TTL_PERIOD_INVALID` — O período TTL especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O novo Time-To-Live padrão de todas as mensagens enviadas em novos chats, em segundos."}}, "additionalProperties": false, "required": ["period"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `period` | `int` | Sim | O novo Time-To-Live padrão de todas as mensagens enviadas em novos chats, em segundos. |"}, "x-telegram-rpc-errors": ["TTL_PERIOD_INVALID"], "x-browser-schema-id": "2662667333"}}, "/catalog/messages.getDefaultHistoryTTL": {"post": {"operationId": "messages.getDefaultHistoryTTL", "tags": ["Mensagens"], "summary": "Obtém o valor padrão da configuração Time-To-Live, aplicado a todos os novos chats.", "description": "Obtém o valor padrão da configuração Time-To-Live, aplicado a todos os novos chats.", "x-tl-method": "messages.getDefaultHistoryTTL", "x-tl-id": "1703637384", "x-tl-result": "DefaultHistoryTTL", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Resultado MTProto · `DefaultHistoryTTL`.\n\n[Histórico padrãoTTL](https://core.telegram.org/type/DefaultHistoryTTL.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "DefaultHistoryTTL", "oneOf": [{"$ref": "#/components/schemas/defaultHistoryTTL"}], "description": "Tipo TL: DefaultHistoryTTL."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/messages.getDefaultHistoryTTL"}, "x-browser-schema-id": "1703637384"}}, "/catalog/messages.sendBotRequestedPeer": {"post": {"operationId": "messages.sendBotRequestedPeer", "tags": ["Mensagens"], "summary": "Envie um ou mais pares escolhidos, conforme solicitado por um botão keyboardButtonRequestPeer.", "description": "Envie um ou mais pares escolhidos, conforme solicitado por um botão [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Botões de bot](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot que enviou o botão [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 da mensagem que continha o teclado de resposta com o botão [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md)."}, "webapp_req_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Se o botão foi preparado para um [Mini App »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps), o ID de solicitação do Mini App retornado por [bots.requestWebViewButton](https://core.telegram.org/method/bots.requestWebViewButton.md)."}, "button_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O campo `button_id` do construtor [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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Os pares escolhidos."}}, "additionalProperties": false, "required": ["peer", "button_id", "requested_peers"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O bot que enviou o botão [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md). |\n| `msg_id` | `int` | Não | ID da mensagem que continha o teclado de resposta com o botão [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md). |\n| `webapp_req_id` | `string` | Não | Se o botão foi preparado para um [Mini App »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps), o ID de solicitação do Mini App retornado por [bots.requestWebViewButton](https://core.telegram.org/method/bots.requestWebViewButton.md). |\n| `button_id` | `int` | Sim | O campo `button_id` do construtor [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md). |\n| `requested_peers` | `Vector<InputPeer>` | Sim | Os pares escolhidos. |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1818030759"}}, "/catalog/messages.getEmojiGroups": {"post": {"operationId": "messages.getEmojiGroups", "tags": ["Mensagens"], "summary": "Representa uma lista de categorias de emojis.", "description": "Representa uma lista de [categorias de emoji](https://core.telegram.org/api/emoji-categories.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Categorias 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 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": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1955122779"}}, "/catalog/messages.getEmojiStatusGroups": {"post": {"operationId": "messages.getEmojiStatusGroups", "tags": ["Mensagens"], "summary": "Representa uma lista de categorias de emojis, a serem usadas ao selecionar emojis personalizados para definir como status de emoji personalizado.", "description": "Representa uma lista de [categorias de emoji](https://core.telegram.org/api/emoji-categories.md), para serem usadas ao selecionar emojis personalizados para definir como [status de emoji personalizado](https://core.telegram.org/api.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Categorias 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 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": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "785209037"}}, "/catalog/messages.getEmojiProfilePhotoGroups": {"post": {"operationId": "messages.getEmojiProfilePhotoGroups", "tags": ["Mensagens"], "summary": "Representa uma lista de categorias de emojis, para serem usadas ao selecionar emojis personalizados para definir como imagem de perfil.", "description": "Representa uma lista de [categorias de emoji](https://core.telegram.org/api/emoji-categories.md), para serem usadas ao selecionar emojis personalizados para definir como [foto de perfil](https://core.telegram.org/api/files.md#sticker-profile-pictures).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Categorias de emojis](https://core.telegram.org/api/emoji-categories.md)\n- [Fazendo upload e download de arquivos](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 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": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "564480243"}}, "/catalog/messages.searchCustomEmoji": {"post": {"operationId": "messages.searchCustomEmoji", "tags": ["Mensagens"], "summary": "Procure emojis personalizados associados a um emoji UTF8", "description": "Procure por [emojis personalizados](https://core.telegram.org/api/custom-emoji.md) associados a um emoji UTF8\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 MTProto · `EmojiList`.\n\n[Lista de Emojis](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: EmojiList."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `EMOTICON_EMPTY` — O emoji está vazio."}}, "externalDocs": {"description": "Documentação oficial do 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": "O emoji"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["emoticon", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `emoticon` | `string` | Sim | O emoji |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](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": ["Mensagens"], "summary": "Mostrar ou ocultar o pop-up de tradução de bate-papo em tempo real para um determinado bate-papo", "description": "Mostrar ou ocultar o [pop-up de tradução de bate-papo em tempo real](https://core.telegram.org/api/translation.md) para um determinado bate-papo\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tradução de mensagens](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja desativar ou ativar o pop-up de tradução de bate-papo em tempo 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": "O par"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `disabled` | `true` | Não | Se deseja desativar ou ativar o pop-up de tradução de bate-papo em tempo real |\n| `peer` | `InputPeer` | Sim | O par |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3833378169"}}, "/catalog/messages.getBotApp": {"post": {"operationId": "messages.getBotApp", "tags": ["Mensagens"], "summary": "Obtenha informações sobre um Mini App de link direto", "description": "Obtenha informações sobre um [link direto Mini App](https://core.telegram.org/api/bots/webapps.md#direct-link-mini-apps)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Miniaplicativos no 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 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": "### Erros MTProto (RPC)\n\n- 400 · `BOT_APP_BOT_INVALID` — O bot_id passado no construtor inputBotAppShortName é inválido.\n- 400 · `BOT_APP_INVALID` — O aplicativo bot especificado é inválido.\n- 400 · `BOT_APP_SHORTNAME_INVALID` — O nome abreviado do aplicativo bot especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Informações do aplicativo bot obtidas de um [link direto do Direct Mini App »](https://core.telegram.org/api/links.md#direct-mini-app-links)."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["app", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `app` | `InputBotApp` | Sim | Informações do aplicativo bot obtidas de um [link direto do Direct Mini App »](https://core.telegram.org/api/links.md#direct-mini-app-links). |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](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": ["Mensagens"], "summary": "Abra um miniaplicativo bot a partir de um link direto direto do miniaplicativo, enviando informações do usuário após a confirmação do usuário.", "description": "Abra um [bot mini app](https://core.telegram.org/bots/webapps.md) a partir de um [link direto direto do Mini App](https://core.telegram.org/api/links.md#direct-mini-app-links), enviando informações do usuário após a confirmação do usuário.\n\nApós chamar este método, até que o usuário feche o webview, [messages.prolongWebView](https://core.telegram.org/method/messages.prolongWebView.md) deve ser chamado a cada 60 segundos.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [Miniaplicativos no 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 MTProto · `WebViewResult`.\n\n[ResultadoWebView](https://core.telegram.org/type/WebViewResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "Tipo TL: WebViewResult."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_APP_BOT_INVALID` — O bot_id passado no construtor inputBotAppShortName é inválido.\n- 400 · `BOT_APP_INVALID` — O aplicativo bot especificado é inválido.\n- 400 · `BOT_APP_SHORTNAME_INVALID` — O nome abreviado do aplicativo bot especificado é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `THEME_PARAMS_INVALID` — O campo `theme_params` especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Defina este sinalizador se o bot estiver solicitando permissão para enviar mensagens ao usuário conforme especificado nos documentos do [link direto direto do Mini App](https://core.telegram.org/api/links.md#direct-mini-app-links) e o usuário concordar."}, "compact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Se definido, solicita a abertura do miniaplicativo no modo compacto (em oposição ao modo normal ou de tela cheia). Deve ser definido se o parâmetro `mode` do [link direto direto do Mini App](https://core.telegram.org/api/links.md#direct-mini-app-links) for igual a `compact`."}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "Se definido, solicita a abertura do miniaplicativo no modo de tela cheia (em oposição ao modo compacto ou normal). Deve ser definido se o parâmetro `mode` do [link direto direto do Mini App](https://core.telegram.org/api/links.md#direct-mini-app-links) for 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": "Caso o cliente tenha clicado no link de um chat do Telegram, passe as informações dos pares do chat; caso contrário, passe as informações dos pares do bot."}, "app": {"type": "object", "x-tl-type": "InputBotApp", "oneOf": [{"$ref": "#/components/schemas/inputBotAppID"}, {"$ref": "#/components/schemas/inputBotAppShortName"}], "description": "O aplicativo obtido invocando [messages.getBotApp](https://core.telegram.org/method/messages.getBotApp.md) conforme especificado nos documentos do [link direto direto do Mini App](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": "Se o parâmetro de string de consulta `startapp` estiver presente no [link direto direto do Mini App](https://core.telegram.org/api/links.md#direct-mini-app-links), passe-o para `start_param`."}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "[Parâmetros do 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": "Nome abreviado do aplicativo; 0-64 letras, dígitos e sublinhados em inglês"}}, "additionalProperties": false, "required": ["peer", "app", "platform"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `write_allowed` | `true` | Não | Defina este sinalizador se o bot estiver solicitando permissão para enviar mensagens ao usuário conforme especificado nos documentos do [link direto direto do Mini App](https://core.telegram.org/api/links.md#direct-mini-app-links) e o usuário concordar. |\n| `compact` | `true` | Não | Se definido, solicita a abertura do miniaplicativo no modo compacto (em oposição ao modo normal ou de tela cheia). Deve ser definido se o parâmetro `mode` do [link direto direto do Mini App](https://core.telegram.org/api/links.md#direct-mini-app-links) for igual a `compact`. |\n| `fullscreen` | `true` | Não | Se definido, solicita a abertura do miniaplicativo no modo de tela cheia (em oposição ao modo compacto ou normal). Deve ser definido se o parâmetro `mode` do [link direto direto do Mini App](https://core.telegram.org/api/links.md#direct-mini-app-links) for igual a `fullscreen`. |\n| `peer` | `InputPeer` | Sim | Caso o cliente tenha clicado no link de um chat do Telegram, passe as informações dos pares do chat; caso contrário, passe as informações dos pares do bot. |\n| `app` | `InputBotApp` | Sim | O aplicativo obtido invocando [messages.getBotApp](https://core.telegram.org/method/messages.getBotApp.md) conforme especificado nos documentos do [link direto direto do Mini App](https://core.telegram.org/api/links.md#direct-mini-app-links). |\n| `start_param` | `string` | Não | Se o parâmetro de string de consulta `startapp` estiver presente no [link direto direto do Mini App](https://core.telegram.org/api/links.md#direct-mini-app-links), passe-o para `start_param`. |\n| `theme_params` | `DataJSON` | Não | [Parâmetros do tema »](https://core.telegram.org/api/bots/webapps.md#theme-parameters) |\n| `platform` | `string` | Sim | Nome abreviado do aplicativo; 0-64 letras, dígitos e sublinhados em 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": ["Mensagens"], "summary": "Defina um papel de parede personalizado » em um bate-papo privado específico com outro usuário.", "description": "Defina um [papel de parede »](https://core.telegram.org/api/wallpapers.md) personalizado em um bate-papo privado específico com outro usuário.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Papéis de parede de bate-papo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `WALLPAPER_INVALID` — O papel de parede especificado é inválido.\n- 400 · `WALLPAPER_NOT_FOUND` — O papel de parede especificado não foi encontrado."}}, "externalDocs": {"description": "Documentação oficial do 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": "Somente para usuários [Premium](https://core.telegram.org/api/premium.md), define o papel de parede especificado para ambos os usuários do chat, sem exigir confirmação do outro usuário."}, "revert": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Se não gostarmos do novo papel de parede que o outro usuário do chat escolheu para nós usando a bandeira `for_both`, podemos redefinir nosso papel de parede anterior do nosso lado usando esta bandeira."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "O chat privado onde o papel de parede será definido"}, "wallpaper": {"type": "object", "x-tl-type": "InputWallPaper", "oneOf": [{"$ref": "#/components/schemas/inputWallPaper"}, {"$ref": "#/components/schemas/inputWallPaperSlug"}, {"$ref": "#/components/schemas/inputWallPaperNoFile"}], "description": "O [papel de parede »](https://core.telegram.org/api/wallpapers.md), obtido conforme descrito na [documentação do papel de parede »](https://core.telegram.org/api/wallpapers.md#uploading-wallpapers); **não** deve ser fornecido ao instalar um papel de parede obtido de uma mensagem de serviço [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md) (`id` deve ser fornecido, em vez disso).", "x-tl-flag": "flags.0?InputWallPaper"}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "oneOf": [{"$ref": "#/components/schemas/wallPaperSettings"}], "description": "Configurações do papel de parede, obtidas conforme descrito na [documentação do papel de parede »](https://core.telegram.org/api/wallpapers.md#uploading-wallpapers) ou em [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": "Se o papel de parede foi obtido de uma mensagem de serviço [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md), deve conter o ID dessa mensagem."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `for_both` | `true` | Não | Somente para usuários [Premium](https://core.telegram.org/api/premium.md), define o papel de parede especificado para ambos os usuários do chat, sem exigir confirmação do outro usuário. |\n| `revert` | `true` | Não | Se não gostarmos do novo papel de parede que o outro usuário do chat escolheu para nós usando a bandeira `for_both`, podemos redefinir nosso papel de parede anterior do nosso lado usando esta bandeira. |\n| `peer` | `InputPeer` | Sim | O chat privado onde o papel de parede será definido |\n| `wallpaper` | `InputWallPaper` | Não | O [papel de parede »](https://core.telegram.org/api/wallpapers.md), obtido conforme descrito na [documentação do papel de parede »](https://core.telegram.org/api/wallpapers.md#uploading-wallpapers); **não** deve ser fornecido ao instalar um papel de parede obtido de uma mensagem de serviço [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md) (`id` deve ser fornecido, em vez disso). |\n| `settings` | `WallPaperSettings` | Não | Configurações do papel de parede, obtidas conforme descrito na [documentação do papel de parede »](https://core.telegram.org/api/wallpapers.md#uploading-wallpapers) ou em [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md).`wallpaper`.`settings`. |\n| `id` | `int` | Não | Se o papel de parede foi obtido de uma mensagem de serviço [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md), deve conter o ID dessa mensagem. |"}, "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": ["Mensagens"], "summary": "Pesquise conjuntos de adesivos emoji personalizados »", "description": "Procure por [conjuntos de adesivos emoji personalizados »](https://core.telegram.org/api/custom-emoji.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Digite TL: messages.FoundStickerSets."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 adesivos em destaque dos resultados"}, "q": {"type": "string", "x-tl-type": "string", "description": "Cadeia de consulta"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["q", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `exclude_featured` | `true` | Não | Excluir conjuntos de adesivos em destaque dos resultados |\n| `q` | `string` | Sim | Cadeia de consulta |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2461288780"}}, "/catalog/messages.getSavedDialogs": {"post": {"operationId": "messages.getSavedDialogs", "tags": ["Mensagens"], "summary": "Retorna a lista de diálogos salva atualmente » ou lista de tópicos do monoforum ».", "description": "Retorna a [lista de diálogos salvos »](https://core.telegram.org/api/saved-messages.md) ou [lista de tópicos do monoforum »](https://core.telegram.org/api/monoforum.md) atual.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Mensagens salvas](https://core.telegram.org/api/saved-messages.md)\n- [Mensagens diretas para canais](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 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": "Documentação oficial do 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 caixas de diálogo fixadas"}, "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": "Se definido, busca a lista de tópicos do monoforum passado, caso contrário, busca a lista de diálogos salva.", "x-tl-flag": "flags.1?InputPeer"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) (`top_message` ID usado para paginação)"}, "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": "[Deslocamento de peer para paginação](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de elementos da lista a serem retornados"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `exclude_pinned` | `true` | Não | Excluir caixas de diálogo fixadas |\n| `parent_peer` | `InputPeer` | Não | Se definido, busca a lista de tópicos do monoforum passado, caso contrário, busca a lista de diálogos salva. |\n| `offset_date` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `offset_id` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) (`top_message` ID usado para paginação) |\n| `offset_peer` | `InputPeer` | Sim | [Deslocamento de peer para paginação](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número de elementos da lista a serem retornados |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation) |"}, "x-browser-schema-id": "512883865"}}, "/catalog/messages.getSavedHistory": {"post": {"operationId": "messages.getSavedHistory", "tags": ["Mensagens"], "summary": "Buscar mensagens salvas »encaminhadas de um ponto específico ou buscar mensagens de um tópico monofórum».", "description": "Busque [mensagens salvas »](https://core.telegram.org/api/saved-messages.md) encaminhadas de um peer específico ou busque mensagens de um [tópico monoforum »](https://core.telegram.org/api/monoforum.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Mensagens salvas](https://core.telegram.org/api/saved-messages.md)\n- [Mensagens diretas para canais](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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `PARENT_PEER_INVALID` — O `parent_peer` especificado é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, busca mensagens do monoforum especificado, caso contrário, busca mensagens salvas.", "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 alvo (ou tópico)"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Retorna apenas mensagens a partir do ID de mensagem especificado"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Retorna apenas mensagens enviadas antes da data especificada"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de elementos da lista a serem ignorados; valores negativos também são aceitos."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de resultados a serem retornados"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se um valor positivo foi transferido, o método retornará apenas mensagens com IDs menores que **max_id**"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se um valor positivo foi transferido, o método retornará apenas mensagens com IDs maiores que **min_id**"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash do resultado](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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | Não | Se definido, busca mensagens do monoforum especificado, caso contrário, busca mensagens salvas. |\n| `peer` | `InputPeer` | Sim | Par alvo (ou tópico) |\n| `offset_id` | `int` | Sim | Retorna apenas mensagens a partir do ID de mensagem especificado |\n| `offset_date` | `int` | Sim | Retorna apenas mensagens enviadas antes da data especificada |\n| `add_offset` | `int` | Sim | Número de elementos da lista a serem ignorados; valores negativos também são aceitos. |\n| `limit` | `int` | Sim | Número de resultados a serem retornados |\n| `max_id` | `int` | Sim | Se um valor positivo foi transferido, o método retornará apenas mensagens com IDs menores que **max_id** |\n| `min_id` | `int` | Sim | Se um valor positivo foi transferido, o método retornará apenas mensagens com IDs maiores que **min_id** |\n| `hash` | `long` | Sim | [Hash do resultado](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": ["Mensagens"], "summary": "Exclui mensagens de um tópico monofórum » ou exclui mensagens encaminhadas de um ponto específico para mensagens salvas ».", "description": "Exclui mensagens de um [tópico monoforum »](https://core.telegram.org/api/monoforum.md) ou exclui mensagens encaminhadas de um ponto específico para [mensagens salvas »](https://core.telegram.org/api/saved-messages.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens diretas para canais](https://core.telegram.org/api/monoforum.md)\n- [Mensagens salvas](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 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": "Digite TL: messages.AffectedHistory."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, afeta as mensagens do [tópico monoforum »](https://core.telegram.org/api/monoforum.md) passado, caso contrário, afeta [mensagens salvas »](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, cujas mensagens serão excluídas de [mensagens salvas »](https://core.telegram.org/api/saved-messages.md), ou do ID do tópico."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID máximo da mensagem a ser excluída"}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "Exclua todas as mensagens mais recentes que este carimbo de data/hora UNIX"}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int", "description": "Exclua todas as mensagens anteriores a este carimbo de data/hora UNIX"}}, "additionalProperties": false, "required": ["peer", "max_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | Não | Se definido, afeta as mensagens do [tópico monoforum »](https://core.telegram.org/api/monoforum.md) passado, caso contrário, afeta [mensagens salvas »](https://core.telegram.org/api/saved-messages.md). |\n| `peer` | `InputPeer` | Sim | Peer, cujas mensagens serão excluídas de [mensagens salvas »](https://core.telegram.org/api/saved-messages.md), ou do ID do tópico. |\n| `max_id` | `int` | Sim | ID máximo da mensagem a ser excluída |\n| `min_date` | `int` | Não | Exclua todas as mensagens mais recentes que este carimbo de data/hora UNIX |\n| `max_date` | `int` | Não | Exclua todas as mensagens anteriores a este carimbo de data/hora UNIX |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1304758367"}}, "/catalog/messages.getPinnedSavedDialogs": {"post": {"operationId": "messages.getPinnedSavedDialogs", "tags": ["Mensagens"], "summary": "Obtenha caixas de diálogo salvas fixadas, veja aqui » para mais informações.", "description": "Fixe [diálogos salvos, veja aqui »](https://core.telegram.org/api/saved-messages.md) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens salvas](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 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": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/messages.getPinnedSavedDialogs"}, "x-browser-schema-id": "3594360032"}}, "/catalog/messages.toggleSavedDialogPin": {"post": {"operationId": "messages.toggleSavedDialogPin", "tags": ["Mensagens"], "summary": "Fixe ou desafixe uma caixa de diálogo de mensagem salva ».", "description": "Fixe ou desafixe uma [caixa de diálogo de mensagem salva »](https://core.telegram.org/api/saved-messages.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens salvas](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja fixar ou desafixar a caixa de diálogo"}, "peer": {"type": "object", "x-tl-type": "InputDialogPeer", "oneOf": [{"$ref": "#/components/schemas/inputDialogPeer"}, {"$ref": "#/components/schemas/inputDialogPeerFolder"}, {"$ref": "#/components/schemas/inputDialogPeerCommunity"}], "description": "A caixa de diálogo para fixar"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `pinned` | `true` | Não | Se deseja fixar ou desafixar a caixa de diálogo |\n| `peer` | `InputDialogPeer` | Sim | A caixa de diálogo para fixar |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2894183390"}}, "/catalog/messages.reorderPinnedSavedDialogs": {"post": {"operationId": "messages.reorderPinnedSavedDialogs", "tags": ["Mensagens"], "summary": "Reordene as caixas de diálogo de mensagens salvas fixadas ».", "description": "Reordene [caixas de diálogo de mensagens salvas fixadas »](https://core.telegram.org/api/saved-messages.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens salvas](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, os diálogos fixados no lado do servidor, mas não presentes no campo `order`, serão liberados."}, "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 TL: InputDialogPeer."}, "x-tl-type": "Vector<InputDialogPeer>", "description": "Nova ordem de diálogo"}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `force` | `true` | Não | Se definido, os diálogos fixados no lado do servidor, mas não presentes no campo `order`, serão liberados. |\n| `order` | `Vector<InputDialogPeer>` | Sim | Nova ordem de diálogo |"}, "x-browser-schema-id": "2339464583"}}, "/catalog/messages.getSavedReactionTags": {"post": {"operationId": "messages.getSavedReactionTags", "tags": ["Mensagens"], "summary": "Obtenha a lista completa de tags de mensagens salvas criadas pelo usuário.", "description": "Obtenha a lista completa de [tags de mensagens salvas](https://core.telegram.org/api/saved-messages.md#tags) criadas pelo usuário.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens salvas](https://core.telegram.org/api/saved-messages.md)\n- [Paginação no 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 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": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, retorna tags usadas apenas na [caixa de diálogo de mensagem salva](https://core.telegram.org/api/saved-messages.md#saved-message-dialogs) especificada.", "x-tl-flag": "flags.0?InputPeer"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Não | Se definido, retorna tags usadas apenas na [caixa de diálogo de mensagem salva](https://core.telegram.org/api/saved-messages.md#saved-message-dialogs) especificada. |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](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": ["Mensagens"], "summary": "Atualize a descrição de uma tag de mensagem salva ».", "description": "Atualize a [descrição de uma tag de mensagem salva »](https://core.telegram.org/api/saved-messages.md#tags).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Reações de mensagens](https://core.telegram.org/api/reactions.md)\n- [Mensagens salvas](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação.\n- 400 · `REACTION_INVALID` — A reação especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "[Reação](https://core.telegram.org/api/reactions.md) associada à tag"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Descrição da tag, no máximo 12 UTF-8 caracteres; para remover a descrição, chame o método sem definir este sinalizador."}}, "additionalProperties": false, "required": ["reaction"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `reaction` | `Reaction` | Sim | [Reação](https://core.telegram.org/api/reactions.md) associada à tag |\n| `title` | `string` | Não | Descrição da tag, no máximo 12 UTF-8 caracteres; para remover a descrição, chame o método sem definir este sinalizador. |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED", "REACTION_INVALID"], "x-browser-schema-id": "1613331948"}}, "/catalog/messages.getDefaultTagReactions": {"post": {"operationId": "messages.getDefaultTagReactions", "tags": ["Mensagens"], "summary": "Obtenha uma lista padrão recomendada de reações de tags de mensagens salvas.", "description": "Obtenha uma lista padrão recomendada de [reações de tags de mensagens salvas](https://core.telegram.org/api/saved-messages.md#tags).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Mensagens salvas](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 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": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3187225640"}}, "/catalog/messages.getOutboxReadDate": {"post": {"operationId": "messages.getOutboxReadDate", "tags": ["Mensagens"], "summary": "Obtenha a data exata de leitura de uma de nossas mensagens, enviada para um chat privado com outro usuário.", "description": "Obtenha a data exata de leitura de uma de nossas mensagens, enviada para um chat privado com outro usuário.\n\nSó pode ser feito para mensagens privadas de saída não anteriores a [appConfig.pm\\_read\\_date\\_expire\\_period »](https://core.telegram.org/api/config.md#pm-read-date-expire-period).\n\nSe o sinalizador [userFull](https://core.telegram.org/constructor/userFull.md).`read_dates_private` do `peer` estiver definido, não seremos capazes de buscar a data exata de leitura das mensagens que enviamos para eles, e um erro `USER_PRIVACY_RESTRICTED` RPC será emitido.\nA data exata de leitura das mensagens ainda pode estar indisponível por outros motivos, veja [aqui »](https://core.telegram.org/constructor/globalPrivacySettings.md) para mais informações.\nPara definir [userFull](https://core.telegram.org/constructor/userFull.md).`read_dates_private` para nós mesmos, invoque [account.setGlobalPrivacySettings](https://core.telegram.org/method/account.setGlobalPrivacySettings.md), definindo o sinalizador `settings.hide_read_marks`.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configuração do 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 MTProto · `OutboxReadDate`.\n\n[OutboxReadDate](https://core.telegram.org/type/OutboxReadDate.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "OutboxReadDate", "oneOf": [{"$ref": "#/components/schemas/outboxReadDate"}], "description": "Tipo TL: OutboxReadDate."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `MESSAGE_NOT_READ_YET` — A mensagem especificada ainda não foi lida.\n- 400 · `MESSAGE_TOO_OLD` — A mensagem é muito antiga, a informação solicitada não está disponível.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 403 · `USER_PRIVACY_RESTRICTED` — As configurações de privacidade do usuário não permitem que você faça isso.\n- 403 · `YOUR_PRIVACY_RESTRICTED` — Você não pode obter a data de leitura desta mensagem porque você não permitiu que outros usuários o fizessem para *suas* mensagens; para corrigir, permita que outros usuários vejam *sua* última data online exata OU adquira uma assinatura do [Telegram Premium](https://core.telegram.org/api/premium.md)."}}, "externalDocs": {"description": "Documentação oficial do 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": "O usuário para quem enviamos a mensagem."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O ID da mensagem."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O usuário para quem enviamos a mensagem. |\n| `msg_id` | `int` | Sim | O ID da mensagem. |"}, "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": ["Mensagens"], "summary": "Obtenha informações básicas sobre todos os atalhos de resposta rápida existentes.", "description": "Obtenha informações básicas sobre todos os [atalhos de resposta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts) existentes.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 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": "Documentação oficial do 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 paginação, gerado conforme especificado [aqui »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) (não o algoritmo usual usado para geração de hash.)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | Hash para paginação, gerado conforme especificado [aqui »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) (não o algoritmo usual usado para geração de hash.) |"}, "x-browser-schema-id": "3565417128"}}, "/catalog/messages.reorderQuickReplies": {"post": {"operationId": "messages.reorderQuickReplies", "tags": ["Mensagens"], "summary": "Reordene os atalhos de resposta rápida.", "description": "Reordene [atalhos de resposta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\n\nIsso emitirá uma atualização [updateQuickReplies](https://core.telegram.org/constructor/updateQuickReplies.md) para outras sessões logadas.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação."}}, "externalDocs": {"description": "Documentação oficial do 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": "IDs de todos os [atalhos de resposta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts) criados, na ordem desejada."}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `order` | `Vector<int>` | Sim | IDs de todos os [atalhos de resposta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts) criados, na ordem desejada. |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "1613961479"}}, "/catalog/messages.checkQuickReplyShortcut": {"post": {"operationId": "messages.checkQuickReplyShortcut", "tags": ["Mensagens"], "summary": "Antes de oferecer ao usuário a opção de adicionar uma mensagem a um atalho de resposta rápida, certifique-se de que nenhum dos limites especificados aqui » foi atingido.", "description": "Antes de oferecer ao usuário a opção de adicionar uma mensagem a um [atalho de resposta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts), para garantir que nenhum dos limites especificados [aqui »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) foi atingido.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação."}}, "externalDocs": {"description": "Documentação oficial do 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": "Nome do atalho (não ID!)."}}, "additionalProperties": false, "required": ["shortcut"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `shortcut` | `string` | Sim | Nome do atalho (não ID!). |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "4057005011"}}, "/catalog/messages.editQuickReplyShortcut": {"post": {"operationId": "messages.editQuickReplyShortcut", "tags": ["Mensagens"], "summary": "Renomeie um atalho de resposta rápida.", "description": "Renomeie um [atalho de resposta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\nIsso emitirá uma atualização [updateQuickReplies](https://core.telegram.org/constructor/updateQuickReplies.md) para outras sessões logadas.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação.\n- 400 · `SHORTCUT_INVALID` — O atalho especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do atalho](https://core.telegram.org/api/business.md#quick-reply-shortcuts)."}, "shortcut": {"type": "string", "x-tl-type": "string", "description": "Novo nome de atalho."}}, "additionalProperties": false, "required": ["shortcut_id", "shortcut"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `shortcut_id` | `int` | Sim | [ID do atalho](https://core.telegram.org/api/business.md#quick-reply-shortcuts). |\n| `shortcut` | `string` | Sim | Novo nome de atalho. |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED", "SHORTCUT_INVALID"], "x-browser-schema-id": "1543519471"}}, "/catalog/messages.deleteQuickReplyShortcut": {"post": {"operationId": "messages.deleteQuickReplyShortcut", "tags": ["Mensagens"], "summary": "Exclua completamente um atalho de resposta rápida.", "description": "Exclua completamente um [atalho de resposta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\nIsso também emitirá uma atualização [updateDeleteQuickReply](https://core.telegram.org/constructor/updateDeleteQuickReply.md) para outras sessões logadas (e *não* [updateDeleteQuickReplyMessages](https://core.telegram.org/constructor/updateDeleteQuickReplyMessages.md) atualizações, mesmo que todas as mensagens nos atalhos também sejam excluídas por este método).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `SHORTCUT_INVALID` — O atalho especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do atalho](https://core.telegram.org/api/business.md#quick-reply-shortcuts)"}}, "additionalProperties": false, "required": ["shortcut_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `shortcut_id` | `int` | Sim | [ID do atalho](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": ["Mensagens"], "summary": "Busque (um subconjunto ou todas) as mensagens em um atalho de resposta rápida ».", "description": "Busque (um subconjunto ou todas) as mensagens em um [atalho de resposta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `SHORTCUT_INVALID` — O atalho especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do atalho de resposta 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": "IDs das mensagens a serem buscadas, se vazio busca todas elas."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash para paginação, gerado conforme especificado [aqui »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) (não o algoritmo usual usado para geração de hash).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["shortcut_id", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `shortcut_id` | `int` | Sim | ID do atalho de resposta rápida. |\n| `id` | `Vector<int>` | Não | IDs das mensagens a serem buscadas, se vazio busca todas elas. |\n| `hash` | `long` | Sim | Hash para paginação, gerado conforme especificado [aqui »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) (não o algoritmo usual usado para geração de hash). |"}, "x-telegram-rpc-errors": ["SHORTCUT_INVALID"], "x-browser-schema-id": "2493814211"}}, "/catalog/messages.sendQuickReplyMessages": {"post": {"operationId": "messages.sendQuickReplyMessages", "tags": ["Mensagens"], "summary": "Envie um atalho de resposta rápida ».", "description": "Envie um [atalho de resposta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Negócio de telegrama](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação."}}, "externalDocs": {"description": "Documentação oficial do 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": "O peer para onde enviar o atalho (somente usuários, por enquanto)."}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O ID do atalho de resposta rápida a ser enviado."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Especifique um subconjunto de mensagens do atalho para enviar; se estiver vazio, o padrão é todos eles."}, "random_id": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Os IDs de cliente exclusivos necessários para evitar o reenvio de mensagens, um para cada mensagem enviada, podem estar vazios (mas não recomendados). Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID."}}, "additionalProperties": false, "required": ["peer", "shortcut_id", "id", "random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O peer para onde enviar o atalho (somente usuários, por enquanto). |\n| `shortcut_id` | `int` | Sim | O ID do atalho de resposta rápida a ser enviado. |\n| `id` | `Vector<int>` | Sim | Especifique um subconjunto de mensagens do atalho para enviar; se estiver vazio, o padrão é todos eles. |\n| `random_id` | `Vector<long>` | Sim | Os IDs de cliente exclusivos necessários para evitar o reenvio de mensagens, um para cada mensagem enviada, podem estar vazios (mas não recomendados). Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "1819610593"}}, "/catalog/messages.deleteQuickReplyMessages": {"post": {"operationId": "messages.deleteQuickReplyMessages", "tags": ["Mensagens"], "summary": "Exclua uma ou mais mensagens de um atalho de resposta rápida. Isso também emitirá uma atualização updateDeleteQuickReplyMessages.", "description": "Exclua uma ou mais mensagens de um [atalho de resposta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts). Isso também emitirá uma atualização [updateDeleteQuickReplyMessages](https://core.telegram.org/constructor/updateDeleteQuickReplyMessages.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Negócio de telegrama](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `SHORTCUT_INVALID` — O atalho especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do atalho](https://core.telegram.org/api/business.md#quick-reply-shortcuts)."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de mensagens de atalho a serem excluídas."}}, "additionalProperties": false, "required": ["shortcut_id", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `shortcut_id` | `int` | Sim | [ID do atalho](https://core.telegram.org/api/business.md#quick-reply-shortcuts). |\n| `id` | `Vector<int>` | Sim | IDs de mensagens de atalho a serem excluídas. |"}, "x-telegram-rpc-errors": ["SHORTCUT_INVALID"], "x-browser-schema-id": "3775260944"}}, "/catalog/messages.toggleDialogFilterTags": {"post": {"operationId": "messages.toggleDialogFilterTags", "tags": ["Mensagens"], "summary": "Habilite ou desabilite tags de pasta ».", "description": "Habilite ou desabilite [tags de pasta »](https://core.telegram.org/api/folders.md#folder-tags).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Pastas 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação."}}, "externalDocs": {"description": "Documentação oficial do 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 ou desabilite tags de pasta."}}, "additionalProperties": false, "required": ["enabled"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `enabled` | `Bool` | Sim | Habilite ou desabilite tags de pasta. |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "4247640649"}}, "/catalog/messages.getMyStickers": {"post": {"operationId": "messages.getMyStickers", "tags": ["Mensagens"], "summary": "Obtenha todos os conjuntos de adesivos »de propriedade do usuário atual.", "description": "Busque todos os [conjuntos de adesivos »](https://core.telegram.org/api/stickers.md) pertencentes ao usuário atual.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Adesivos e 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 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": "Digite TL: messages.MyStickers."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "[Deslocamentos para paginação, para mais informações clique aqui](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 serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset_id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `offset_id` | `long` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "3501580796"}}, "/catalog/messages.getEmojiStickerGroups": {"post": {"operationId": "messages.getEmojiStickerGroups", "tags": ["Mensagens"], "summary": "Representa uma lista de categorias de emojis, para serem usadas na escolha de um adesivo.", "description": "Representa uma lista de [categorias de emoji](https://core.telegram.org/api/emoji-categories.md), para serem usadas na escolha de um adesivo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Categorias 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 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": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "500711669"}}, "/catalog/messages.getAvailableEffects": {"post": {"operationId": "messages.getAvailableEffects", "tags": ["Mensagens"], "summary": "Obtenha a lista completa de efeitos de mensagens animadas utilizáveis ​​».", "description": "Obtenha a lista completa de [efeitos de mensagens animadas »](https://core.telegram.org/api/effects.md) utilizáveis.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Efeitos de mensagens animadas](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 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": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3735161401"}}, "/catalog/messages.editFactCheck": {"post": {"operationId": "messages.editFactCheck", "tags": ["Mensagens"], "summary": "Edite/crie uma verificação de fatos em uma mensagem.", "description": "Edite/crie uma [verificação de fatos](https://core.telegram.org/api/factcheck.md) em uma mensagem.\n\nSó pode ser usado por verificadores de fatos independentes conforme especificado pelo sinalizador de configuração [appConfig.can\\_edit\\_factcheck](https://core.telegram.org/api/config.md#can-edit-factcheck).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Verificações de fatos](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `CHAT_ACTION_FORBIDDEN` — Você não pode executar esta ação.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Pare onde a mensagem foi enviada"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem"}, "text": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Verificação de fatos (comprimento máximo UTF-8 especificado em [appConfig.factcheck_length_limit](https://core.telegram.org/api/config.md#factcheck-length-limit))."}}, "additionalProperties": false, "required": ["peer", "msg_id", "text"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Pare onde a mensagem foi enviada |\n| `msg_id` | `int` | Sim | ID da mensagem |\n| `text` | `TextWithEntities` | Sim | Verificação de fatos (comprimento máximo UTF-8 especificado em [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": ["Mensagens"], "summary": "Exclua uma verificação de fatos de uma mensagem.", "description": "Exclua uma [verificação de fatos](https://core.telegram.org/api/factcheck.md) de uma mensagem.\n\nSó pode ser usado por verificadores de fatos independentes conforme especificado pelo sinalizador de configuração [appConfig.can\\_edit\\_factcheck](https://core.telegram.org/api/config.md#can-edit-factcheck).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Verificações de fatos](https://core.telegram.org/api/factcheck.md)\n- [Configuração do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `CHAT_ACTION_FORBIDDEN` — Você não pode executar esta ação.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde a mensagem foi enviada."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde a mensagem foi enviada. |\n| `msg_id` | `int` | Sim | ID da mensagem |"}, "x-telegram-rpc-errors": ["CHAT_ACTION_FORBIDDEN", "PEER_ID_INVALID"], "x-browser-schema-id": "3520762892"}}, "/catalog/messages.getFactCheck": {"post": {"operationId": "messages.getFactCheck", "tags": ["Mensagens"], "summary": "Obtenha uma ou mais verificações de fatos, veja aqui » para o fluxo completo.", "description": "Busque uma ou mais [verificações de fatos, veja aqui »](https://core.telegram.org/api/factcheck.md) para o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Verificações de fatos](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 MTProto · `Vector<FactCheck>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[Verificação de fatos](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: verificação de fatos."}, "x-tl-type": "Vector<FactCheck>"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde as mensagens foram enviadas."}, "msg_id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Mensagens que associaram construtores [factCheck](https://core.telegram.org/constructor/factCheck.md) ao sinalizador `need_check` definido."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde as mensagens foram enviadas. |\n| `msg_id` | `Vector<int>` | Sim | Mensagens que associaram construtores [factCheck](https://core.telegram.org/constructor/factCheck.md) ao sinalizador `need_check` definido. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3117270510"}}, "/catalog/messages.requestMainWebView": {"post": {"operationId": "messages.requestMainWebView", "tags": ["Mensagens"], "summary": "Abra um miniaplicativo principal.", "description": "Abra um [Mini aplicativo principal](https://core.telegram.org/api/bots/webapps.md#main-mini-apps).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [Miniaplicativos no 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 MTProto · `WebViewResult`.\n\n[ResultadoWebView](https://core.telegram.org/type/WebViewResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "Tipo TL: WebViewResult."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, solicita a abertura do miniaplicativo no modo compacto (em oposição ao modo normal ou de tela cheia). Deve ser definido se o parâmetro `mode` do [link do Mini App Principal](https://core.telegram.org/api/links.md#main-mini-app-links) for igual a `compact`."}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "Se definido, solicita a abertura do miniaplicativo no modo de tela cheia (em oposição ao modo compacto ou normal). Deve ser definido se o parâmetro `mode` do [link do Mini App Principal](https://core.telegram.org/api/links.md#main-mini-app-links) for 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": "Bate-papo atualmente aberto, pode ser [inputPeerEmpty](https://core.telegram.org/constructor/inputPeerEmpty.md) se nenhum bate-papo estiver aberto no momento."}, "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 que possui o miniaplicativo principal."}, "start_param": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Parâmetro inicial, se abrir a partir de um [link do mini aplicativo 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 do 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": "Nome abreviado do aplicativo; 0-64 letras, dígitos e sublinhados em inglês"}}, "additionalProperties": false, "required": ["peer", "bot", "platform"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `compact` | `true` | Não | Se definido, solicita a abertura do miniaplicativo no modo compacto (em oposição ao modo normal ou de tela cheia). Deve ser definido se o parâmetro `mode` do [link do Mini App Principal](https://core.telegram.org/api/links.md#main-mini-app-links) for igual a `compact`. |\n| `fullscreen` | `true` | Não | Se definido, solicita a abertura do miniaplicativo no modo de tela cheia (em oposição ao modo compacto ou normal). Deve ser definido se o parâmetro `mode` do [link do Mini App Principal](https://core.telegram.org/api/links.md#main-mini-app-links) for igual a `fullscreen`. |\n| `peer` | `InputPeer` | Sim | Bate-papo atualmente aberto, pode ser [inputPeerEmpty](https://core.telegram.org/constructor/inputPeerEmpty.md) se nenhum bate-papo estiver aberto no momento. |\n| `bot` | `InputUser` | Sim | Bot que possui o miniaplicativo principal. |\n| `start_param` | `string` | Não | Parâmetro inicial, se abrir a partir de um [link do mini aplicativo principal »](https://core.telegram.org/api/links.md#main-mini-app-links). |\n| `theme_params` | `DataJSON` | Não | [Parâmetros do tema »](https://core.telegram.org/api/bots/webapps.md#theme-parameters) |\n| `platform` | `string` | Sim | Nome abreviado do aplicativo; 0-64 letras, dígitos e sublinhados em inglês |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "3386908283"}}, "/catalog/messages.sendPaidReaction": {"post": {"operationId": "messages.sendPaidReaction", "tags": ["Mensagens"], "summary": "Envia uma ou mais reações pagas do Telegram Star », transferindo Telegram Stars » para o saldo de um canal.", "description": "Envia uma ou mais [reações pagas do Telegram Star »](https://core.telegram.org/api/reactions.md#paid-reactions), transferindo [Telegram Stars »](https://core.telegram.org/api/stars.md) para o saldo de um canal.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Reações de mensagens](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BALANCE_TOO_LOW` — A transação não pode ser concluída porque o [saldo atual do Telegram Stars](https://core.telegram.org/api/stars.md) é muito baixo.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `RANDOM_ID_EMPTY` — ID aleatório vazio.\n- 400 · `RANDOM_ID_EXPIRED` — O `random_id` especificado expirou (provavelmente não seguiu o formato `uint64_t random_id = (time() << 32) | ((uint64_t)random_uint32_t())` exigido ou o horário especificado está muito distante no passado).\n- 400 · `REACTIONS_COUNT_INVALID` — O número especificado de reações é inválido.\n- 400 · `SEND_AS_PEER_INVALID` — Você não pode enviar mensagens como o par especificado."}}, "externalDocs": {"description": "Documentação oficial do 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": "O canal"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "A mensagem para reagir"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O número de [estrelas](https://core.telegram.org/api/stars.md) a serem enviadas (cada uma aumentará o contador de reações em um)."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "É necessário um ID exclusivo da mensagem do cliente para evitar o reenvio de mensagens. **Nota**: este argumento **deve** ser composto por um número inteiro de 64 bits onde os 32 bits inferiores são aleatórios e os 32 bits superiores **são iguais ao unixtime atual**, i.e. `uint64_t random_id = (tempo() << 32). Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento 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 postagem com reações de estrela tem um placar com os principais remetentes, mas os usuários podem optar por não aparecer lá se preferirem mais privacidade. Não preencher este campo usará a privacidade de reação padrão, armazenada no servidor e sincronizada com os clientes usando [updatePaidReactionPrivacy](https://core.telegram.org/constructor/updatePaidReactionPrivacy.md) (veja [aqui](https://core.telegram.org/api/reactions.md#paid-reaction-privacy) para mais informações).", "x-tl-flag": "flags.0?PaidReactionPrivacy"}}, "additionalProperties": false, "required": ["peer", "msg_id", "count", "random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O canal |\n| `msg_id` | `int` | Sim | A mensagem para reagir |\n| `count` | `int` | Sim | O número de [estrelas](https://core.telegram.org/api/stars.md) a serem enviadas (cada uma aumentará o contador de reações em um). |\n| `random_id` | `long` | Sim | É necessário um ID exclusivo da mensagem do cliente para evitar o reenvio de mensagens. **Nota**: este argumento **deve** ser composto por um número inteiro de 64 bits onde os 32 bits inferiores são aleatórios e os 32 bits superiores **são iguais ao unixtime atual**, i.e. `uint64_t random_id = (tempo() << 32). Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID. |\n| `private` | `PaidReactionPrivacy` | Não | Cada postagem com reações de estrela tem um placar com os principais remetentes, mas os usuários podem optar por não aparecer lá se preferirem mais privacidade. Não preencher este campo usará a privacidade de reação padrão, armazenada no servidor e sincronizada com os clientes usando [updatePaidReactionPrivacy](https://core.telegram.org/constructor/updatePaidReactionPrivacy.md) (veja [aqui](https://core.telegram.org/api/reactions.md#paid-reaction-privacy) para mais informações). |"}, "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": ["Mensagens"], "summary": "Altera a privacidade de reações pagas já enviadas em uma mensagem específica.", "description": "Altera a privacidade de [reações pagas](https://core.telegram.org/api/reactions.md#paid-reactions) já enviadas em uma mensagem específica.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Reações de mensagens](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `REACTION_EMPTY` — Reação vazia fornecida."}}, "externalDocs": {"description": "Documentação oficial do 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": "O canal"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O ID da mensagem para a qual enviamos as reações pagas"}, "private": {"type": "object", "x-tl-type": "PaidReactionPrivacy", "oneOf": [{"$ref": "#/components/schemas/paidReactionPrivacyDefault"}, {"$ref": "#/components/schemas/paidReactionPrivacyAnonymous"}, {"$ref": "#/components/schemas/paidReactionPrivacyPeer"}], "description": "Se verdadeiro, torna o atual anônimo na tabela de classificação dos principais remetentes desta mensagem; caso contrário, faz o oposto."}}, "additionalProperties": false, "required": ["peer", "msg_id", "private"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O canal |\n| `msg_id` | `int` | Sim | O ID da mensagem para a qual enviamos as reações pagas |\n| `private` | `PaidReactionPrivacy` | Sim | Se verdadeiro, torna o atual anônimo na tabela de classificação dos principais remetentes desta mensagem; caso contrário, faz o oposto. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "REACTION_EMPTY"], "x-browser-schema-id": "1129874869"}}, "/catalog/messages.getPaidReactionPrivacy": {"post": {"operationId": "messages.getPaidReactionPrivacy", "tags": ["Mensagens"], "summary": "Busca uma atualização updatePaidReactionPrivacy com a privacidade de reação paga padrão atual, veja aqui » para mais informações.", "description": "Busca uma atualização [updatePaidReactionPrivacy](https://core.telegram.org/constructor/updatePaidReactionPrivacy.md) com a atual [privacidade de reação paga padrão, veja aqui »](https://core.telegram.org/api/reactions.md#paid-reactions) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Reações de mensagens](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/messages.getPaidReactionPrivacy"}, "x-browser-schema-id": "1193563562"}}, "/catalog/messages.viewSponsoredMessage": {"post": {"operationId": "messages.viewSponsoredMessage", "tags": ["Mensagens"], "summary": "Marcar uma mensagem patrocinada específica » como lida", "description": "Marcar uma [mensagem patrocinada »](https://core.telegram.org/api/sponsored-messages.md) específica como lida\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Mensagens patrocinadas](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "O ID exclusivo do anúncio. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID."}}, "additionalProperties": false, "required": ["random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `random_id` | `bytes` | Sim | O ID exclusivo do anúncio. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID. |"}, "x-browser-schema-id": "647902787"}}, "/catalog/messages.clickSponsoredMessage": {"post": {"operationId": "messages.clickSponsoredMessage", "tags": ["Mensagens"], "summary": "Informa ao servidor que o usuário interagiu com uma mensagem patrocinada de uma das formas listadas aqui ».", "description": "Informa ao servidor que o usuário interagiu com uma mensagem patrocinada em [uma das formas listadas aqui »](https://core.telegram.org/api/sponsored-messages.md#clicking-on-sponsored-messages).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Mensagens patrocinadas](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "O usuário clicou na mídia"}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "O usuário expandiu o vídeo para tela inteira e clicou nele."}, "random_id": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "O ID exclusivo do anúncio. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID."}}, "additionalProperties": false, "required": ["random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `media` | `true` | Não | O usuário clicou na mídia |\n| `fullscreen` | `true` | Não | O usuário expandiu o vídeo para tela inteira e clicou nele. |\n| `random_id` | `bytes` | Sim | O ID exclusivo do anúncio. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID. |"}, "x-browser-schema-id": "2184512894"}}, "/catalog/messages.reportSponsoredMessage": {"post": {"operationId": "messages.reportSponsoredMessage", "tags": ["Mensagens"], "summary": "Denuncie uma mensagem patrocinada », veja aqui » para mais informações sobre o fluxo completo.", "description": "Denuncie uma [mensagem patrocinada »](https://core.telegram.org/api/sponsored-messages.md), veja [aqui »](https://core.telegram.org/api/sponsored-messages.md#reporting-sponsored-messages) para mais informações sobre o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Mensagens patrocinadas](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 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": "Documentação oficial do 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": "O ID exclusivo do anúncio. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID."}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Opção de relatório escolhida, inicialmente uma string vazia, veja [aqui »](https://core.telegram.org/api/sponsored-messages.md#reporting-sponsored-messages) para mais informações sobre o fluxo completo."}}, "additionalProperties": false, "required": ["random_id", "option"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `random_id` | `bytes` | Sim | O ID exclusivo do anúncio. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID. |\n| `option` | `bytes` | Sim | Opção de relatório escolhida, inicialmente uma string vazia, veja [aqui »](https://core.telegram.org/api/sponsored-messages.md#reporting-sponsored-messages) para mais informações sobre o fluxo completo. |"}, "x-browser-schema-id": "315355332"}}, "/catalog/messages.getSponsoredMessages": {"post": {"operationId": "messages.getSponsoredMessages", "tags": ["Mensagens"], "summary": "Obtenha uma lista de mensagens patrocinadas para um colega, veja aqui » para mais informações.", "description": "Obtenha uma lista de [mensagens patrocinadas para um colega, veja aqui »](https://core.telegram.org/api/sponsored-messages.md) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens patrocinadas](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 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": "Digite TL: messages.SponsoredMessages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O canal/bot atualmente aberto."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Deve ser definido ao buscar [mensagens patrocinadas para exibição nos vídeos do canal »](https://core.telegram.org/api/sponsored-messages.md#getting-sponsored-video-advertisements)."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O canal/bot atualmente aberto. |\n| `msg_id` | `int` | Não | Deve ser definido ao buscar [mensagens patrocinadas para exibição nos vídeos do 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": ["Mensagens"], "summary": "Salve uma mensagem embutida preparada, para ser compartilhada pelo usuário do miniaplicativo usando um evento web\\_app\\_send\\_prepared\\_message", "description": "Salve uma [mensagem inline preparada](https://core.telegram.org/api/bots/inline.md#21-using-a-prepared-inline-message), para ser compartilhada pelo usuário do miniaplicativo usando um [web\\_app\\_send\\_prepared\\_message event](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message)\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.\n\n**Documentação relacionada**\n\n- [Eventos da Web](https://core.telegram.org/api/web-events.md)\n- [Consultas embutidas](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 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": "### Erros MTProto (RPC)\n\n- 400 · `RESULT_ID_INVALID` — Um dos IDs de resultado especificados é inválido.\n- 400 · `SEND_MESSAGE_GAME_INVALID` — Um inputBotInlineMessageGame só pode estar contido em um inputBotInlineResultGame, não em um inputBotInlineResult/inputBotInlineResultPhoto/etc.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "A mensagem"}, "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": "O usuário para quem o evento [web_app_send_prepared_message event](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message) será enviado"}, "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 TL: InlineQueryPeerType."}, "x-tl-type": "Vector<InlineQueryPeerType>", "x-tl-flag": "flags.0?Vector<InlineQueryPeerType>", "description": "Tipos de chats para onde esta mensagem pode ser enviada"}}, "additionalProperties": false, "required": ["result", "user_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `result` | `InputBotInlineResult` | Sim | A mensagem |\n| `user_id` | `InputUser` | Sim | O usuário para quem o evento [web_app_send_prepared_message event](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message) será enviado |\n| `peer_types` | `Vector<InlineQueryPeerType>` | Não | Tipos de chats para onde esta mensagem pode ser enviada |"}, "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": ["Mensagens"], "summary": "Obtenha uma mensagem embutida preparada gerada por um miniaplicativo: invocada ao manipular eventos web\\_app\\_send\\_prepared\\_message", "description": "Obtenha uma [mensagem inline preparada](https://core.telegram.org/api/bots/inline.md#21-using-a-prepared-inline-message) gerada por um [mini app](https://core.telegram.org/api/bots/webapps.md): invocada ao manipular [web\\_app\\_send\\_prepared\\_message events](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Eventos da Web](https://core.telegram.org/api/web-events.md)\n- [Consultas embutidas](https://core.telegram.org/api/bots/inline.md)\n- [Miniaplicativos no 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 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": "### Erros MTProto (RPC)\n\n- 400 · `ID_EXPIRED` — O ID da mensagem inline preparada passada expirou.\n- 400 · `ID_INVALID` — O ID passado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot que possui o miniaplicativo que emitiu o [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": "O `id` do [evento web_app_send_prepared_message](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message)"}}, "additionalProperties": false, "required": ["bot", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot que possui o miniaplicativo que emitiu o [web_app_send_prepared_message evento](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message) |\n| `id` | `string` | Sim | O `id` do [evento web_app_send_prepared_message](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": ["Mensagens"], "summary": "Pesquise adesivos usando a pesquisa por palavra-chave com tecnologia de IA", "description": "Pesquise adesivos usando a pesquisa por palavra-chave com tecnologia de IA\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Paginação no 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 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": "Digite TL: messages.FoundStickers."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, retorna [adesivos emoji personalizados](https://core.telegram.org/api/custom-emoji.md)"}, "q": {"type": "string", "x-tl-type": "string", "description": "O termo de pesquisa"}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Lista separada por espaço de emojis para pesquisar"}, "lang_code": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Lista de possíveis tags de idioma IETF do idioma de entrada do usuário; pode estar vazio se for desconhecido"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamento para paginação](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).  O hash pode ser gerado localmente usando os `id`s do adesivo devolvido ou armazenado [documento](https://core.telegram.org/constructor/document.md)s.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["q", "emoticon", "lang_code", "offset", "limit", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `emojis` | `true` | Não | Se definido, retorna [adesivos emoji personalizados](https://core.telegram.org/api/custom-emoji.md) |\n| `q` | `string` | Sim | O termo de pesquisa |\n| `emoticon` | `string` | Sim | Lista separada por espaço de emojis para pesquisar |\n| `lang_code` | `Vector<string>` | Sim | Lista de possíveis tags de idioma IETF do idioma de entrada do usuário; pode estar vazio se for desconhecido |\n| `offset` | `int` | Sim | [Deslocamento para paginação](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation).  O hash pode ser gerado localmente usando os `id`s do adesivo devolvido ou armazenado [documento](https://core.telegram.org/constructor/document.md)s. |"}, "x-browser-schema-id": "699516522"}}, "/catalog/messages.reportMessagesDelivery": {"post": {"operationId": "messages.reportMessagesDelivery", "tags": ["Mensagens"], "summary": "Utilizado para mensagens de verificação do Telegram Gateway »: indica ao servidor que uma ou mais mensagens foram recebidas pelo cliente, caso solicitado pela mensagem.**report\\_delivery\\_until\\_date** flag ou a flag equivalente em notificações push.", "description": "Usado para [mensagens de verificação do Telegram Gateway »](https://telegram.org/blog/star-messages-gateway-2-0-and-more#save-even-more-on-user-verification): indica ao servidor que uma ou mais [message](https://core.telegram.org/constructor/message.md)s foram recebidas pelo cliente, se solicitado pelo sinalizador [message](https://core.telegram.org/constructor/message.md).**report\\_delivery\\_until\\_date** ou o sinalizador equivalente em [notificações push](https://core.telegram.org/api/push-updates.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tratamento de notificações 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Deve ser definido se as mensagens foram recebidas de uma [notificação 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": "O par onde as mensagens foram recebidas."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Os IDs das mensagens recebidas."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `push` | `true` | Não | Deve ser definido se as mensagens foram recebidas de uma [notificação push](https://core.telegram.org/api/push-updates.md). |\n| `peer` | `InputPeer` | Sim | O par onde as mensagens foram recebidas. |\n| `id` | `Vector<int>` | Sim | Os IDs das mensagens recebidas. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1517122453"}}, "/catalog/messages.getSavedDialogsByID": {"post": {"operationId": "messages.getSavedDialogsByID", "tags": ["Mensagens"], "summary": "Obtenha informações sobre caixas de diálogo específicas de mensagens salvas » ou tópicos do monoforum ».", "description": "Obtenha informações sobre [caixas de diálogo de mensagens salvas »](https://core.telegram.org/api/saved-messages.md#saved-message-dialogs) específicas ou [tópicos do monoforum »](https://core.telegram.org/api/monoforum.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens diretas para canais](https://core.telegram.org/api/monoforum.md)\n- [Mensagens salvas](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 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": "Documentação oficial do 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": "Se definido, busca [tópicos monoforum »](https://core.telegram.org/api/monoforum.md), caso contrário busca [diálogos de mensagens salvas »](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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "IDs de diálogos (tópicos) a serem buscados."}}, "additionalProperties": false, "required": ["ids"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | Não | Se definido, busca [tópicos monoforum »](https://core.telegram.org/api/monoforum.md), caso contrário busca [diálogos de mensagens salvas »](https://core.telegram.org/api/saved-messages.md#saved-message-dialogs). |\n| `ids` | `Vector<InputPeer>` | Sim | IDs de diálogos (tópicos) a serem buscados. |"}, "x-browser-schema-id": "1869585558"}}, "/catalog/messages.readSavedHistory": {"post": {"operationId": "messages.readSavedHistory", "tags": ["Mensagens"], "summary": "Marcar mensagens como lidas em um tópico monofórum ».", "description": "Marcar mensagens como lidas em um [tópico monoforum »](https://core.telegram.org/api/monoforum.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens diretas para canais](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `PARENT_PEER_INVALID` — O `parent_peer` especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do 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 do tópico."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se for passado um valor positivo, somente serão lidas as mensagens com identificadores menores ou iguais ao fornecido."}}, "additionalProperties": false, "required": ["parent_peer", "peer", "max_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | Sim | ID do grupo monoforum. |\n| `peer` | `InputPeer` | Sim | ID do tópico. |\n| `max_id` | `int` | Sim | Se for passado um valor positivo, somente serão lidas as mensagens com identificadores menores ou iguais ao fornecido. |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "PARENT_PEER_INVALID"], "x-browser-schema-id": "3125427035"}}, "/catalog/messages.toggleTodoCompleted": {"post": {"operationId": "messages.toggleTodoCompleted", "tags": ["Mensagens"], "summary": "Marque um ou mais itens de uma lista de tarefas » como concluídos ou não concluídos.", "description": "Marque um ou mais itens de uma [lista de tarefas »](https://core.telegram.org/api/todo.md) como concluído ou não concluído.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Checklists e listas de tarefas](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde a lista de tarefas foi postada."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem com a lista de tarefas."}, "completed": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Itens a serem marcados como concluídos."}, "incompleted": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Itens a serem marcados como não concluídos."}}, "additionalProperties": false, "required": ["peer", "msg_id", "completed", "incompleted"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde a lista de tarefas foi postada. |\n| `msg_id` | `int` | Sim | ID da mensagem com a lista de tarefas. |\n| `completed` | `Vector<int>` | Sim | Itens a serem marcados como concluídos. |\n| `incompleted` | `Vector<int>` | Sim | Itens a serem marcados como não concluídos. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3554685220"}}, "/catalog/messages.appendTodoList": {"post": {"operationId": "messages.appendTodoList", "tags": ["Mensagens"], "summary": "Acrescenta um ou mais itens a uma lista de tarefas ».", "description": "Acrescenta um ou mais itens a uma [lista de tarefas »](https://core.telegram.org/api/todo.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Checklists e listas de tarefas](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `TODO_ITEM_DUPLICATE` — Duplicados [itens da lista de verificação](https://core.telegram.org/api/todo.md) detectados.\n- 400 · `TODO_NOT_MODIFIED` — Nenhum item de tarefa foi especificado, portanto nenhuma alteração foi feita na lista de tarefas."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde a lista de tarefas foi postada."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem com a lista de tarefas."}, "list": {"type": "array", "items": {"type": "object", "x-tl-type": "TodoItem", "oneOf": [{"$ref": "#/components/schemas/todoItem"}], "description": "Tipo TL: TodoItem."}, "x-tl-type": "Vector<TodoItem>", "description": "Itens a serem anexados."}}, "additionalProperties": false, "required": ["peer", "msg_id", "list"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde a lista de tarefas foi postada. |\n| `msg_id` | `int` | Sim | ID da mensagem com a lista de tarefas. |\n| `list` | `Vector<TodoItem>` | Sim | Itens a serem anexados. |"}, "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": ["Mensagens"], "summary": "Aprovar ou rejeitar uma postagem sugerida ».", "description": "Aprove ou rejeite uma [postagem sugerida »](https://core.telegram.org/api/suggested-posts.md).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens diretas para canais](https://core.telegram.org/api/monoforum.md)\n- [Postagens 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Rejeite a postagem 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 usuários quanto para canais, deve conter o ID do [monoforum de mensagens diretas »](https://core.telegram.org/api/monoforum.md) (para canais, o ID do tópico é extraído automaticamente do `msg_id`)."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem de sugestão."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Data de agendamento personalizada."}, "reject_comment": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Comentário opcional para rejeições (só pode ser usado se `reject` estiver definido)."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `reject` | `true` | Não | Rejeite a postagem sugerida. |\n| `peer` | `InputPeer` | Sim | Tanto para usuários quanto para canais, deve conter o ID do [monoforum de mensagens diretas »](https://core.telegram.org/api/monoforum.md) (para canais, o ID do tópico é extraído automaticamente do `msg_id`). |\n| `msg_id` | `int` | Sim | ID da mensagem de sugestão. |\n| `schedule_date` | `int` | Não | Data de agendamento personalizada. |\n| `reject_comment` | `string` | Não | Comentário opcional para rejeições (só pode ser usado se `reject` estiver definido). |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2164737372"}}, "/catalog/messages.getForumTopics": {"post": {"operationId": "messages.getForumTopics", "tags": ["Mensagens"], "summary": "Obtenha tópicos de um fórum", "description": "Obtenha [tópicos de um fórum](https://core.telegram.org/api/forum.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Tópicos do fórum](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 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": "Digite TL: messages.ForumTopics."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_FORUM_MISSING` — Este supergrupo não é um fórum.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O fórum do supergrupo, chat privado (para bots habilitados para fórum) ou fórum de bot (para usuários) onde o tópico está localizado."}, "q": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Consulta de pesquisa"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "closed": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "Valor do tipo TL `Bool`."}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md), data da última mensagem do último tópico encontrado. Use 0 ou qualquer data futura para obter resultados do último tópico."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md), ID da última mensagem do último tópico encontrado (ou inicialmente `0`)."}, "offset_topic": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md), ID do último tópico encontrado (ou inicialmente `0`)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [veja paginação](https://core.telegram.org/api/offsets.md). Para desempenho ideal, o número de tópicos retornados é escolhido pelo servidor e pode ser menor que o limite especificado."}}, "additionalProperties": false, "required": ["peer", "offset_date", "offset_id", "offset_topic", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O fórum do supergrupo, chat privado (para bots habilitados para fórum) ou fórum de bot (para usuários) onde o tópico está localizado. |\n| `q` | `string` | Não | Consulta de pesquisa |\n| `icon_emoji_id` | `long` | Não | 64-битное целое в десятичной записи. |\n| `closed` | `Bool` | Não | Valor do tipo TL `Bool`. |\n| `offset_date` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md), data da última mensagem do último tópico encontrado. Use 0 ou qualquer data futura para obter resultados do último tópico. |\n| `offset_id` | `int` | Sim | [Offsets para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md), ID da última mensagem do último tópico encontrado (ou inicialmente `0`). |\n| `offset_topic` | `int` | Sim | [Offsets para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md), ID do último tópico encontrado (ou inicialmente `0`). |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [veja paginação](https://core.telegram.org/api/offsets.md). Para desempenho ideal, o número de tópicos retornados é escolhido pelo servidor e pode ser menor que o limite especificado. |"}, "x-telegram-rpc-errors": ["CHANNEL_FORUM_MISSING", "CHANNEL_INVALID"], "x-browser-schema-id": "3331072410"}}, "/catalog/messages.getForumTopicsByID": {"post": {"operationId": "messages.getForumTopicsByID", "tags": ["Mensagens"], "summary": "Obtenha tópicos do fórum por ID", "description": "Obtenha tópicos do fórum por ID\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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": "Digite TL: messages.ForumTopics."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `TOPICS_EMPTY` — Você não especificou nenhum ID de tópico."}}, "externalDocs": {"description": "Documentação oficial do 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": "O fórum do supergrupo, chat privado (para bots habilitados para fórum) ou fórum de bot (para usuários) onde o tópico está localizado."}, "topics": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs do tópico"}}, "additionalProperties": false, "required": ["peer", "topics"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O fórum do supergrupo, chat privado (para bots habilitados para fórum) ou fórum de bot (para usuários) onde o tópico está localizado. |\n| `topics` | `Vector<int>` | Sim | IDs do tópico |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "TOPICS_EMPTY"], "x-browser-schema-id": "2936687112"}}, "/catalog/messages.editForumTopic": {"post": {"operationId": "messages.editForumTopic", "tags": ["Mensagens"], "summary": "Edite o tópico do fórum.", "description": "Edite [tópico do fórum](https://core.telegram.org/api/forum.md).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Tópicos do fórum](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `TOPIC_CLOSE_SEPARATELY` — O sinalizador `close` não pode ser fornecido junto com nenhum dos outros sinalizadores.\n- 400 · `TOPIC_NOT_MODIFIED` — As informações atualizadas do tópico são iguais às informações do tópico atual, nada foi alterado."}}, "externalDocs": {"description": "Documentação oficial do 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": "O fórum do supergrupo, chat privado (para bots habilitados para fórum) ou fórum de bot (para usuários) onde o tópico está localizado."}, "topic_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID do tópico"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Se presente, atualizará o título do tópico (comprimento máximo UTF-8: 128)."}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Se presente, atualiza o [emoji personalizado](https://core.telegram.org/api/custom-emoji.md) usado como ícone do tópico. [Os usuários do Telegram Premium](https://core.telegram.org/api/premium.md) podem usar qualquer emoji personalizado, outros usuários só podem usar os emojis personalizados contidos no pacote de emojis [inputStickerSetEmojiDefaultTopicIcons](https://core.telegram.org/constructor/inputStickerSetEmojiDefaultTopicIcons.md). Passe 0 para mudar para o ícone do tópico substituto.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "closed": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "Se presente, atualizará o status aberto/fechado do tópico."}, "hidden": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool", "description": "Se presente, irá ocultar/exibir o tópico (válido apenas para o tópico \"Geral\", `id=1`)."}}, "additionalProperties": false, "required": ["peer", "topic_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O fórum do supergrupo, chat privado (para bots habilitados para fórum) ou fórum de bot (para usuários) onde o tópico está localizado. |\n| `topic_id` | `int` | Sim | ID do tópico |\n| `title` | `string` | Não | Se presente, atualizará o título do tópico (comprimento máximo UTF-8: 128). |\n| `icon_emoji_id` | `long` | Não | Se presente, atualiza o [emoji personalizado](https://core.telegram.org/api/custom-emoji.md) usado como ícone do tópico. [Os usuários do Telegram Premium](https://core.telegram.org/api/premium.md) podem usar qualquer emoji personalizado, outros usuários só podem usar os emojis personalizados contidos no pacote de emojis [inputStickerSetEmojiDefaultTopicIcons](https://core.telegram.org/constructor/inputStickerSetEmojiDefaultTopicIcons.md). Passe 0 para mudar para o ícone do tópico substituto. |\n| `closed` | `Bool` | Não | Se presente, atualizará o status aberto/fechado do tópico. |\n| `hidden` | `Bool` | Não | Se presente, irá ocultar/exibir o tópico (válido apenas para o tópico \"Geral\", `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": ["Mensagens"], "summary": "Fixar ou desafixar tópicos do fórum", "description": "Fixar ou desafixar [tópicos do fórum](https://core.telegram.org/api/forum.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tópicos do fórum](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O fórum do supergrupo, chat privado (para bots habilitados para fórum) ou fórum de bot (para usuários) onde o tópico está localizado."}, "topic_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[ID do tópico do fórum](https://core.telegram.org/api/forum.md)"}, "pinned": {"type": "boolean", "x-tl-type": "Bool", "description": "Seja para fixar ou desafixar o tópico"}}, "additionalProperties": false, "required": ["peer", "topic_id", "pinned"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O fórum do supergrupo, chat privado (para bots habilitados para fórum) ou fórum de bot (para usuários) onde o tópico está localizado. |\n| `topic_id` | `int` | Sim | [ID do tópico do fórum](https://core.telegram.org/api/forum.md) |\n| `pinned` | `Bool` | Sim | Seja para fixar ou desafixar o tópico |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "392032849"}}, "/catalog/messages.reorderPinnedForumTopics": {"post": {"operationId": "messages.reorderPinnedForumTopics", "tags": ["Mensagens"], "summary": "Reordenar tópicos fixados do fórum", "description": "Reordenar tópicos fixados do fórum\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tópicos do fórum](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se não for definido, a ordem apenas dos tópicos presentes no lado do servidor e em `order` será alterada (i.e. mencionar tópicos não fixados no lado do servidor em `order` não irá fixá-los, e não mencionar tópicos fixados no lado do servidor não irá desafixá-los).   Se definido, toda a lista de tópicos fixados no lado do servidor será substituída por `order` (i.e. mencionar tópicos não fixados no lado do servidor em `order` irá fixá-los, e não mencionar tópicos fixados no lado do servidor irá desbloqueá-los)"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "O fórum do supergrupo, chat privado (para bots habilitados para fórum) ou fórum de bot (para usuários) onde o tópico está localizado."}, "order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "[IDs do tópico »](https://core.telegram.org/api/forum.md)"}}, "additionalProperties": false, "required": ["peer", "order"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `force` | `true` | Não | Se não for definido, a ordem apenas dos tópicos presentes no lado do servidor e em `order` será alterada (i.e. mencionar tópicos não fixados no lado do servidor em `order` não irá fixá-los, e não mencionar tópicos fixados no lado do servidor não irá desafixá-los).   Se definido, toda a lista de tópicos fixados no lado do servidor será substituída por `order` (i.e. mencionar tópicos não fixados no lado do servidor em `order` irá fixá-los, e não mencionar tópicos fixados no lado do servidor irá desbloqueá-los) |\n| `peer` | `InputPeer` | Sim | O fórum do supergrupo, chat privado (para bots habilitados para fórum) ou fórum de bot (para usuários) onde o tópico está localizado. |\n| `order` | `Vector<int>` | Sim | [IDs do tópico »](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": ["Mensagens"], "summary": "Crie um tópico no fórum.", "description": "Crie um [tópico do fórum](https://core.telegram.org/api/forum.md).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Tópicos do fórum](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- [Trabalhando com atualizações](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `BOT_FORUM_CREATE_FORBIDDEN` — Como o sinalizador user.bot_forum_can_manage_topics do bot **não** está definido, o usuário não pode criar ou modificar tópicos do fórum do bot.\n- 400 · `CHANNEL_FORUM_MISSING` — Este supergrupo não é um fórum.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, o tópico não terá título definido pelo usuário, só pode ser definido para os tópicos por usuário de [bot forums](https://core.telegram.org/api/forum.md#bot-forums); se este campo estiver definido, o título do tópico provavelmente precisará ser alterado pelo 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": "O supergrupo, chat privado (para bots habilitados para fórum) ou bot de fórum (para usuários) onde criar o tópico."}, "title": {"type": "string", "x-tl-type": "string", "description": "Título do tópico (comprimento máximo UTF-8: 128)"}, "icon_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Se nenhum ícone de emoji personalizado for especificado, especifica a cor do ícone do tópico substituto (RGB), um de `0x6FB9F0`, `0xFFD67E`, `0xCB86DB`, `0x8EEE98`, `0xFF93B2` ou `0xFB6F5F`."}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do [emoji personalizado](https://core.telegram.org/api/custom-emoji.md) usado como ícone do tópico. [Os usuários do Telegram Premium](https://core.telegram.org/api/premium.md) podem usar qualquer emoji personalizado, outros usuários só podem usar os emojis personalizados contidos no pacote de emojis [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 exclusivo da mensagem do cliente para evitar o envio duplicado do mesmo evento. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento 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": "Crie o tópico como o par especificado", "x-tl-flag": "flags.2?InputPeer"}}, "additionalProperties": false, "required": ["peer", "title", "random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `title_missing` | `true` | Não | Se definido, o tópico não terá título definido pelo usuário, só pode ser definido para os tópicos por usuário de [bot forums](https://core.telegram.org/api/forum.md#bot-forums); se este campo estiver definido, o título do tópico provavelmente precisará ser alterado pelo bot. |\n| `peer` | `InputPeer` | Sim | O supergrupo, chat privado (para bots habilitados para fórum) ou bot de fórum (para usuários) onde criar o tópico. |\n| `title` | `string` | Sim | Título do tópico (comprimento máximo UTF-8: 128) |\n| `icon_color` | `int` | Não | Se nenhum ícone de emoji personalizado for especificado, especifica a cor do ícone do tópico substituto (RGB), um de `0x6FB9F0`, `0xFFD67E`, `0xCB86DB`, `0x8EEE98`, `0xFF93B2` ou `0xFB6F5F`. |\n| `icon_emoji_id` | `long` | Não | ID do [emoji personalizado](https://core.telegram.org/api/custom-emoji.md) usado como ícone do tópico. [Os usuários do Telegram Premium](https://core.telegram.org/api/premium.md) podem usar qualquer emoji personalizado, outros usuários só podem usar os emojis personalizados contidos no pacote de emojis [inputStickerSetEmojiDefaultTopicIcons](https://core.telegram.org/constructor/inputStickerSetEmojiDefaultTopicIcons.md). |\n| `random_id` | `long` | Sim | ID exclusivo da mensagem do cliente para evitar o envio duplicado do mesmo evento. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID. |\n| `send_as` | `InputPeer` | Não | Crie o tópico como o 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": ["Mensagens"], "summary": "Excluir histórico de mensagens de um tópico do fórum", "description": "Excluir histórico de mensagens de um [tópico do fórum](https://core.telegram.org/api/forum.md)\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Tópicos do fórum](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 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": "Digite TL: messages.AffectedHistory."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O fórum do supergrupo, chat privado (para bots habilitados para fórum) ou fórum de bot (para usuários) onde o tópico está localizado."}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID do tópico"}}, "additionalProperties": false, "required": ["peer", "top_msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O fórum do supergrupo, chat privado (para bots habilitados para fórum) ou fórum de bot (para usuários) onde o tópico está localizado. |\n| `top_msg_id` | `int` | Sim | ID do tópico |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "3531697936"}}, "/catalog/messages.getEmojiGameInfo": {"post": {"operationId": "messages.getEmojiGameInfo", "tags": ["Mensagens"], "summary": "Busque informações do jogo de dados.", "description": "Busque informações do jogo 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 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": "Digite TL: messages.EmojiGameInfo."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/messages.getEmojiGameInfo"}, "x-browser-schema-id": "4219374759"}}, "/catalog/messages.summarizeText": {"post": {"operationId": "messages.summarizeText", "tags": ["Mensagens"], "summary": "Resuma o conteúdo de uma mensagem com IA, veja aqui » para mais informações.", "description": "Resuma o conteúdo de uma mensagem com IA, veja [aqui »](https://core.telegram.org/api/ai.md#summarize-messages) para mais informações.\n\nOs clientes devem usar [message](https://core.telegram.org/constructor/message.md).`summary_from_language` como dica para mostrar um botão de resumo; sua ausência não proíbe a invocação deste método.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Recursos 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 MTProto · `TextWithEntities`.\n\n[TextoComEntidades](https://core.telegram.org/type/TextWithEntities.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Tipo TL: TextWithEntities."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `INPUT_TEXT_TOO_LONG` — O texto especificado é muito longo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O par onde a mensagem está localizada."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem."}, "to_lang": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Se definido, gera o resumo no idioma de destino especificado (código de idioma ISO 639-1 de duas letras) em vez do idioma da mensagem."}, "tone": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Se definido, reformula o resumo usando o [tom do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) especificado (passar o identificador do tom)"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O par onde a mensagem está localizada. |\n| `id` | `int` | Sim | ID da mensagem. |\n| `to_lang` | `string` | Não | Se definido, gera o resumo no idioma de destino especificado (código de idioma ISO 639-1 de duas letras) em vez do idioma da mensagem. |\n| `tone` | `string` | Não | Se definido, reformula o resumo usando o [tom do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) especificado (passar o identificador do tom) |"}, "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": ["Mensagens"], "summary": "Transferir a propriedade de um grupo básico, supergrupo ou canal para outro usuário, veja aqui » para o fluxo completo.", "description": "Transferir a propriedade de um grupo básico, supergrupo ou canal para outro usuário, veja [aqui »](https://core.telegram.org/api/channel.md#transferring-ownership-of-a-group-channel) para o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](https://core.telegram.org/api/srp.md)\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNELS_ADMIN_PUBLIC_TOO_MUCH` — Você é administrador de muitos canais públicos, torne alguns canais privados para alterar o nome de usuário deste canal.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_MEMBER_ADD_FAILED` — Não foi possível adicionar participantes.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `PASSWORD_HASH_INVALID` — O hash da senha fornecido é inválido.\n- 400 · `PASSWORD_MISSING` — Você deve [habilitar 2FA](https://core.telegram.org/api/srp.md) antes de executar esta operação.\n- 400 · `PASSWORD_TOO_FRESH_%d` — A senha foi modificada há menos de 24 horas. Tente novamente em %d segundos.\n- 400 · `SESSION_TOO_FRESH_%d` — Esta sessão foi criada há menos de 24 horas. Tente novamente em %d segundos.\n- 400 · `SRP_ID_INVALID` — SRP ID fornecido inválido.\n- 400 · `USERS_TOO_MUCH` — O número máximo de usuários foi excedido (para criar um chat, por exemplo).\n- 403 · `USER_CHANNELS_TOO_MUCH` — Um dos usuários que você tentou adicionar já está em muitos canais/supergrupos.\n- 400 · `USER_NOT_MUTUAL_CONTACT` — O usuário fornecido não é um contato mútuo.\n- 403 · `USER_PRIVACY_RESTRICTED` — As configurações de privacidade do usuário não permitem que você faça isso."}}, "externalDocs": {"description": "Documentação oficial do 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 propriedade."}, "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 do novo proprietário."}, "password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "A [senha 2FA](https://core.telegram.org/api/srp.md)."}}, "additionalProperties": false, "required": ["peer", "user_id", "password"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Grupo/supergrupo/canal de propriedade. |\n| `user_id` | `InputUser` | Sim | ID do novo proprietário. |\n| `password` | `InputCheckPasswordSRP` | Sim | A [senha 2FA](https://core.telegram.org/api/srp.md). |"}, "x-telegram-rpc-errors": ["CHANNELS_ADMIN_PUBLIC_TOO_MUCH", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_MEMBER_ADD_FAILED", "INPUT_USER_DEACTIVATED", "PASSWORD_HASH_INVALID", "PASSWORD_MISSING", "PASSWORD_TOO_FRESH_%d", "SESSION_TOO_FRESH_%d", "SRP_ID_INVALID", "USERS_TOO_MUCH", "USER_CHANNELS_TOO_MUCH", "USER_NOT_MUTUAL_CONTACT", "USER_PRIVACY_RESTRICTED"], "x-browser-schema-id": "4148410455"}}, "/catalog/messages.getFutureChatCreatorAfterLeave": {"post": {"operationId": "messages.getFutureChatCreatorAfterLeave", "tags": ["Mensagens"], "summary": "Apenas proprietários de grupos/canais: retorna o ID do usuário que se tornará o novo proprietário do grupo se decidirmos sair do grupo, veja aqui » para mais informações sobre o fluxo completo.", "description": "Apenas proprietários de grupos/canais: retorna o ID do usuário que se tornará o novo proprietário do grupo se decidirmos sair do grupo, veja [aqui »](https://core.telegram.org/api/channel.md#leaving-groups-channels) para mais informações sobre o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `User`.\n\n[Usuário](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": "Digite TL: Usuário."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_ID_INVALID` — O ID do supergrupo especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O grupo/supergrupo/canal básico do qual estamos prestes a sair."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O grupo/supergrupo/canal básico do qual estamos prestes a sair. |"}, "x-telegram-rpc-errors": ["CHANNEL_ID_INVALID"], "x-browser-schema-id": "998051494"}}, "/catalog/messages.editChatParticipantRank": {"post": {"operationId": "messages.editChatParticipantRank", "tags": ["Mensagens"], "summary": "Edite a tag de um participante do grupo ».", "description": "Edite a [tag »](https://core.telegram.org/api/rank.md) de um participante do grupo.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Tags de participantes do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O grupo/supergrupo básico."}, "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": "O participante."}, "rank": {"type": "string", "x-tl-type": "string", "description": "A nova etiqueta."}}, "additionalProperties": false, "required": ["peer", "participant", "rank"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O grupo/supergrupo básico. |\n| `participant` | `InputPeer` | Sim | O participante. |\n| `rank` | `string` | Sim | A nova etiqueta. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2685350576"}}, "/catalog/messages.declineUrlAuth": {"post": {"operationId": "messages.declineUrlAuth", "tags": ["Mensagens"], "summary": "Recusar uma solicitação de autorização OAuth recebida », notificando o servidor que o usuário recusou a solicitação de login.", "description": "Recusar uma [solicitação de autorização OAuth »](https://core.telegram.org/api/url-authorization.md#oauth-authorization) recebida, notificando o servidor que o usuário recusou a solicitação de login.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tratamento de notificações PUSH](https://core.telegram.org/api/push-updates.md)\n- [Eventos da Web](https://core.telegram.org/api/web-events.md)\n- [Login perfeito no telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `URL_INVALID` — URL fornecido inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O link direto do OAuth da [OAUTH_REQUEST notificação push](https://core.telegram.org/api/push-updates.md#oauth-request) ou do [`oauth_request` evento web](https://core.telegram.org/api/web-events.md#oauth-request)"}}, "additionalProperties": false, "required": ["url"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `url` | `string` | Sim | O link direto do OAuth da [OAUTH_REQUEST notificação push](https://core.telegram.org/api/push-updates.md#oauth-request) ou do [`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": ["Mensagens"], "summary": "Valide o código de correspondência selecionado pelo usuário em relação ao código mostrado na página de login, como parte do fluxo de autorização OAuth ».", "description": "Valide o código de correspondência selecionado pelo usuário em relação ao código mostrado na página de login, como parte do [fluxo de autorização OAuth »](https://core.telegram.org/api/url-authorization.md#oauth-authorization).\n\nSó pode ser usado quando `match_codes` e `match_codes_first` estão definidos em [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md) retornado por [messages.requestUrlAuth](https://core.telegram.org/method/messages.requestUrlAuth.md).\nSe [boolTrue](https://core.telegram.org/constructor/boolTrue.md) for retornado, prossiga com o fluxo de login e passe o código verificado para [messages.acceptUrlAuth](https://core.telegram.org/method/messages.acceptUrlAuth.md).`match_code`.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Login perfeito no telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `URL_INVALID` — URL fornecido inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O link direto do OAuth"}, "match_code": {"type": "string", "x-tl-type": "string", "description": "O emoji ou código selecionado pelo usuário na lista em [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`match_codes`"}}, "additionalProperties": false, "required": ["url", "match_code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `url` | `string` | Sim | O link direto do OAuth |\n| `match_code` | `string` | Sim | O emoji ou código selecionado pelo usuário na lista em [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": ["Mensagens"], "summary": "Invoca o Editor AI do Telegram que pode traduzir, transformar, corrigir e/ou emoticonizar sua mensagem de várias maneiras diferentes, com tecnologia privada da Cocoon, veja aqui » para mais informações!", "description": "Invoca o Editor AI do telegrama que pode traduzir, transformar, corrigir e/ou emoticonizar sua mensagem de várias maneiras diferentes, desenvolvido de forma privada por [Cocoon](https://cocoon.org), veja [aqui »](https://core.telegram.org/api/ai.md#compose-messages) para mais informações!\n\nTodos os modos especificados abaixo podem ser combinados.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Recursos 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 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": "### Erros MTProto (RPC)\n\n- 400 · `AICOMPOSE_FLOOD_PREMIUM` — Você atingiu o limite diário de transformações de texto de IA, atualize para [Telegram Premium](https://core.telegram.org/api/premium.md) para obter **50x** vezes mais transformações de texto de IA por dia!\n- 500 · `AICOMPOSE_TIMEOUT` — Ocorreu um tempo limite ao redigir a mensagem.\n- 400 · `AI_COMPOSE_TASK_MISSING` — Nenhuma tarefa de IA foi especificada. O chamador deve fornecer pelo menos um dos seguintes: revisar, traduzir (com um idioma de destino), tom ou emojify.\n- 400 · `MESSAGE_EMPTY` — A mensagem fornecida está vazia."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, revisa e corrige erros na mensagem"}, "emojify": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Se definido, adiciona emojis à mensagem"}, "text": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "A mensagem"}, "translate_to_lang": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Se definido, traduz a mensagem para o 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": "Se definido, reformula a mensagem usando o [tom do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) especificado", "x-tl-flag": "flags.2?InputAiComposeTone"}}, "additionalProperties": false, "required": ["text"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `proofread` | `true` | Não | Se definido, revisa e corrige erros na mensagem |\n| `emojify` | `true` | Não | Se definido, adiciona emojis à mensagem |\n| `text` | `TextWithEntities` | Sim | A mensagem |\n| `translate_to_lang` | `string` | Não | Se definido, traduz a mensagem para o idioma especificado |\n| `tone` | `InputAiComposeTone` | Não | Se definido, reformula a mensagem usando o [tom do 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": ["Mensagens"], "summary": "Reporte métricas de leitura da janela de visualização para mensagens visíveis, indicando quanto tempo cada mensagem permaneceu na janela de visualização do chat, veja aqui » para mais informações sobre o fluxo completo.", "description": "Reporte métricas de leitura da janela de visualização para mensagens visíveis, indicando quanto tempo cada mensagem permaneceu na janela de visualização do chat, veja [aqui »](https://core.telegram.org/api/views.md#read-metrics) para mais informações sobre o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Visualizações e métricas de leitura](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Pare onde as mensagens estão localizadas"}, "metrics": {"type": "array", "items": {"type": "object", "x-tl-type": "InputMessageReadMetric", "oneOf": [{"$ref": "#/components/schemas/inputMessageReadMetric"}], "description": "Tipo TL: InputMessageReadMetric."}, "x-tl-type": "Vector<InputMessageReadMetric>", "description": "Lista de métricas de leitura para mensagens individuais"}}, "additionalProperties": false, "required": ["peer", "metrics"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Pare onde as mensagens estão localizadas |\n| `metrics` | `Vector<InputMessageReadMetric>` | Sim | Lista de métricas de leitura para mensagens individuais |"}, "x-browser-schema-id": "1080542694"}}, "/catalog/messages.reportMusicListen": {"post": {"operationId": "messages.reportMusicListen", "tags": ["Mensagens"], "summary": "Relate a duração de audição de uma faixa de música (documento de áudio sem o sinalizador `voice`), veja aqui » para mais informações sobre o fluxo completo.", "description": "Relate a duração de audição de uma faixa de música (documento de áudio sem o sinalizador `voice`), veja [aqui »](https://core.telegram.org/api/views.md#music-listens) para mais informações sobre o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Visualizações e métricas de leitura](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "O [InputDocument](https://core.telegram.org/type/InputDocument.md) da música ouvida"}, "listened_duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tempo de jogo acumulado em segundos inteiros"}}, "additionalProperties": false, "required": ["id", "listened_duration"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `InputDocument` | Sim | O [InputDocument](https://core.telegram.org/type/InputDocument.md) da música ouvida |\n| `listened_duration` | `int` | Sim | Tempo de jogo acumulado em segundos inteiros |"}, "x-browser-schema-id": "3720140825"}}, "/catalog/messages.addPollAnswer": {"post": {"operationId": "messages.addPollAnswer", "tags": ["Mensagens"], "summary": "Adicionar uma opção de resposta a uma enquete de resposta aberta »", "description": "Adicione uma opção de resposta a uma [enquete de resposta aberta »](https://core.telegram.org/api/poll.md#open-answer-polls)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Enquetes e questionários](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Pare onde a enquete está localizada"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem da enquete"}, "answer": {"type": "object", "x-tl-type": "PollAnswer", "oneOf": [{"$ref": "#/components/schemas/pollAnswer"}, {"$ref": "#/components/schemas/inputPollAnswer"}], "description": "A nova opção de resposta a ser adicionada, use [inputPollAnswer](https://core.telegram.org/constructor/inputPollAnswer.md)"}}, "additionalProperties": false, "required": ["peer", "msg_id", "answer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Pare onde a enquete está localizada |\n| `msg_id` | `int` | Sim | ID da mensagem da enquete |\n| `answer` | `PollAnswer` | Sim | A nova opção de resposta a ser adicionada, 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": ["Mensagens"], "summary": "Remover uma opção de resposta de uma enquete de resposta aberta »", "description": "Remover uma opção de resposta de uma [enquete de resposta aberta »](https://core.telegram.org/api/poll.md#open-answer-polls)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Enquetes e questionários](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Pare onde a enquete está localizada"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem da enquete"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "O identificador `option` da resposta a ser removida"}}, "additionalProperties": false, "required": ["peer", "msg_id", "option"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Pare onde a enquete está localizada |\n| `msg_id` | `int` | Sim | ID da mensagem da enquete |\n| `option` | `bytes` | Sim | O identificador `option` da resposta a ser removida |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2894398885"}}, "/catalog/messages.getUnreadPollVotes": {"post": {"operationId": "messages.getUnreadPollVotes", "tags": ["Mensagens"], "summary": "Receba mensagens contendo enquetes com votos não lidos »", "description": "Receba mensagens contendo enquetes com [votos não lidos »](https://core.telegram.org/api/poll.md#unread-poll-votes)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Enquetes e questionários](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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bate-papo para obter votos de enquetes não lidos"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Se o chat for um fórum, restrinja os resultados a este tópico"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Retorna apenas mensagens com IDs menores ou iguais a este valor"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Retorna apenas mensagens com IDs maiores ou iguais a este valor"}}, "additionalProperties": false, "required": ["peer", "offset_id", "add_offset", "limit", "max_id", "min_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O bate-papo para obter votos de enquetes não lidos |\n| `top_msg_id` | `int` | Não | Se o chat for um fórum, restrinja os resultados a este tópico |\n| `offset_id` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `add_offset` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | Sim | Retorna apenas mensagens com IDs menores ou iguais a este valor |\n| `min_id` | `int` | Sim | Retorna apenas mensagens com IDs maiores ou iguais a este valor |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1126722802"}}, "/catalog/messages.readPollVotes": {"post": {"operationId": "messages.readPollVotes", "tags": ["Mensagens"], "summary": "Marcar todos os votos não lidos da enquete » em um bate-papo como lidos", "description": "Marcar todos os [votos não lidos da enquete »](https://core.telegram.org/api/poll.md#unread-poll-votes) em um bate-papo como lidos\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Enquetes e questionários](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 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": "Digite TL: messages.AffectedHistory."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bate-papo para marcar os votos da enquete como lidos"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Se o chat for um fórum, restrinja-se a este tópico"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O bate-papo para marcar os votos da enquete como lidos |\n| `top_msg_id` | `int` | Não | Se o chat for um fórum, restrinja-se a este tópico |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "388019416"}}, "/catalog/messages.setBotGuestChatResult": {"post": {"operationId": "messages.setBotGuestChatResult", "tags": ["Mensagens"], "summary": "Os bots podem usar este método para responder a uma consulta do modo convidado » recebida por meio de uma atualização updateBotGuestChatQuery, fornecendo a mensagem para postar no chat como convidado, veja aqui » para mais informações.", "description": "Os bots podem usar este método para responder a uma consulta [modo visitante »](https://core.telegram.org/api/bots/guest-mode.md) recebida por meio de uma atualização [updateBotGuestChatQuery](https://core.telegram.org/constructor/updateBotGuestChatQuery.md), fornecendo a mensagem para postar no chat como convidado, veja [aqui »](https://core.telegram.org/api/bots/guest-mode.md#handling-guest-queries-bot-side) para mais informações.\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.\n\n**Documentação relacionada**\n\n- [Modo visitante 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 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 TL: InputBotInlineMessageID."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `USER_BOT_INVALID` — As contas de usuário devem fornecer o parâmetro de método `bot` ao chamar este método. Se não houver tal parâmetro de método, este método só poderá ser invocado por contas de bot.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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 do 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": "O resultado a ser enviado como resposta à consulta"}}, "additionalProperties": false, "required": ["query_id", "result"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `query_id` | `long` | Sim | Identificador de consulta do campo [updateBotGuestChatQuery](https://core.telegram.org/constructor/updateBotGuestChatQuery.md).`query_id` |\n| `result` | `InputBotInlineResult` | Sim | O resultado a ser enviado como resposta à consulta |"}, "x-telegram-rpc-errors": ["USER_BOT_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "3102803683"}}, "/catalog/messages.deleteParticipantReactions": {"post": {"operationId": "messages.deleteParticipantReactions", "tags": ["Mensagens"], "summary": "Como administrador, remova todas as reações de um participante específico de cada mensagem em um grupo ou canal.", "description": "Como administrador, remova todas as [reações](https://core.telegram.org/api/reactions.md) de um participante específico de cada mensagem em um grupo ou canal.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Reações de mensagens](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O grupo ou canal onde as reações do participante devem ser removidas"}, "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": "O participante cujas reações devem ser removidas"}}, "additionalProperties": false, "required": ["peer", "participant"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O grupo ou canal onde as reações do participante devem ser removidas |\n| `participant` | `InputPeer` | Sim | O participante cujas reações devem ser removidas |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2696416504"}}, "/catalog/messages.deleteParticipantReaction": {"post": {"operationId": "messages.deleteParticipantReaction", "tags": ["Mensagens"], "summary": "Como administrador, remova todas as reações de um participante específico de uma única mensagem.", "description": "Como administrador, remova todas as [reações](https://core.telegram.org/api/reactions.md) de um participante específico de uma única mensagem.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Reações de mensagens](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O grupo ou canal onde a mensagem está localizada"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem cujas reações devem ser removidas"}, "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": "O participante cujas reações devem ser removidas da mensagem"}}, "additionalProperties": false, "required": ["peer", "msg_id", "participant"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O grupo ou canal onde a mensagem está localizada |\n| `msg_id` | `int` | Sim | ID da mensagem cujas reações devem ser removidas |\n| `participant` | `InputPeer` | Sim | O participante cujas reações devem ser removidas da mensagem |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3820484652"}}, "/catalog/messages.getPersonalChannelHistory": {"post": {"operationId": "messages.getPersonalChannelHistory", "tags": ["Mensagens"], "summary": "Busque o histórico de mensagens do canal pessoal de um usuário ».", "description": "Obtenha o histórico de mensagens do [canal pessoal »](https://core.telegram.org/api/profile.md#personal-channel) de um usuário.\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Perfis de usuário](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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O usuário cujo histórico de canal pessoal deve ser buscado"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se um valor positivo foi transferido, o método retornará apenas mensagens com IDs menores que **max_id**"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se um valor positivo foi transferido, o método retornará apenas mensagens com IDs maiores que **min_id**"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash do resultado](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["user_id", "limit", "max_id", "min_id", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Sim | O usuário cujo histórico de canal pessoal deve ser buscado |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | Sim | Se um valor positivo foi transferido, o método retornará apenas mensagens com IDs menores que **max_id** |\n| `min_id` | `int` | Sim | Se um valor positivo foi transferido, o método retornará apenas mensagens com IDs maiores que **min_id** |\n| `hash` | `long` | Sim | [Hash do resultado](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": ["Mensagens"], "summary": "messages.getRichMessage", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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": "Digite 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 TL:InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |\n| `id` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1343580623"}}, "/catalog/messages.translateRichMessage": {"post": {"operationId": "messages.translateRichMessage", "tags": ["Mensagens"], "summary": "messages.translateRichMessage", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 do 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 do tipo TL `Vector<InputRichMessage>`."}, "to_lang": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "tone": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["to_lang"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Não | Tipo TL:InputPeer. |\n| `id` | `Vector<int>` | Não | Valor do tipo TL `Vector<int>`. |\n| `text` | `Vector<InputRichMessage>` | Não | Valor do tipo TL `Vector<InputRichMessage>`. |\n| `to_lang` | `string` | Sim | Valor do tipo TL `string`. |\n| `tone` | `string` | Não | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "441720836"}}, "/catalog/messages.composeRichMessageWithAI": {"post": {"operationId": "messages.composeRichMessageWithAI", "tags": ["Mensagens"], "summary": "messages.composeRichMessageWithAI", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `true`."}, "emojify": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Valor do 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 do 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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `proofread` | `true` | Não | Valor do tipo TL `true`. |\n| `emojify` | `true` | Não | Valor do tipo TL `true`. |\n| `text` | `InputRichMessage` | Não | Тип TL: InputRichMessage. |\n| `translate_to_lang` | `string` | Não | Valor do tipo TL `string`. |\n| `tone` | `InputAiComposeTone` | Não | Тип TL: InputAiComposeTone. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2373641903"}}, "/catalog/messages.requestChatJoinWebView": {"post": {"operationId": "messages.requestChatJoinWebView", "tags": ["Mensagens"], "summary": "messages.requestChatJoinWebView", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 MTProto · `WebViewResult`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "Tipo TL: WebViewResult."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Tipo TL: DataJSON.", "x-tl-flag": "flags.0?DataJSON"}, "platform": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["query_id", "platform"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `query_id` | `long` | Sim | 64-битное целое в десятичной записи. |\n| `theme_params` | `DataJSON` | Não | Tipo TL: DataJSON. |\n| `platform` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3130975865"}}, "/catalog/messages.setShareTheme": {"post": {"operationId": "messages.setShareTheme", "tags": ["Mensagens"], "summary": "messages.setShareTheme", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |\n| `theme` | `ShareTheme` | Sim | Тип TL: ShareTheme. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1770691354"}}, "/catalog/messages.getShareThemeBackdrops": {"post": {"operationId": "messages.getShareThemeBackdrops", "tags": ["Mensagens"], "summary": "messages.getShareThemeBackdrops", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `int`."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "4099514098"}}, "/catalog/messages.getBotWidgetQueryAnswer": {"post": {"operationId": "messages.getBotWidgetQueryAnswer", "tags": ["Mensagens"], "summary": "messages.getBotWidgetQueryAnswer", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 TL:InputPeer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do 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 do tipo TL `bytes`."}}, "additionalProperties": false, "required": ["peer", "msg_id", "query_type", "data"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |\n| `msg_id` | `int` | Sim | Valor do tipo TL `int`. |\n| `query_type` | `WidgetQueryType` | Sim | Тип TL: WidgetQueryType. |\n| `data` | `bytes` | Sim | Valor do tipo TL `bytes`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1549075833"}}, "/catalog/messages.setBotWidgetQueryAnswer": {"post": {"operationId": "messages.setBotWidgetQueryAnswer", "tags": ["Mensagens"], "summary": "messages.setBotWidgetQueryAnswer", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "result": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["query_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `query_id` | `long` | Sim | 64-битное целое в десятичной записи. |\n| `result` | `string` | Não | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "4174244970"}}, "/catalog/messages.editMessageWidgetData": {"post": {"operationId": "messages.editMessageWidgetData", "tags": ["Mensagens"], "summary": "messages.editMessageWidgetData", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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: Atualizações."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/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 TL:InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}, "public_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor do tipo TL `string`."}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |\n| `id` | `int` | Sim | Valor do tipo TL `int`. |\n| `public_data` | `string` | Não | Valor do tipo TL `string`. |\n| `chat_data` | `string` | Não | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "4129602590"}}, "/catalog/messages.editInlineBotMessageWidgetData": {"post": {"operationId": "messages.editInlineBotMessageWidgetData", "tags": ["Mensagens"], "summary": "messages.editInlineBotMessageWidgetData", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL: InputBotInlineMessageID."}, "public_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor do tipo TL `string`."}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `InputBotInlineMessageID` | Sim | Tipo TL: InputBotInlineMessageID. |\n| `public_data` | `string` | Não | Valor do tipo TL `string`. |\n| `chat_data` | `string` | Não | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1670827563"}}, "/catalog/messages.editWidgetData": {"post": {"operationId": "messages.editWidgetData", "tags": ["Mensagens"], "summary": "messages.editWidgetData", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "public_data": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Valor do tipo TL `int`."}}, "additionalProperties": false, "required": ["widget_id", "public_data"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `widget_id` | `long` | Sim | 64-битное целое в десятичной записи. |\n| `public_data` | `string` | Sim | Valor do tipo TL `string`. |\n| `cache_time` | `int` | Não | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3938665408"}}, "/catalog/messages.getWidgetPublicData": {"post": {"operationId": "messages.getWidgetPublicData", "tags": ["Mensagens"], "summary": "messages.getWidgetPublicData", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 TL:InputPeer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "msg_id", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |\n| `msg_id` | `int` | Sim | Valor do tipo TL `int`. |\n| `hash` | `long` | Sim | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1875194241"}}, "/catalog/messages.transcribeAudioFile": {"post": {"operationId": "messages.transcribeAudioFile", "tags": ["Mensagens"], "summary": "messages.transcribeAudioFile", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 MTProto · `messages.TranscribedAudio`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.TranscribedAudio", "oneOf": [{"$ref": "#/components/schemas/messages.transcribedAudio"}], "description": "Digite 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: Arquivo de entrada."}}, "additionalProperties": false, "required": ["file"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `file` | `InputFile` | Sim | Tipo TL: Arquivo de entrada. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "120401655"}}, "/catalog/messages.getTranscriptionLangs": {"post": {"operationId": "messages.getTranscriptionLangs", "tags": ["Mensagens"], "summary": "messages.getTranscriptionLangs", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 TL:InputPeer.", "x-tl-flag": "flags.0?InputPeer"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Não | Tipo TL:InputPeer. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3127695786"}}, "/catalog/messages.inviteUsersToBot": {"post": {"operationId": "messages.inviteUsersToBot", "tags": ["Mensagens"], "summary": "messages.inviteUsersToBot", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL: InputUser."}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Tipo TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Valor do tipo TL `Vector<InputUser>`."}}, "additionalProperties": false, "required": ["bot", "users"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | Tipo TL: InputUser. |\n| `users` | `Vector<InputUser>` | Sim | Valor do tipo TL `Vector<InputUser>`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "498593787"}}, "/catalog/messages.getTranscriptionModels": {"post": {"operationId": "messages.getTranscriptionModels", "tags": ["Mensagens"], "summary": "messages.getTranscriptionModels", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `int`."}}, "additionalProperties": false, "required": ["version"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `version` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "136274721"}}, "/catalog/messages.reportFeedEvents": {"post": {"operationId": "messages.reportFeedEvents", "tags": ["Mensagens"], "summary": "messages.reportFeedEvents", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 do tipo TL `Vector<InputFeedEvent>`."}}, "additionalProperties": false, "required": ["events"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `events` | `Vector<InputFeedEvent>` | Sim | Valor do tipo TL `Vector<InputFeedEvent>`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3835876816"}}, "/catalog/messages.reportNotSpam": {"post": {"operationId": "messages.reportNotSpam", "tags": ["Mensagens"], "summary": "messages.reportNotSpam", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL:InputPeer."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3418396603"}}, "/catalog/messages.getVoipModels": {"post": {"operationId": "messages.getVoipModels", "tags": ["Mensagens"], "summary": "messages.getVoipModels", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `int`."}}, "additionalProperties": false, "required": ["version"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `version` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "546169867"}}, "/catalog/updates.getState": {"post": {"operationId": "updates.getState", "tags": ["Atualizações"], "summary": "Retorna um estado atual de atualizações.", "description": "Retorna um estado atual de atualizações.", "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 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": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/updates.getState"}, "x-browser-schema-id": "3990128682"}}, "/catalog/updates.getDifference": {"post": {"operationId": "updates.getDifference", "tags": ["Atualizações"], "summary": "Receba novas atualizações.", "description": "Obtenha novas [atualizações](https://core.telegram.org/api/updates.md).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CDN_METHOD_INVALID` — Você não pode chamar este método em um DC CDN.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `DATE_EMPTY` — Data vazia.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PERSISTENT_TIMESTAMP_EMPTY` — Carimbo de data/hora persistente vazio.\n- 400 · `PERSISTENT_TIMESTAMP_INVALID` — Carimbo de data/hora persistente inválido.\n- 500 · `RANDOM_ID_DUPLICATE` — Você forneceu um ID aleatório que já foi usado.\n- 400 · `USERNAME_INVALID` — O nome de usuário fornecido não é válido.\n- 400 · `USER_NOT_PARTICIPANT` — Você não é membro deste supergrupo/canal."}}, "externalDocs": {"description": "Documentação oficial do 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 [atualizações](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 limite"}, "pts_total_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Para atualização rápida: se fornecido e `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](https://core.telegram.org/constructor/updates.differenceTooLong.md) será retornado. Simplesmente diz ao servidor para não retornar a diferença se for maior que `pts_total_limit` Se os pontos remotos forem muito grandes (> ~4000000), este campo será padronizado como 1000000"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "data, consulte [atualizações](https://core.telegram.org/api/updates.md)."}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "QTS, consulte [atualizações](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 limite"}}, "additionalProperties": false, "required": ["pts", "date", "qts"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `pts` | `int` | Sim | PTS, consulte [atualizações](https://core.telegram.org/api/updates.md). |\n| `pts_limit` | `int` | Não | PTS limite |\n| `pts_total_limit` | `int` | Não | Para atualização rápida: se fornecido e `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](https://core.telegram.org/constructor/updates.differenceTooLong.md) será retornado. Simplesmente diz ao servidor para não retornar a diferença se for maior que `pts_total_limit` Se os pontos remotos forem muito grandes (> ~4000000), este campo será padronizado como 1000000 |\n| `date` | `int` | Sim | data, consulte [atualizações](https://core.telegram.org/api/updates.md). |\n| `qts` | `int` | Sim | QTS, consulte [atualizações](https://core.telegram.org/api/updates.md). |\n| `qts_limit` | `int` | Não | QTS limite |"}, "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": ["Atualizações"], "summary": "Retorna a diferença entre o estado atual das atualizações de um determinado canal e o transmitido.", "description": "Retorna a diferença entre o estado atual das atualizações de um determinado canal e o transmitido.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Autorização do usuário](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 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": "Digite TL: updates.ChannelDifference."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHANNEL_PUBLIC_GROUP_NA` — canal/supergrupo não disponível.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `FROM_MESSAGE_BOT_DISABLED` — Bots não podem usar construtores fromMessage min.\n- 400 · `FROZEN_PARTICIPANT_MISSING` — A conta corrente está [congelada](https://core.telegram.org/api/auth.md#frozen-accounts) e não pode acessar o peer especificado.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PERSISTENT_TIMESTAMP_EMPTY` — Carimbo de data/hora persistente vazio.\n- 400 · `PERSISTENT_TIMESTAMP_INVALID` — Carimbo de data/hora persistente inválido.\n- 500 · `PERSISTENT_TIMESTAMP_OUTDATED` — Problemas de replicação interna do canal, tente novamente mais tarde (trate isso como um RPC_CALL_FAIL).\n- 400 · `PINNED_DIALOGS_TOO_MUCH` — Muitas caixas de diálogo fixadas.\n- 400 · `RANGES_INVALID` — Intervalo inválido fornecido.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais."}}, "externalDocs": {"description": "Documentação oficial do 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": "Defina como verdadeiro para ignorar algumas atualizações possivelmente desnecessárias e reduzir a carga do servidor"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "O canal"}, "filter": {"type": "object", "x-tl-type": "ChannelMessagesFilter", "oneOf": [{"$ref": "#/components/schemas/channelMessagesFilterEmpty"}, {"$ref": "#/components/schemas/channelMessagesFilter"}], "description": "Filtro de mensagens"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Carimbo de data/hora persistente (veja [atualizações](https://core.telegram.org/api/updates.md))"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Quantas atualizações devem ser buscadas, no máximo `100000` Usuários comuns (não bot) devem passar `10-100`"}}, "additionalProperties": false, "required": ["channel", "filter", "pts", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `force` | `true` | Não | Defina como verdadeiro para ignorar algumas atualizações possivelmente desnecessárias e reduzir a carga do servidor |\n| `channel` | `InputChannel` | Sim | O canal |\n| `filter` | `ChannelMessagesFilter` | Sim | Filtro de mensagens |\n| `pts` | `int` | Sim | Carimbo de data/hora persistente (veja [atualizações](https://core.telegram.org/api/updates.md)) |\n| `limit` | `int` | Sim | Quantas atualizações devem ser buscadas, no máximo `100000` Usuários comuns (não bot) devem passar `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 uma foto enviada anteriormente como foto de perfil.", "description": "Instala uma foto enviada anteriormente como foto de perfil.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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 de TL: photos.Photo."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `ALBUM_PHOTOS_TOO_MANY` — Você carregou muitas fotos de perfil, exclua algumas antes de tentar novamente.\n- 400 · `BOT_FALLBACK_UNSUPPORTED` — O sinalizador de fallback não pode ser definido para bots.\n- 400 · `FILE_PARTS_INVALID` — O número de partes do arquivo é inválido.\n- 400 · `IMAGE_PROCESS_FAILED` — Falha no processamento da imagem.\n- 400 · `LOCATION_INVALID` — A localização fornecida é inválida.\n- 400 · `PHOTO_CROP_SIZE_SMALL` — A foto é muito pequena.\n- 400 · `PHOTO_EXT_INVALID` — A extensão da foto é inválida.\n- 400 · `PHOTO_ID_INVALID` — ID com foto inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, a foto de perfil escolhida será mostrada aos usuários que não podem exibir sua foto de perfil principal devido às suas configurações de privacidade."}, "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": "Pode conter informações de um bot que possuímos, para alterar a foto do perfil desse bot, em vez do usuário atual.", "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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `fallback` | `true` | Não | Se definido, a foto de perfil escolhida será mostrada aos usuários que não podem exibir sua foto de perfil principal devido às suas configurações de privacidade. |\n| `bot` | `InputUser` | Não | Pode conter informações de um bot que possuímos, para alterar a foto do perfil desse bot, em vez do usuário atual. |\n| `id` | `InputPhoto` | Sim | 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": "Atualiza a foto do perfil do usuário atual.", "description": "Atualiza a foto do perfil do usuário atual.\n\nOs sinalizadores `file`, `video` e `video_emoji_markup` são mutuamente exclusivos.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Fazendo upload e download de arquivos](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 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 de TL: photos.Photo."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `ALBUM_PHOTOS_TOO_MANY` — Você carregou muitas fotos de perfil, exclua algumas antes de tentar novamente.\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `EMOJI_MARKUP_INVALID` — O `video_emoji_markup` especificado era inválido.\n- 400 · `FILE_PARTS_INVALID` — O número de partes do arquivo é inválido.\n- 400 · `IMAGE_PROCESS_FAILED` — Falha no processamento da imagem.\n- 400 · `PHOTO_CROP_FILE_MISSING` — Arquivo de corte de foto ausente.\n- 400 · `PHOTO_CROP_SIZE_SMALL` — A foto é muito pequena.\n- 400 · `PHOTO_EXT_INVALID` — A extensão da foto é inválida.\n- 400 · `PHOTO_FILE_MISSING` — Arquivo de foto de perfil ausente.\n- 400 · `PHOTO_INVALID` — Foto inválida.\n- 400 · `STICKER_MIME_INVALID` — O tipo de adesivo MIME especificado é inválido.\n- 400 · `VIDEO_FILE_INVALID` — O arquivo de vídeo especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, a foto de perfil escolhida será mostrada aos usuários que não podem exibir sua foto de perfil principal devido às suas configurações de privacidade."}, "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": "Pode conter informações de um bot que possuímos, para alterar a foto do perfil desse bot, em vez do usuário atual.", "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 do 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": "[Foto 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": "Ponto flutuante UNIX timestamp em segundos, indicando o quadro do vídeo/adesivo que deve ser utilizado como visualização estática; só pode ser usado se `video` ou `video_emoji_markup` estiver definido."}, "video_emoji_markup": {"type": "object", "x-tl-type": "VideoSize", "oneOf": [{"$ref": "#/components/schemas/videoSize"}, {"$ref": "#/components/schemas/videoSizeEmojiMarkup"}, {"$ref": "#/components/schemas/videoSizeStickerMarkup"}], "description": "A imagem de perfil do adesivo animado deve conter um construtor [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md) ou [videoSizeStickerMarkup](https://core.telegram.org/constructor/videoSizeStickerMarkup.md).", "x-tl-flag": "flags.4?VideoSize"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `fallback` | `true` | Não | Se definido, a foto de perfil escolhida será mostrada aos usuários que não podem exibir sua foto de perfil principal devido às suas configurações de privacidade. |\n| `bot` | `InputUser` | Não | Pode conter informações de um bot que possuímos, para alterar a foto do perfil desse bot, em vez do usuário atual. |\n| `file` | `InputFile` | Não | Foto do perfil |\n| `video` | `InputFile` | Não | [Foto de perfil animada](https://core.telegram.org/api/files.md#animated-profile-pictures) vídeo |\n| `video_start_ts` | `double` | Não | Ponto flutuante UNIX timestamp em segundos, indicando o quadro do vídeo/adesivo que deve ser utilizado como visualização estática; só pode ser usado se `video` ou `video_emoji_markup` estiver definido. |\n| `video_emoji_markup` | `VideoSize` | Não | A imagem de perfil do adesivo animado deve conter um construtor [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md) ou [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": "Exclui fotos do perfil. O método retorna uma lista de IDs com foto excluídos com sucesso.", "description": "Exclui fotos do perfil. O método retorna uma lista de IDs com foto excluídos com sucesso.", "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 MTProto · `Vector<long>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[longo](https://core.telegram.org/type/long.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}}}}, "externalDocs": {"description": "Documentação oficial do 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: InputPhoto."}, "x-tl-type": "Vector<InputPhoto>", "description": "Insira fotos para excluir"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputPhoto>` | Sim | Insira fotos para excluir |"}, "x-browser-schema-id": "2278522671"}}, "/catalog/photos.getUserPhotos": {"post": {"operationId": "photos.getUserPhotos", "tags": ["Fotos"], "summary": "Retorna a lista de fotos do usuário.", "description": "Retorna a lista de fotos do usuário.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Referências de arquivo](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MAX_ID_INVALID` — O ID máximo fornecido é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do usuário"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de elementos da lista a serem ignorados"}, "max_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Caso tenha sido transferido um valor positivo, o método retornará apenas fotos com IDs menores que o definido. Este parâmetro é frequentemente útil quando [rebuscar referências de arquivo »](https://core.telegram.org/api/file-references.md), como em conjunto com `limit=1` e `offset=-1` o objeto [foto](https://core.telegram.org/constructor/photo.md) com o `id` especificado em `max_id` pode ser obtido.", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de elementos da lista a serem retornados"}}, "additionalProperties": false, "required": ["user_id", "offset", "max_id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Sim | ID do usuário |\n| `offset` | `int` | Sim | Número de elementos da lista a serem ignorados |\n| `max_id` | `long` | Sim | Caso tenha sido transferido um valor positivo, o método retornará apenas fotos com IDs menores que o definido. Este parâmetro é frequentemente útil quando [rebuscar referências de arquivo »](https://core.telegram.org/api/file-references.md), como em conjunto com `limit=1` e `offset=-1` o objeto [foto](https://core.telegram.org/constructor/photo.md) com o `id` especificado em `max_id` pode ser obtido. |\n| `limit` | `int` | Sim | Número de elementos da lista a serem retornados |"}, "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": "Carregue uma foto de perfil personalizada para um contato ou sugira uma nova foto de perfil para um contato.", "description": "Carregue uma foto de perfil personalizada para um contato ou sugira uma nova foto de perfil para um contato.\n\nOs sinalizadores `file`, `video` e `video_emoji_markup` são mutuamente exclusivos.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Fazendo upload e download de arquivos](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 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 de TL: photos.Photo."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CONTACT_MISSING` — O usuário especificado não é um contato.\n- 400 · `NEED_ACTION_MISSING` — O chamador não especificou uma ação válida (salvar ou sugerir) para o upload da foto do perfil do contato.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, enviará uma mensagem de serviço [messageActionSuggestProfilePhoto](https://core.telegram.org/constructor/messageActionSuggestProfilePhoto.md) para `user_id`, sugerindo que eles usem a imagem de perfil especificada; caso contrário, definirá uma foto de perfil pessoal para o usuário (visível apenas para o usuário atual)."}, "save": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Se definido, remove uma foto de perfil pessoal definida anteriormente (não afeta as fotos de perfil sugeridas, para removê-las simplesmente exclua a mensagem de serviço [messageActionSuggestProfilePhoto](https://core.telegram.org/constructor/messageActionSuggestProfilePhoto.md) com [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": "O contato"}, "file": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "Foto do 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": "[Foto 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": "Ponto flutuante UNIX timestamp em segundos, indicando o quadro do vídeo/adesivo que deve ser utilizado como visualização estática; só pode ser usado se `video` ou `video_emoji_markup` estiver definido."}, "video_emoji_markup": {"type": "object", "x-tl-type": "VideoSize", "oneOf": [{"$ref": "#/components/schemas/videoSize"}, {"$ref": "#/components/schemas/videoSizeEmojiMarkup"}, {"$ref": "#/components/schemas/videoSizeStickerMarkup"}], "description": "A imagem de perfil do adesivo animado deve conter um construtor [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md) ou [videoSizeStickerMarkup](https://core.telegram.org/constructor/videoSizeStickerMarkup.md).", "x-tl-flag": "flags.5?VideoSize"}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `suggest` | `true` | Não | Se definido, enviará uma mensagem de serviço [messageActionSuggestProfilePhoto](https://core.telegram.org/constructor/messageActionSuggestProfilePhoto.md) para `user_id`, sugerindo que eles usem a imagem de perfil especificada; caso contrário, definirá uma foto de perfil pessoal para o usuário (visível apenas para o usuário atual). |\n| `save` | `true` | Não | Se definido, remove uma foto de perfil pessoal definida anteriormente (não afeta as fotos de perfil sugeridas, para removê-las simplesmente exclua a mensagem de serviço [messageActionSuggestProfilePhoto](https://core.telegram.org/constructor/messageActionSuggestProfilePhoto.md) com [messages.deleteMessages](https://core.telegram.org/method/messages.deleteMessages.md)). |\n| `user_id` | `InputUser` | Sim | O contato |\n| `file` | `InputFile` | Não | Foto do perfil |\n| `video` | `InputFile` | Não | [Foto de perfil animada](https://core.telegram.org/api/files.md#animated-profile-pictures) vídeo |\n| `video_start_ts` | `double` | Não | Ponto flutuante UNIX timestamp em segundos, indicando o quadro do vídeo/adesivo que deve ser utilizado como visualização estática; só pode ser usado se `video` ou `video_emoji_markup` estiver definido. |\n| `video_emoji_markup` | `VideoSize` | Não | A imagem de perfil do adesivo animado deve conter um construtor [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md) ou [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": ["Arquivos"], "summary": "Salva uma parte do arquivo para posterior envio para um dos métodos.", "description": "Salva uma parte do arquivo para posterior envio para um dos métodos.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `FILE_PART_EMPTY` — A parte do arquivo fornecida está vazia.\n- 400 · `FILE_PART_INVALID` — O número de peça do arquivo é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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 arquivo aleatório criado pelo cliente", "x-tl-type": "long"}, "file_part": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Ordem numérica de uma peça"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Dados binários, conteúdo de uma parte"}}, "additionalProperties": false, "required": ["file_id", "file_part", "bytes"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `file_id` | `long` | Sim | Identificador de arquivo aleatório criado pelo cliente |\n| `file_part` | `int` | Sim | Ordem numérica de uma peça |\n| `bytes` | `bytes` | Sim | Dados binários, conteúdo de uma 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": ["Arquivos"], "summary": "Retorna o conteúdo de um arquivo inteiro ou de parte dele.", "description": "Retorna o conteúdo de um arquivo inteiro ou de parte dele.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Referências de arquivo](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 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": "Digite TL: upload.File."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CDN_METHOD_INVALID` — Você não pode chamar este método em um DC CDN.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 406 · `FILEREF_UPGRADE_NEEDED` — O cliente precisa ser atualizado para suportar [referências de arquivo](https://core.telegram.org/api/file-references.md).\n- 400 · `FILE_ID_INVALID` — O ID do arquivo fornecido é inválido.\n- 400 · `FILE_REFERENCE_EMPTY` — Uma [referência de arquivo](https://core.telegram.org/api/file-references.md) vazia foi especificada.\n- 400 · `FILE_REFERENCE_EXPIRED` — A referência do arquivo expirou, deve ser recuperada conforme descrito na [documentação](https://core.telegram.org/api/file-references.md).\n- 400 · `FILE_REFERENCE_INVALID` — A [referência de arquivo](https://core.telegram.org/api/file-references.md) especificada é inválida.\n- 420 · `FLOOD_PREMIUM_WAIT_%d` — Aguarde %d segundos antes de repetir a ação ou adquira uma [assinatura Telegram Premium](https://core.telegram.org/api/premium.md) para remover este limite de taxa.\n- 400 · `LIMIT_INVALID` — O limite fornecido é inválido.\n- 400 · `LOCATION_INVALID` — A localização fornecida é inválida.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `OFFSET_INVALID` — O deslocamento fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Desative algumas verificações nos valores de limite e deslocamento, úteis, por exemplo, para transmitir vídeos por quadros-chave"}, "cdn_supported": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se o cliente atual suporta [CDN downloads](https://core.telegram.org/cdn.md)"}, "location": {"type": "object", "x-tl-type": "InputFileLocation", "oneOf": [{"$ref": "#/components/schemas/inputFileLocation"}, {"$ref": "#/components/schemas/inputEncryptedFileLocation"}, {"$ref": "#/components/schemas/inputDocumentFileLocation"}, {"$ref": "#/components/schemas/inputSecureFileLocation"}, {"$ref": "#/components/schemas/inputTakeoutFileLocation"}, {"$ref": "#/components/schemas/inputPhotoFileLocation"}, {"$ref": "#/components/schemas/inputPhotoLegacyFileLocation"}, {"$ref": "#/components/schemas/inputPeerPhotoFileLocation"}, {"$ref": "#/components/schemas/inputStickerSetThumb"}, {"$ref": "#/components/schemas/inputGroupCallStream"}], "description": "Localização do arquivo"}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Número de bytes a serem ignorados", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de bytes a serem retornados"}}, "additionalProperties": false, "required": ["location", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `precise` | `true` | Não | Desative algumas verificações nos valores de limite e deslocamento, úteis, por exemplo, para transmitir vídeos por quadros-chave |\n| `cdn_supported` | `true` | Não | Se o cliente atual suporta [CDN downloads](https://core.telegram.org/cdn.md) |\n| `location` | `InputFileLocation` | Sim | Localização do arquivo |\n| `offset` | `long` | Sim | Número de bytes a serem ignorados |\n| `limit` | `int` | Sim | Número de bytes a serem retornados |"}, "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": ["Arquivos"], "summary": "Salva uma parte de um arquivo grande (com mais de 10 MB) para ser posteriormente passado para um dos métodos.", "description": "Salva uma parte de um arquivo grande (com mais de 10 MB) para ser posteriormente passado para um dos métodos.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `FILE_PARTS_INVALID` — O número de partes do arquivo é inválido.\n- 400 · `FILE_PART_EMPTY` — A parte do arquivo fornecida está vazia.\n- 400 · `FILE_PART_INVALID` — O número de peça do arquivo é inválido.\n- 400 · `FILE_PART_SIZE_CHANGED` — O tamanho da parte do arquivo fornecido foi alterado.\n- 400 · `FILE_PART_SIZE_INVALID` — O tamanho da parte do arquivo fornecido é inválido.\n- 400 · `FILE_PART_TOO_BIG` — A parte do arquivo enviado é muito grande.\n- 400 · `FILE_PART_TOO_SMALL` — O tamanho da parte do arquivo enviado é muito pequeno, consulte a documentação para saber os tamanhos permitidos."}}, "externalDocs": {"description": "Documentação oficial do 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 arquivo aleatório, criado pelo cliente", "x-tl-type": "long"}, "file_part": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de sequência da peça"}, "file_total_parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de peças"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Dados binários, conteúdo da parte"}}, "additionalProperties": false, "required": ["file_id", "file_part", "file_total_parts", "bytes"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `file_id` | `long` | Sim | ID de arquivo aleatório, criado pelo cliente |\n| `file_part` | `int` | Sim | Número de sequência da peça |\n| `file_total_parts` | `int` | Sim | Número total de peças |\n| `bytes` | `bytes` | Sim | Dados binários, conteúdo da parte |"}, "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": ["Arquivos"], "summary": "Retorna o conteúdo de um arquivo da web, fazendo proxy da solicitação por meio de telegrama, consulte a documentação do arquivo da web para obter mais informações.", "description": "Retorna o conteúdo de um arquivo da web, fazendo proxy da solicitação por meio de telegrama, consulte a [documentação do arquivo da web para obter mais informações](https://core.telegram.org/api/files.md#downloading-webfiles).\n\n**Nota**: a consulta deve ser enviada para o DC especificado no `webfile_dc_id` [campo de configuração do MTProto](https://core.telegram.org/api/config.md#mtproto-configuration).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Fazendo upload e download de arquivos](https://core.telegram.org/api/files.md)\n- [Configuração do 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 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": "Digite TL: upload.WebFile."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `DOCUMENT_INVALID` — O documento especificado é inválido.\n- 400 · `LOCATION_INVALID` — A localização fornecida é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "O arquivo para baixar"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de bytes a serem ignorados"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de bytes a serem retornados"}}, "additionalProperties": false, "required": ["location", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `location` | `InputWebFileLocation` | Sim | O arquivo para baixar |\n| `offset` | `int` | Sim | Número de bytes a serem ignorados |\n| `limit` | `int` | Sim | Número de bytes a serem retornados |"}, "x-telegram-rpc-errors": ["DOCUMENT_INVALID", "LOCATION_INVALID"], "x-browser-schema-id": "619086221"}}, "/catalog/upload.getCdnFile": {"post": {"operationId": "upload.getCdnFile", "tags": ["Arquivos"], "summary": "Baixe um arquivo CDN.", "description": "Baixe um arquivo [CDN](https://core.telegram.org/cdn.md).\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `FILE_TOKEN_INVALID` — O DC mestre não aceitou o `file_token` (e.g., o token expirou). Continue baixando o arquivo do DC mestre usando upload.getFile.\n- 404 · `METHOD_INVALID` — O método especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 arquivo"}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Deslocamento do pedaço para download", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Comprimento do pedaço para download"}}, "additionalProperties": false, "required": ["file_token", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `file_token` | `bytes` | Sim | Token de arquivo |\n| `offset` | `long` | Sim | Deslocamento do pedaço para download |\n| `limit` | `int` | Sim | Comprimento do pedaço para download |"}, "x-telegram-rpc-errors": ["FILE_TOKEN_INVALID", "METHOD_INVALID"], "x-browser-schema-id": "962554330"}}, "/catalog/upload.reuploadCdnFile": {"post": {"operationId": "upload.reuploadCdnFile", "tags": ["Arquivos"], "summary": "Solicite o reenvio de um determinado arquivo para um controlador de domínio CDN.", "description": "Solicite um reupload de um determinado arquivo para um [CDN DC](https://core.telegram.org/cdn.md).\n\n**Quem pode chamar esse método** · Usuários e bots do 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 MTProto · `Vector<FileHash>`.\n\n[Vetor](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 TL: FileHash."}, "x-tl-type": "Vector<FileHash>"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CDN_METHOD_INVALID` — Você não pode chamar este método em um DC CDN.\n- 500 · `CDN_UPLOAD_TIMEOUT` — Ocorreu um tempo limite no servidor durante o reenvio do arquivo para o DC CDN.\n- 400 · `FILE_TOKEN_INVALID` — O DC mestre não aceitou o `file_token` (e.g., o token expirou). Continue baixando o arquivo do DC mestre usando upload.getFile.\n- 400 · `LOCATION_INVALID` — A localização fornecida é inválida.\n- 400 · `REQUEST_TOKEN_INVALID` — O DC mestre não aceitou o `request_token` do DC CDN. Continue baixando o arquivo do DC mestre usando upload.getFile.\n- 400 · `RSA_DECRYPT_FAILED` — Falha na descriptografia interna RSA."}}, "externalDocs": {"description": "Documentação oficial do 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 arquivo"}, "request_token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Solicitar token"}}, "additionalProperties": false, "required": ["file_token", "request_token"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `file_token` | `bytes` | Sim | Token de arquivo |\n| `request_token` | `bytes` | Sim | 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": ["Arquivos"], "summary": "Obtenha hashes SHA256 para verificar arquivos CDN baixados", "description": "Obtenha hashes SHA256 para verificar arquivos baixados [CDN](https://core.telegram.org/cdn.md)\n\n**Quem pode chamar esse método** · Usuários e bots do 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 MTProto · `Vector<FileHash>`.\n\n[Vetor](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 TL: FileHash."}, "x-tl-type": "Vector<FileHash>"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CDN_METHOD_INVALID` — Você não pode chamar este método em um DC CDN.\n- 400 · `FILE_TOKEN_INVALID` — O DC mestre não aceitou o `file_token` (e.g., o token expirou). Continue baixando o arquivo do DC mestre usando upload.getFile.\n- 400 · `RSA_DECRYPT_FAILED` — Falha na descriptografia interna RSA."}}, "externalDocs": {"description": "Documentação oficial do 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": "Arquivo"}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Deslocamento a partir do qual começar a obter hashes", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["file_token", "offset"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `file_token` | `bytes` | Sim | Arquivo |\n| `offset` | `long` | Sim | Deslocamento a partir do qual começar a obter 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": ["Arquivos"], "summary": "Obtenha SHA256 hashes para verificar arquivos baixados", "description": "Obtenha SHA256 hashes para verificar arquivos baixados\n\n**Quem pode chamar esse método** · Usuários e bots do 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 MTProto · `Vector<FileHash>`.\n\n[Vetor](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 TL: FileHash."}, "x-tl-type": "Vector<FileHash>"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `LOCATION_INVALID` — A localização fornecida é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Arquivo"}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Deslocamento a partir do qual obter hashes de arquivo", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["location", "offset"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `location` | `InputFileLocation` | Sim | Arquivo |\n| `offset` | `long` | Sim | Deslocamento a partir do qual obter hashes de arquivo |"}, "x-telegram-rpc-errors": ["LOCATION_INVALID"], "x-browser-schema-id": "2438371370"}}, "/catalog/help.getConfig": {"post": {"operationId": "help.getConfig", "tags": ["Configuração e Ajuda"], "summary": "Retorna a configuração atual, incluindo a configuração do data center.", "description": "Retorna a configuração atual, incluindo a configuração do data center.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 MTProto · `Config`.\n\n[Configuração](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: Configuração."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CONNECTION_API_ID_INVALID` — O ID API fornecido é inválido.\n- 400 · `CONNECTION_APP_VERSION_EMPTY` — A versão do aplicativo está vazia.\n- 400 · `CONNECTION_LAYER_INVALID` — Camada inválida.\n- 400 · `DATA_INVALID` — Dados criptografados inválidos.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `USERNAME_INVALID` — O nome de usuário fornecido não é válido.\n- 403 · `USER_PRIVACY_RESTRICTED` — As configurações de privacidade do usuário não permitem que você faça isso."}}, "externalDocs": {"description": "Documentação oficial do 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": ["Configuração e Ajuda"], "summary": "Retorna informações sobre o data center mais próximo do usuário.", "description": "Retorna informações sobre o data center mais próximo do usuário.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `NearestDc`.\n\n[Mais próximoDc](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": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/help.getNearestDc"}, "x-browser-schema-id": "531836966"}}, "/catalog/help.getAppUpdate": {"post": {"operationId": "help.getAppUpdate", "tags": ["Configuração e Ajuda"], "summary": "Retorna informações sobre a disponibilidade de atualização para o aplicativo atual.", "description": "Retorna informações sobre a disponibilidade de atualização para o aplicativo atual.", "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 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": "Digite TL: help.AppUpdate."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Fonte"}}, "additionalProperties": false, "required": ["source"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `source` | `string` | Sim | Fonte |"}, "x-browser-schema-id": "1378703997"}}, "/catalog/help.getInviteText": {"post": {"operationId": "help.getInviteText", "tags": ["Configuração e Ajuda"], "summary": "Retorna o texto localizado de uma mensagem de texto com um convite.", "description": "Retorna o texto localizado de uma mensagem de texto com um convite.", "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 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": "Digite TL: help.InviteText."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/help.getInviteText"}, "x-browser-schema-id": "1295590211"}}, "/catalog/help.getSupport": {"post": {"operationId": "help.getSupport", "tags": ["Configuração e Ajuda"], "summary": "Retorna o usuário de suporte para o recurso \"fazer uma pergunta\".", "description": "Retorna o usuário de suporte para o recurso \"fazer uma pergunta\".", "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 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": "Digite TL: help.Support."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/help.getSupport"}, "x-browser-schema-id": "2631862477"}}, "/catalog/help.setBotUpdatesStatus": {"post": {"operationId": "help.setBotUpdatesStatus", "tags": ["Configuração e Ajuda"], "summary": "Informa o servidor sobre o número de atualizações de bot pendentes caso não sejam processadas há muito tempo; apenas para bots", "description": "Informa o servidor sobre o número de atualizações de bot pendentes caso não sejam processadas há muito tempo; apenas para bots\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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 atualizações pendentes"}, "message": {"type": "string", "x-tl-type": "string", "description": "Mensagem de erro, se presente"}}, "additionalProperties": false, "required": ["pending_updates_count", "message"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `pending_updates_count` | `int` | Sim | Número de atualizações pendentes |\n| `message` | `string` | Sim | Mensagem de erro, se presente |"}, "x-telegram-rpc-errors": ["USER_BOT_REQUIRED"], "x-browser-schema-id": "3961704397"}}, "/catalog/help.getCdnConfig": {"post": {"operationId": "help.getCdnConfig", "tags": ["Configuração e Ajuda"], "summary": "Obtenha configuração para downloads de arquivos CDN.", "description": "Obtenha a configuração para downloads de arquivos [CDN](https://core.telegram.org/cdn.md).\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/help.getCdnConfig"}, "x-browser-schema-id": "1375900482"}}, "/catalog/help.getRecentMeUrls": {"post": {"operationId": "help.getRecentMeUrls", "tags": ["Configuração e Ajuda"], "summary": "Obtenha links `t.me` usados recentemente.", "description": "Obtenha links `t.me` usados recentemente.\n\nAo instalar aplicativos oficiais a partir dos botões \"Baixar Telegram\" presentes nas [t.me](https://t.me) páginas, um parâmetro de referência é passado aos aplicativos após a instalação.\nSe, após baixar o aplicativo, o usuário criar uma nova conta (em vez de fazer login em uma existente), o parâmetro de referência deverá ser importado usando este método, que retorna as [t.me](https://t.me) páginas que o usuário abriu recentemente, antes de instalar o 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 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": "Digite TL: help.RecentMeUrls."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Referenciador"}}, "additionalProperties": false, "required": ["referer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `referer` | `string` | Sim | Referenciador |"}, "x-browser-schema-id": "1036054804"}}, "/catalog/help.getTermsOfServiceUpdate": {"post": {"operationId": "help.getTermsOfServiceUpdate", "tags": ["Configuração e Ajuda"], "summary": "Procure atualizações dos termos de serviço do Telegram", "description": "Procure atualizações dos termos de serviço do 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 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": "Digite TL: help.TermsOfServiceUpdate."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/help.getTermsOfServiceUpdate"}, "x-browser-schema-id": "749019089"}}, "/catalog/help.acceptTermsOfService": {"post": {"operationId": "help.acceptTermsOfService", "tags": ["Configuração e Ajuda"], "summary": "Aceite os novos termos de serviço", "description": "Aceite os novos termos de serviço\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `DATA_JSON_INVALID` — Os dados JSON fornecidos são inválidos."}}, "externalDocs": {"description": "Documentação oficial do 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 dos termos de serviço"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `DataJSON` | Sim | ID dos termos de serviço |"}, "x-telegram-rpc-errors": ["DATA_JSON_INVALID"], "x-browser-schema-id": "4000511898"}}, "/catalog/help.getDeepLinkInfo": {"post": {"operationId": "help.getDeepLinkInfo", "tags": ["Configuração e Ajuda"], "summary": "Obtenha informações sobre um link direto não suportado, veja aqui para mais informações ».", "description": "Para obter informações sobre um link direto não suportado, consulte [aqui para obter mais informações »](https://core.telegram.org/api/links.md#unsupported-links).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 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": "Digite TL: help.DeepLinkInfo."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 caminho de um link `tg:`"}}, "additionalProperties": false, "required": ["path"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `path` | `string` | Sim | Componente de caminho de um link `tg:` |"}, "x-browser-schema-id": "1072547679"}}, "/catalog/help.getAppConfig": {"post": {"operationId": "help.getAppConfig", "tags": ["Configuração e Ajuda"], "summary": "Obtenha a configuração específica do aplicativo, consulte a configuração do cliente para obter mais informações sobre o resultado.", "description": "Obtenha a configuração específica do aplicativo, consulte [configuração do cliente](https://core.telegram.org/api/config.md#client-configuration) para obter mais informações sobre o resultado.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Configuração do 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 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": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1642330196"}}, "/catalog/help.saveAppLog": {"post": {"operationId": "help.saveAppLog", "tags": ["Configuração e Ajuda"], "summary": "Salva logs do aplicativo no servidor.", "description": "Salva logs do aplicativo no servidor.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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 TL: InputAppEvent."}, "x-tl-type": "Vector<InputAppEvent>", "description": "Lista de eventos de entrada"}}, "additionalProperties": false, "required": ["events"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `events` | `Vector<InputAppEvent>` | Sim | Lista de eventos de entrada |"}, "x-browser-schema-id": "1862465352"}}, "/catalog/help.getPassportConfig": {"post": {"operationId": "help.getPassportConfig", "tags": ["Configuração e Ajuda"], "summary": "Obtenha a configuração do passaporte", "description": "Obtenha a configuração do [passaporte](https://core.telegram.org/passport.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Digite TL: help.PassportConfig."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3328290056"}}, "/catalog/help.getSupportName": {"post": {"operationId": "help.getSupportName", "tags": ["Configuração e Ajuda"], "summary": "Obtenha o nome localizado do usuário de suporte do telegrama", "description": "Obtenha o nome localizado do usuário de suporte do telegrama\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: help.SupportName."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `USER_INVALID` — Usuário inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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": ["Configuração e Ajuda"], "summary": "Só pode ser usado por membros TSF para obter informações internas.", "description": "Só pode ser usado por membros TSF para obter informações internas.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: help.UserInfo."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `USER_INVALID` — Usuário inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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 do usuário"}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Sim | ID do usuário |"}, "x-telegram-rpc-errors": ["USER_INVALID"], "x-browser-schema-id": "59377875"}}, "/catalog/help.editUserInfo": {"post": {"operationId": "help.editUserInfo", "tags": ["Configuração e Ajuda"], "summary": "Uso interno", "description": "Uso interno\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Texto estilizado com entidades de mensagem](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 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": "Digite TL: help.UserInfo."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `ENTITY_BOUNDS_INVALID` — Um [deslocamento ou comprimento de entidade](https://core.telegram.org/api/entities.md#entity-length) especificado é inválido, consulte [aqui »](https://core.telegram.org/api/entities.md#entity-length) para obter informações sobre como calcular corretamente o deslocamento/comprimento da entidade.\n- 403 · `USER_INVALID` — Usuário inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Usuário"}, "message": {"type": "string", "x-tl-type": "string", "description": "Mensagem"}, "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado](https://core.telegram.org/api/entities.md)"}}, "additionalProperties": false, "required": ["user_id", "message", "entities"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Sim | Usuário |\n| `message` | `string` | Sim | Mensagem |\n| `entities` | `Vector<MessageEntity>` | Sim | [Entidades de mensagem para texto estilizado](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": ["Configuração e Ajuda"], "summary": "Retorna um conjunto de sugestões úteis e pares patrocinados por PSA/MTProxy, veja aqui » para mais informações.", "description": "Retorna um conjunto de sugestões úteis e pares patrocinados por PSA/MTProxy, veja [aqui »](https://core.telegram.org/api/config.md#suggestions) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configuração do 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 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": "Digite TL: help.PromoData."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/help.getPromoData"}, "x-browser-schema-id": "3231151137"}}, "/catalog/help.hidePromoData": {"post": {"operationId": "help.hidePromoData", "tags": ["Configuração e Ajuda"], "summary": "Ocultar informações de MTProxy/anúncio de serviço público", "description": "Ocultar informações de MTProxy/anúncio de serviço público", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Pare para se esconder"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Pare para se esconder |"}, "x-browser-schema-id": "505748629"}}, "/catalog/help.dismissSuggestion": {"post": {"operationId": "help.dismissSuggestion", "tags": ["Configuração e Ajuda"], "summary": "Dispensar uma sugestão, veja aqui para mais informações ».", "description": "Ignore uma [sugestão, veja aqui para mais informações »](https://core.telegram.org/api/config.md#suggestions).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configuração do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "No caso de sugestões pendentes em [canais](https://core.telegram.org/constructor/channelFull.md), o ID do canal."}, "suggestion": {"type": "string", "x-tl-type": "string", "description": "[Sugestão, veja aqui para mais informações »](https://core.telegram.org/api/config.md#suggestions)."}}, "additionalProperties": false, "required": ["peer", "suggestion"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | No caso de sugestões pendentes em [canais](https://core.telegram.org/constructor/channelFull.md), o ID do canal. |\n| `suggestion` | `string` | Sim | [Sugestão, veja aqui para mais informações »](https://core.telegram.org/api/config.md#suggestions). |"}, "x-browser-schema-id": "4111317665"}}, "/catalog/help.getCountriesList": {"post": {"operationId": "help.getCountriesList", "tags": ["Configuração e Ajuda"], "summary": "Obtenha nome, código ISO, nome localizado e códigos/padrões telefônicos de todos os países disponíveis", "description": "Obtenha nome, código ISO, nome localizado e códigos/padrões telefônicos de todos os países disponíveis\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Digite TL: help.CountriesList."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 do idioma do usuário atual"}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["lang_code", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `lang_code` | `string` | Sim | Código do idioma do usuário atual |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1935116200"}}, "/catalog/help.getPremiumPromo": {"post": {"operationId": "help.getPremiumPromo", "tags": ["Configuração e Ajuda"], "summary": "Obtenha informações da promoção Telegram Premium", "description": "Obtenha informações da promoção 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 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": "Digite TL: help.PremiumPromo."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/help.getPremiumPromo"}, "x-browser-schema-id": "3088815060"}}, "/catalog/help.getPeerColors": {"post": {"operationId": "help.getPeerColors", "tags": ["Configuração e Ajuda"], "summary": "Obtenha o conjunto de paletas de cores de destaque » que podem ser usadas para realçar mensagens.", "description": "Obtenha o conjunto de [paletas de cores de destaque »](https://core.telegram.org/api/colors.md) que podem ser usadas para realçar mensagens.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Cores de destaque](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 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": "Digite TL: help.PeerColors."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3665884207"}}, "/catalog/help.getPeerProfileColors": {"post": {"operationId": "help.getPeerProfileColors", "tags": ["Configuração e Ajuda"], "summary": "Obtenha o conjunto de paletas de cores de destaque » que podem ser usadas em planos de fundo de páginas de perfil.", "description": "Obtenha o conjunto de [paletas de cores de destaque »](https://core.telegram.org/api/colors.md) que podem ser usadas em planos de fundo de páginas de perfil.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Cores de destaque](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 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": "Digite TL: help.PeerColors."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2882513405"}}, "/catalog/help.getTimezonesList": {"post": {"operationId": "help.getTimezonesList", "tags": ["Configuração e Ajuda"], "summary": "Retorna informações de fuso horário que podem ser usadas em outro lugar no API, como para definir o horário de funcionamento do Telegram Business ».", "description": "Retorna informações de fuso horário que podem ser usadas em outro lugar no API, como para definir [Horário de funcionamento do Telegram Business »](https://core.telegram.org/api/business.md#opening-hours).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Negócio de telegrama](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 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": "Digite TL: help.TimezonesList."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1236468288"}}, "/catalog/channels.readHistory": {"post": {"operationId": "channels.readHistory", "tags": ["Canais e supergrupos"], "summary": "Marcar o histórico do canal/supergrupo como lido", "description": "Marcar o histórico do [canal/supergrupo](https://core.telegram.org/api/channel.md) como lido\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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 da mensagem até a qual as mensagens devem ser marcadas como lidas"}}, "additionalProperties": false, "required": ["channel", "max_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | [Canal/supergrupo](https://core.telegram.org/api/channel.md) |\n| `max_id` | `int` | Sim | ID da mensagem até a qual as mensagens devem ser marcadas como lidas |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID"], "x-browser-schema-id": "3423619383"}}, "/catalog/channels.deleteMessages": {"post": {"operationId": "channels.deleteMessages", "tags": ["Canais e supergrupos"], "summary": "Excluir mensagens em um canal/supergrupo", "description": "Excluir mensagens em um [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Autorização do usuário](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 420 · `FROZEN_METHOD_INVALID` — A conta corrente está [congelada](https://core.telegram.org/api/auth.md#frozen-accounts) e, portanto, não pode executar a ação especificada.\n- 403 · `MESSAGE_DELETE_FORBIDDEN` — Você não pode excluir uma das mensagens que tentou excluir, provavelmente porque é uma mensagem de serviço.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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": "IDs de mensagens a serem excluídas"}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | [Canal/supergrupo](https://core.telegram.org/api/channel.md) |\n| `id` | `Vector<int>` | Sim | IDs de mensagens a serem excluídas |"}, "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": ["Canais e supergrupos"], "summary": "Relata algumas mensagens de um usuário em um supergrupo como spam; requer direitos de administrador no supergrupo", "description": "Relata algumas mensagens de um usuário em um supergrupo como spam; requer direitos de administrador no supergrupo\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 cujas mensagens devem ser denunciadas"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de mensagens de spam"}}, "additionalProperties": false, "required": ["channel", "participant", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Supergrupo |\n| `participant` | `InputPeer` | Sim | Participante cujas mensagens devem ser denunciadas |\n| `id` | `Vector<int>` | Sim | IDs de mensagens de 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": ["Canais e supergrupos"], "summary": "Receba mensagens de canal/supergrupo", "description": "Receba mensagens de [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Autorização do usuário](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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `FROZEN_PARTICIPANT_MISSING` — A conta corrente está [congelada](https://core.telegram.org/api/auth.md#frozen-accounts) e não pode acessar o peer especificado.\n- 400 · `MESSAGE_IDS_EMPTY` — Nenhum ID de mensagem foi fornecido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais."}}, "externalDocs": {"description": "Documentação oficial do 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 TL:InputMessage."}, "x-tl-type": "Vector<InputMessage>", "description": "IDs de mensagens a serem obtidas"}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Canal/supergrupo |\n| `id` | `Vector<InputMessage>` | Sim | IDs de mensagens a serem obtidas |"}, "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": ["Canais e supergrupos"], "summary": "Obtenha os participantes de um supergrupo/canal", "description": "Obtenha os participantes de um [supergrupo/canal](https://core.telegram.org/api/channel.md)\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Canais, supergrupos, gigagrupos e 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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) não suporta este recurso.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Quais participantes digitam para buscar"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamento](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Limite](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["channel", "filter", "offset", "limit", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Canal |\n| `filter` | `ChannelParticipantsFilter` | Sim | Quais participantes digitam para buscar |\n| `offset` | `int` | Sim | [Deslocamento](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | [Limite](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Sim | [Hash](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_MONOFORUM_UNSUPPORTED", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "MSG_ID_INVALID"], "x-browser-schema-id": "2010044880"}}, "/catalog/channels.getParticipant": {"post": {"operationId": "channels.getParticipant", "tags": ["Canais e supergrupos"], "summary": "Obtenha informações sobre um participante do canal/supergrupo", "description": "Obtenha informações sobre um participante do [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PARTICIPANT_ID_INVALID` — O ID do participante especificado é inválido.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido.\n- 400 · `USER_NOT_PARTICIPANT` — Você não é membro deste supergrupo/canal."}}, "externalDocs": {"description": "Documentação oficial do 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 obter informações sobre"}}, "additionalProperties": false, "required": ["channel", "participant"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Canal/supergrupo |\n| `participant` | `InputPeer` | Sim | Participante para obter informações 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": ["Canais e supergrupos"], "summary": "Obtenha informações sobre canais/supergrupos", "description": "Obtenha informações sobre [canais/supergrupos](https://core.telegram.org/api/channel.md)\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais."}}, "externalDocs": {"description": "Documentação oficial do 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: InputChannel."}, "x-tl-type": "Vector<InputChannel>", "description": "IDs de canais/supergrupos sobre os quais obter informações"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputChannel>` | Sim | IDs de canais/supergrupos sobre os quais obter informações |"}, "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": ["Canais e supergrupos"], "summary": "Obtenha detalhes do canal", "description": "Retorna dados estendidos para um canal, supergrupo ou gigagrupo.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 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 de TL: messages.ChatFull."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHANNEL_PUBLIC_GROUP_NA` — canal/supergrupo não disponível.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O canal ou grupo sobre o qual você deseja obter informações."}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O canal ou grupo sobre o qual você deseja obter informações. |"}, "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": ["Canais e supergrupos"], "summary": "Crie um supergrupo/canal.", "description": "Crie um [supergrupo/canal](https://core.telegram.org/api/channel.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Tópicos do fórum](https://core.telegram.org/api/forum.md)\n- [Usuários e bate-papos próximos](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `ADDRESS_INVALID` — O endereço do ponto geográfico especificado é inválido.\n- 400 · `CHANNELS_ADMIN_LOCATED_TOO_MUCH` — O usuário atingiu o limite de geogrupos públicos.\n- 400 · `CHANNELS_TOO_MUCH` — Você entrou em muitos canais/supergrupos.\n- 400 · `CHAT_ABOUT_TOO_LONG` — Conversa muito longa.\n- 500 · `CHAT_INVALID` — Bate-papo inválido.\n- 400 · `CHAT_TITLE_EMPTY` — Nenhum título de chat fornecido.\n- 400 · `TTL_PERIOD_INVALID` — O período TTL especificado é inválido.\n- 406 · `USER_RESTRICTED` — Você foi denunciado como spam, não pode criar canais ou chats."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve criar um [canal](https://core.telegram.org/api/channel.md)"}, "megagroup": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se deve criar um [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": "Se o supergrupo está sendo criado para importar mensagens de um serviço de chat estrangeiro 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": "Se deve criar um [fórum](https://core.telegram.org/api/forum.md)"}, "title": {"type": "string", "x-tl-type": "string", "description": "Título do canal"}, "about": {"type": "string", "x-tl-type": "string", "description": "Descrição do canal"}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "oneOf": [{"$ref": "#/components/schemas/inputGeoPointEmpty"}, {"$ref": "#/components/schemas/inputGeoPoint"}], "description": "Localização do geogrupo, veja [aqui »](https://core.telegram.org/api/nearby.md) para mais informações sobre geogrupos.", "x-tl-flag": "flags.2?InputGeoPoint"}, "address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Endereço do geogrupo, veja [aqui »](https://core.telegram.org/api/nearby.md) para mais informações sobre geogrupos."}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int", "description": "Tempo de vida de todas as mensagens que serão enviadas no supergrupo: uma vez message.date+message.ttl_period === time(), a mensagem será excluída do servidor e deverá ser excluída localmente também. Você pode usar [messages.setDefaultHistoryTTL](https://core.telegram.org/method/messages.setDefaultHistoryTTL.md) para editar este valor posteriormente."}}, "additionalProperties": false, "required": ["title", "about"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `broadcast` | `true` | Não | Se deve criar um [canal](https://core.telegram.org/api/channel.md) |\n| `megagroup` | `true` | Não | Se deve criar um [supergrupo](https://core.telegram.org/api/channel.md) |\n| `for_import` | `true` | Não | Se o supergrupo está sendo criado para importar mensagens de um serviço de chat estrangeiro usando [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md) |\n| `forum` | `true` | Não | Se deve criar um [fórum](https://core.telegram.org/api/forum.md) |\n| `title` | `string` | Sim | Título do canal |\n| `about` | `string` | Sim | Descrição do canal |\n| `geo_point` | `InputGeoPoint` | Não | Localização do geogrupo, veja [aqui »](https://core.telegram.org/api/nearby.md) para mais informações sobre geogrupos. |\n| `address` | `string` | Não | Endereço do geogrupo, veja [aqui »](https://core.telegram.org/api/nearby.md) para mais informações sobre geogrupos. |\n| `ttl_period` | `int` | Não | Tempo de vida de todas as mensagens que serão enviadas no supergrupo: uma vez message.date+message.ttl_period === time(), a mensagem será excluída do servidor e deverá ser excluída localmente também. Você pode usar [messages.setDefaultHistoryTTL](https://core.telegram.org/method/messages.setDefaultHistoryTTL.md) para editar este valor posteriormente. |"}, "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": ["Canais e supergrupos"], "summary": "Modifique os direitos de administrador de um usuário em um supergrupo/canal.", "description": "Modifique os direitos de administrador de um usuário em um [supergrupo/canal](https://core.telegram.org/api/channel.md).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `ADMINS_TOO_MUCH` — Há muitos administradores.\n- 400 · `ADMIN_RANK_EMOJI_NOT_ALLOWED` — Uma classificação de administrador não pode conter emojis.\n- 400 · `ADMIN_RANK_INVALID` — A classificação de administrador especificada é inválida.\n- 400 · `BOTS_TOO_MUCH` — Há muitos bots neste chat/canal.\n- 400 · `BOT_CHANNELS_NA` — Os bots não podem editar privilégios de administrador.\n- 400 · `BOT_GROUPS_BLOCKED` — Este bot não pode ser adicionado a grupos.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) não suporta este recurso.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_INVITE_REQUIRED` — Você não tem o direito de fazer isso.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 406 · `FRESH_CHANGE_ADMINS_FORBIDDEN` — Você acabou de ser eleito administrador, ainda não pode adicionar ou modificar outros administradores.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 403 · `RIGHT_FORBIDDEN` — Seus direitos de administrador não permitem que você faça isso.\n- 400 · `USERS_TOO_MUCH` — O número máximo de usuários foi excedido (para criar um chat, por exemplo).\n- 400 · `USER_BLOCKED` — Usuário bloqueado.\n- 403 · `USER_CHANNELS_TOO_MUCH` — Um dos usuários que você tentou adicionar já está em muitos canais/supergrupos.\n- 400 · `USER_CREATOR` — Para channels.editAdmin: você tentou editar os direitos de administrador do proprietário, mas você não é o proprietário; para channels.leaveChannel: você não pode sair deste canal, porque você é seu criador.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido.\n- 400 · `USER_KICKED` — Este usuário foi expulso deste supergrupo/canal.\n- 403 · `USER_NOT_MUTUAL_CONTACT` — O usuário fornecido não é um contato mútuo.\n- 403 · `USER_PRIVACY_RESTRICTED` — As configurações de privacidade do usuário não permitem que você faça isso.\n- 403 · `USER_RESTRICTED` — Você foi denunciado como spam, não pode criar canais ou chats."}}, "externalDocs": {"description": "Documentação oficial do 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": "O [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": "O ID do usuário cujos direitos de administrador devem ser modificados"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "oneOf": [{"$ref": "#/components/schemas/chatAdminRights"}], "description": "Os direitos de administrador"}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Indica a função (classificação) do administrador no grupo: apenas uma string arbitrária. Se a bandeira não for definida, a classificação permanecerá inalterada."}}, "additionalProperties": false, "required": ["channel", "user_id", "admin_rights"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O [supergrupo/canal](https://core.telegram.org/api/channel.md). |\n| `user_id` | `InputUser` | Sim | O ID do usuário cujos direitos de administrador devem ser modificados |\n| `admin_rights` | `ChatAdminRights` | Sim | Os direitos de administrador |\n| `rank` | `string` | Não | Indica a função (classificação) do administrador no grupo: apenas uma string arbitrária. Se a bandeira não for definida, a classificação permanecerá inalterada. |"}, "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": ["Canais e supergrupos"], "summary": "Edite o nome de um canal/supergrupo", "description": "Edite o nome de um [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_INVALID` — Bate-papo inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `CHAT_TITLE_EMPTY` — Nenhum título de chat fornecido.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat."}}, "externalDocs": {"description": "Documentação oficial do 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": "Novo nome"}}, "additionalProperties": false, "required": ["channel", "title"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Canal/supergrupo |\n| `title` | `string` | Sim | Novo nome |"}, "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": ["Canais e supergrupos"], "summary": "Alterar a foto de um canal/supergrupo", "description": "Alterar a foto de um [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Referências de arquivo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_INVALID` — Bate-papo inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `FILE_PARTS_INVALID` — O número de partes do arquivo é inválido.\n- 400 · `FILE_REFERENCE_INVALID` — A [referência de arquivo](https://core.telegram.org/api/file-references.md) especificada é inválida.\n- 400 · `IMAGE_PROCESS_FAILED` — Falha no processamento da imagem.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `PHOTO_CROP_SIZE_SMALL` — A foto é muito pequena.\n- 400 · `PHOTO_EXT_INVALID` — A extensão da foto é inválida.\n- 400 · `PHOTO_FILE_MISSING` — Arquivo de foto de perfil ausente.\n- 400 · `PHOTO_INVALID` — Foto inválida.\n- 400 · `STICKER_MIME_INVALID` — O tipo de adesivo MIME especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 cuja foto deve ser editada"}, "photo": {"type": "object", "x-tl-type": "InputChatPhoto", "oneOf": [{"$ref": "#/components/schemas/inputChatPhotoEmpty"}, {"$ref": "#/components/schemas/inputChatUploadedPhoto"}, {"$ref": "#/components/schemas/inputChatPhoto"}], "description": "Nova foto"}}, "additionalProperties": false, "required": ["channel", "photo"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Canal/supergrupo cuja foto deve ser editada |\n| `photo` | `InputChatPhoto` | Sim | Nova 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": ["Canais e supergrupos"], "summary": "Verifique se um nome de usuário é gratuito e pode ser atribuído a um canal/supergrupo", "description": "Verifique se um nome de usuário é gratuito e pode ser atribuído a um canal/supergrupo\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNELS_ADMIN_PUBLIC_TOO_MUCH` — Você é administrador de muitos canais públicos, torne alguns canais privados para alterar o nome de usuário deste canal.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USERNAME_INVALID` — O nome de usuário fornecido não é válido.\n- 400 · `USERNAME_OCCUPIED` — O nome de usuário fornecido já está ocupado.\n- 400 · `USERNAME_PURCHASE_AVAILABLE` — O nome de usuário especificado pode ser adquirido em https://fragment.com."}}, "externalDocs": {"description": "Documentação oficial do 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": "O [canal/supergrupo](https://core.telegram.org/api/channel.md) ao qual será atribuído o nome de usuário especificado"}, "username": {"type": "string", "x-tl-type": "string", "description": "O nome de usuário a ser verificado"}}, "additionalProperties": false, "required": ["channel", "username"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O [canal/supergrupo](https://core.telegram.org/api/channel.md) ao qual será atribuído o nome de usuário especificado |\n| `username` | `string` | Sim | O nome de usuário a ser verificado |"}, "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": ["Canais e supergrupos"], "summary": "Alterar ou remover o nome de usuário de um supergrupo/canal", "description": "Alterar ou remover o nome de usuário de um supergrupo/canal\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNELS_ADMIN_PUBLIC_TOO_MUCH` — Você é administrador de muitos canais públicos, torne alguns canais privados para alterar o nome de usuário deste canal.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `USERNAME_INVALID` — O nome de usuário fornecido não é válido.\n- 400 · `USERNAME_NOT_MODIFIED` — O nome de usuário não foi modificado.\n- 400 · `USERNAME_OCCUPIED` — O nome de usuário fornecido já está ocupado.\n- 400 · `USERNAME_PURCHASE_AVAILABLE` — O nome de usuário especificado pode ser adquirido em https://fragment.com."}}, "externalDocs": {"description": "Documentação oficial do 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": "Novo nome de usuário, passe uma string vazia para remover o nome de usuário"}}, "additionalProperties": false, "required": ["channel", "username"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Canal |\n| `username` | `string` | Sim | Novo nome de usuário, passe uma string vazia para remover o nome de usuário |"}, "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": ["Canais e supergrupos"], "summary": "Participe de um canal/supergrupo", "description": "Participe de um canal/supergrupo\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Autorização do usuário](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[Atualizações](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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` — Você entrou em muitos canais/supergrupos.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) não suporta este recurso.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_INVALID` — Bate-papo inválido.\n- 420 · `FROZEN_METHOD_INVALID` — A conta corrente está [congelada](https://core.telegram.org/api/auth.md#frozen-accounts) e, portanto, não pode executar a ação especificada.\n- 400 · `INVITE_HASH_EMPTY` — O hash do convite está vazio.\n- 406 · `INVITE_HASH_EXPIRED` — O link de convite expirou.\n- 400 · `INVITE_HASH_INVALID` — O hash do convite é inválido.\n- 400 · `INVITE_REQUEST_SENT` — Você solicitou com sucesso para entrar neste chat ou canal.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USERS_TOO_MUCH` — O número máximo de usuários foi excedido (para criar um chat, por exemplo).\n- 400 · `USER_ALREADY_PARTICIPANT` — O usuário já está no grupo.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais.\n- 400 · `USER_CHANNELS_TOO_MUCH` — Um dos usuários que você tentou adicionar já está em muitos canais/supergrupos."}}, "externalDocs": {"description": "Documentação oficial do 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 do 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 para participar"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `for_news` | `true` | Não | Valor do tipo TL `true`. |\n| `channel` | `InputChannel` | Sim | Canal/supergrupo para participar |"}, "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": ["Canais e supergrupos"], "summary": "Sair de um canal/supergrupo", "description": "Deixe um [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHANNEL_PUBLIC_GROUP_NA` — canal/supergrupo não disponível.\n- 400 · `CHAT_INVALID` — Bate-papo inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais.\n- 400 · `USER_CREATOR` — Para channels.editAdmin: você tentou editar os direitos de administrador do proprietário, mas você não é o proprietário; para channels.leaveChannel: você não pode sair deste canal, porque você é seu criador.\n- 400 · `USER_NOT_PARTICIPANT` — Você não é membro deste supergrupo/canal."}}, "externalDocs": {"description": "Documentação oficial do 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 sair"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | [Canal/supergrupo](https://core.telegram.org/api/channel.md) para sair |"}, "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": ["Canais e supergrupos"], "summary": "Convidar usuários para um canal/supergrupo", "description": "Convidar usuários para um canal/supergrupo\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 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": "Digite TL: messages.InvitedUsers."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOTS_TOO_MUCH` — Há muitos bots neste chat/canal.\n- 400 · `BOT_GROUPS_BLOCKED` — Este bot não pode ser adicionado a grupos.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) não suporta este recurso.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_INVALID` — Bate-papo inválido.\n- 400 · `CHAT_MEMBER_ADD_FAILED` — Não foi possível adicionar participantes.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `USERS_TOO_MUCH` — O número máximo de usuários foi excedido (para criar um chat, por exemplo).\n- 400 · `USER_BANNED_IN_CHANNEL` — Você está proibido de enviar mensagens em supergrupos/canais.\n- 400 · `USER_BLOCKED` — Usuário bloqueado.\n- 400 · `USER_BOT` — Bots só podem ser administradores em canais.\n- 403 · `USER_CHANNELS_TOO_MUCH` — Um dos usuários que você tentou adicionar já está em muitos canais/supergrupos.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido.\n- 400 · `USER_KICKED` — Este usuário foi expulso deste supergrupo/canal.\n- 403 · `USER_NOT_MUTUAL_CONTACT` — O usuário fornecido não é um contato mútuo.\n- 403 · `USER_PRIVACY_RESTRICTED` — As configurações de privacidade do usuário não permitem que você faça isso."}}, "externalDocs": {"description": "Documentação oficial do 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 TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Usuários a serem convidados"}}, "additionalProperties": false, "required": ["channel", "users"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Canal/supergrupo |\n| `users` | `Vector<InputUser>` | Sim | Usuários a serem convidados |"}, "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": ["Canais e supergrupos"], "summary": "Excluir um canal/supergrupo", "description": "Excluir um [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 406 · `CHANNEL_TOO_LARGE` — O canal é muito grande para ser excluído; este erro é emitido ao tentar excluir canais com mais de 1000 membros (sujeito a alterações).\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat."}}, "externalDocs": {"description": "Documentação oficial do 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 excluir"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | [Canal/supergrupo](https://core.telegram.org/api/channel.md) para excluir |"}, "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": ["Canais e supergrupos"], "summary": "Obtenha link e informações incorporadas de uma mensagem em um canal/supergrupo", "description": "Obtenha o link e incorpore informações de uma mensagem em um [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `ExportedMessageLink`.\n\n[ExportadoMessageLink](https://core.telegram.org/type/ExportedMessageLink.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ExportedMessageLink", "oneOf": [{"$ref": "#/components/schemas/exportedMessageLink"}], "description": "Tipo TL: ExportedMessageLink."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve incluir outras mídias agrupadas (para álbuns)"}, "thread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se também deve ser incluído um ID de thread, se disponível, dentro do link"}, "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 da mensagem"}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `grouped` | `true` | Não | Se deve incluir outras mídias agrupadas (para álbuns) |\n| `thread` | `true` | Não | Se também deve ser incluído um ID de thread, se disponível, dentro do link |\n| `channel` | `InputChannel` | Sim | Canal |\n| `id` | `int` | Sim | ID da mensagem |"}, "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": ["Canais e supergrupos"], "summary": "Habilitar/desabilitar assinaturas de mensagens em canais", "description": "Habilitar/desabilitar assinaturas de mensagens em canais\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, habilita assinaturas de mensagens."}, "profiles_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se definido, as mensagens dos administradores do canal serão vinculadas aos seus perfis, assim como as mensagens de grupo: só pode ser definido se o sinalizador `signatures_enabled` estiver definido."}, "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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `signatures_enabled` | `true` | Não | Se definido, habilita assinaturas de mensagens. |\n| `profiles_enabled` | `true` | Não | Se definido, as mensagens dos administradores do canal serão vinculadas aos seus perfis, assim como as mensagens de grupo: só pode ser definido se o sinalizador `signatures_enabled` estiver definido. |\n| `channel` | `InputChannel` | Sim | 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": ["Canais e supergrupos"], "summary": "Obtenha canais/supergrupos/geogrupos nos quais somos administradores. Geralmente chamado quando o usuário excede o limite de canais/supergrupos/geogrupos públicos de propriedade, e o usuário tem a opção de remover um de seus canais/supergrupos/geogrupos.", "description": "Obtenha [canais/supergrupos/geogrupos](https://core.telegram.org/api/channel.md) nos quais somos administradores. Geralmente chamado quando o usuário excede o [limite](https://core.telegram.org/constructor/config.md) para [canais/supergrupos/geogrupos](https://core.telegram.org/api/channel.md) públicos de propriedade, e o usuário tem a opção de remover um de seus canais/supergrupos/geogrupos.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Perfis de usuário](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNELS_ADMIN_LOCATED_TOO_MUCH` — O usuário atingiu o limite de geogrupos públicos.\n- 400 · `CHANNELS_ADMIN_PUBLIC_TOO_MUCH` — Você é administrador de muitos canais públicos, torne alguns canais privados para alterar o nome de usuário deste canal."}}, "externalDocs": {"description": "Documentação oficial do 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": "Obtenha geogrupos"}, "check_limit": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se definido e o usuário atingiu o limite de [canais/supergrupos/geogrupos](https://core.telegram.org/api/channel.md) públicos de propriedade, em vez de retornar a lista de canais, um dos [erros](#possible-errors) especificados será retornado. Útil para verificar se um novo canal público pode realmente ser criado, mesmo antes de solicitar ao usuário que insira um nome de usuário do canal para usar em [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": "Defina este sinalizador para buscar apenas a lista completa de canais que podem ser passados para [account.updatePersonalChannel](https://core.telegram.org/method/account.updatePersonalChannel.md) para [exibi-los em nossa 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 do tipo TL `true`."}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `by_location` | `true` | Não | Obtenha geogrupos |\n| `check_limit` | `true` | Não | Se definido e o usuário atingiu o limite de [canais/supergrupos/geogrupos](https://core.telegram.org/api/channel.md) públicos de propriedade, em vez de retornar a lista de canais, um dos [erros](#possible-errors) especificados será retornado. Útil para verificar se um novo canal público pode realmente ser criado, mesmo antes de solicitar ao usuário que insira um nome de usuário do canal para usar em [channels.checkUsername](https://core.telegram.org/method/channels.checkUsername.md)/[channels.updateUsername](https://core.telegram.org/method/channels.updateUsername.md). |\n| `for_personal` | `true` | Não | Defina este sinalizador para buscar apenas a lista completa de canais que podem ser passados para [account.updatePersonalChannel](https://core.telegram.org/method/account.updatePersonalChannel.md) para [exibi-los em nossa página de perfil](https://core.telegram.org/api/profile.md#personal-channel). |\n| `for_community_peer` | `true` | Não | Valor do 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": ["Canais e supergrupos"], "summary": "Banir/desbanir/expulsar um usuário em um supergrupo/canal.", "description": "Banir/desbanir/expulsar um usuário em um [supergrupo/canal](https://core.telegram.org/api/channel.md).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 406 · `BANNED_RIGHTS_INVALID` — Você forneceu algumas flags inválidas nos direitos banidos.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PARTICIPANT_ID_INVALID` — O ID do participante especificado é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USER_ADMIN_INVALID` — Você não é um administrador.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O [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 ser banido"}, "banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "oneOf": [{"$ref": "#/components/schemas/chatBannedRights"}], "description": "Os direitos proibidos"}}, "additionalProperties": false, "required": ["channel", "participant", "banned_rights"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O [supergrupo/canal](https://core.telegram.org/api/channel.md). |\n| `participant` | `InputPeer` | Sim | Participante a ser banido |\n| `banned_rights` | `ChatBannedRights` | Sim | Os direitos proibidos |"}, "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": ["Canais e supergrupos"], "summary": "Obtenha o log de administração de um canal/supergrupo", "description": "Obtenha o log do administrador de um [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Canais, supergrupos, gigagrupos e 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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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 pesquisa, pode estar vazia"}, "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 TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "x-tl-flag": "flags.1?Vector<InputUser>", "description": "Mostrar apenas eventos destes administradores"}, "max_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID máximo da mensagem a ser retornada (veja [paginação](https://core.telegram.org/api/offsets.md))", "x-tl-type": "long"}, "min_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID mínimo da mensagem a ser retornada (veja [paginação](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 serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["channel", "q", "max_id", "min_id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Canal |\n| `q` | `string` | Sim | Consulta de pesquisa, pode estar vazia |\n| `events_filter` | `ChannelAdminLogEventsFilter` | Não | Filtro de eventos |\n| `admins` | `Vector<InputUser>` | Não | Mostrar apenas eventos destes administradores |\n| `max_id` | `long` | Sim | ID máximo da mensagem a ser retornada (veja [paginação](https://core.telegram.org/api/offsets.md)) |\n| `min_id` | `long` | Sim | ID mínimo da mensagem a ser retornada (veja [paginação](https://core.telegram.org/api/offsets.md)) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Canais e supergrupos"], "summary": "Associe um conjunto de adesivos ao supergrupo", "description": "Associe um conjunto de adesivos ao supergrupo\n\n**Quem pode chamar esse método** · Usuários e bots do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `PARTICIPANTS_TOO_FEW` — Não há participantes suficientes.\n- 406 · `STICKERSET_OWNER_ANONYMOUS` — O conjunto de adesivos fornecido não pode ser instalado como conjunto de adesivos de grupo para evitar a desanonimização do administrador."}}, "externalDocs": {"description": "Documentação oficial do 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": "O conjunto de adesivos para associar"}}, "additionalProperties": false, "required": ["channel", "stickerset"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Supergrupo |\n| `stickerset` | `InputStickerSet` | Sim | O conjunto de adesivos para associar |"}, "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": ["Canais e supergrupos"], "summary": "Marca o conteúdo da mensagem do canal/supergrupo como lido, emitindo um updateChannelReadMessagesContents.", "description": "Marca o conteúdo da mensagem [canal/supergrupo](https://core.telegram.org/api/channel.md) como lido, emitindo um [updateChannelReadMessagesContents](https://core.telegram.org/constructor/updateChannelReadMessagesContents.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 406 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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": "IDs de mensagens cujo conteúdo deve ser marcado como lido"}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | [Canal/supergrupo](https://core.telegram.org/api/channel.md) |\n| `id` | `Vector<int>` | Sim | IDs de mensagens cujo conteúdo deve ser marcado como lido |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID"], "x-browser-schema-id": "3937786936"}}, "/catalog/channels.deleteHistory": {"post": {"operationId": "channels.deleteHistory", "tags": ["Canais e supergrupos"], "summary": "Exclua o histórico de um supergrupo", "description": "Exclua o histórico de um [supergrupo](https://core.telegram.org/api/channel.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PARICIPANT_MISSING` — O usuário atual não está no canal.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHANNEL_TOO_BIG` — Este canal tem muitos participantes (>1000) para ser excluído.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se o histórico deve ser excluído 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) cujo histórico deve ser excluído"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem **até a qual** o histórico deve ser excluído"}}, "additionalProperties": false, "required": ["channel", "max_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `for_everyone` | `true` | Não | Se o histórico deve ser excluído para todos |\n| `channel` | `InputChannel` | Sim | [Supergrupo](https://core.telegram.org/api/channel.md) cujo histórico deve ser excluído |\n| `max_id` | `int` | Sim | ID da mensagem **até a qual** o histórico deve ser excluído |"}, "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": ["Canais e supergrupos"], "summary": "Ocultar/exibir histórico de mensagens para novos usuários de canais/supergrupos", "description": "Ocultar/exibir histórico de mensagens para novos usuários de canais/supergrupos\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tópicos do fórum](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_LINK_EXISTS` — O chat é público, você não pode ocultar o histórico para novos usuários.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `FORUM_ENABLED` — Você não pode executar a ação especificada porque o grupo é um [fórum](https://core.telegram.org/api/forum.md), desative a funcionalidade do fórum para continuar."}}, "externalDocs": {"description": "Documentação oficial do 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/exibir"}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Canal/supergrupo |\n| `enabled` | `Bool` | Sim | Ocultar/exibir |"}, "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": ["Canais e supergrupos"], "summary": "Obtenha uma lista de canais/supergrupos que saímos, requer uma sessão de take-away, veja aqui » para mais informações.", "description": "Obtenha uma lista de [canais/supergrupos](https://core.telegram.org/api/channel.md) que saímos, requer uma [sessão para viagem, veja aqui » para mais informações](https://core.telegram.org/api/takeout.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Para viagem 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 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": "### Erros MTProto (RPC)\n\n- 400 · `TAKEOUT_INVALID` — O ID de entrega especificado é inválido.\n- 403 · `TAKEOUT_REQUIRED` — Uma sessão [takeout](https://core.telegram.org/api/takeout.md) precisa ser inicializada primeiro, [veja aqui » para mais informações](https://core.telegram.org/api/takeout.md)."}}, "externalDocs": {"description": "Documentação oficial do 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": "Deslocamento para [paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `offset` | `int` | Sim | Deslocamento para [paginação](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": ["Canais e supergrupos"], "summary": "Obtenha todos os grupos que podem ser usados como grupos de discussão.", "description": "Obtenha todos os grupos que podem ser usados como [grupos de discussão](https://core.telegram.org/api/discussion.md).\n\nOs [chats de grupo básicos](https://core.telegram.org/api/channel.md#basic-groups) retornados devem primeiro ser atualizados para [supergrupos](https://core.telegram.org/api/channel.md#supergroups) antes de poderem ser definidos como um grupo de discussão.\nPara definir um supergrupo retornado como um grupo de discussão, o acesso às suas mensagens antigas deve ser habilitado usando [channels.togglePreHistoryHidden](https://core.telegram.org/method/channels.togglePreHistoryHidden.md), primeiro.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Grupos de discussão](https://core.telegram.org/api/discussion.md)\n- [Canais, supergrupos, gigagrupos e 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 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": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/channels.getGroupsForDiscussion"}, "x-browser-schema-id": "4124758904"}}, "/catalog/channels.setDiscussionGroup": {"post": {"operationId": "channels.setDiscussionGroup", "tags": ["Canais e supergrupos"], "summary": "Associar um grupo a um canal como grupo de discussão desse canal", "description": "Associe um grupo a um canal como [grupo de discussão](https://core.telegram.org/api/discussion.md) para esse canal\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Grupos de discussão](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BROADCAST_ID_INVALID` — ID de transmissão inválido.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `LINK_NOT_MODIFIED` — Link de discussão não modificado.\n- 400 · `MEGAGROUP_ID_INVALID` — ID de supergrupo inválido.\n- 400 · `MEGAGROUP_PREHISTORY_HIDDEN` — Grupo com histórico oculto para novos membros não pode ser definido como grupo de discussão."}}, "externalDocs": {"description": "Documentação oficial do 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 discussão](https://core.telegram.org/api/discussion.md) para associar ao canal"}}, "additionalProperties": false, "required": ["broadcast", "group"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `broadcast` | `InputChannel` | Sim | Canal |\n| `group` | `InputChannel` | Sim | [Grupo de discussão](https://core.telegram.org/api/discussion.md) para associar ao 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": ["Canais e supergrupos"], "summary": "Edite a localização do geogrupo, veja aqui » para mais informações sobre geogrupos.", "description": "Edite a localização do geogrupo, veja [aqui »](https://core.telegram.org/api/nearby.md) para mais informações sobre geogrupos.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Usuários e bate-papos próximos](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `MEGAGROUP_GEO_REQUIRED` — Este método só pode ser invocado em um geogrupo.\n- 400 · `MEGAGROUP_REQUIRED` — Você só pode usar este método em um supergrupo."}}, "externalDocs": {"description": "Documentação oficial do 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": "Nova geolocalização"}, "address": {"type": "string", "x-tl-type": "string", "description": "Cadeia de endereço"}}, "additionalProperties": false, "required": ["channel", "geo_point", "address"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | [Geogrupo](https://core.telegram.org/api/channel.md) |\n| `geo_point` | `InputGeoPoint` | Sim | Nova geolocalização |\n| `address` | `string` | Sim | Cadeia de endereço |"}, "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": ["Canais e supergrupos"], "summary": "Alternar modo lento de supergrupo: se habilitado, os usuários só poderão enviar uma mensagem a cada `seconds` segundos", "description": "Alternar modo lento de supergrupo: se habilitado, os usuários só poderão enviar uma mensagem a cada `seconds` segundos\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `SECONDS_INVALID` — Duração inválida fornecida."}}, "externalDocs": {"description": "Documentação oficial do 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": "O [supergrupo](https://core.telegram.org/api/channel.md)"}, "seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Os usuários só poderão enviar uma mensagem a cada `seconds` segundos, `0` para desativar a limitação"}}, "additionalProperties": false, "required": ["channel", "seconds"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O [supergrupo](https://core.telegram.org/api/channel.md) |\n| `seconds` | `int` | Sim | Os usuários só poderão enviar uma mensagem a cada `seconds` segundos, `0` para desativar a limitação |"}, "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": ["Canais e supergrupos"], "summary": "Obtenha canais e supergrupos inativos", "description": "Obtenha canais e supergrupos inativos", "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 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": "Digite TL: messages.InactiveChats."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/channels.getInactiveChannels"}, "x-browser-schema-id": "300429806"}}, "/catalog/channels.convertToGigagroup": {"post": {"operationId": "channels.convertToGigagroup", "tags": ["Canais e supergrupos"], "summary": "Converter um supergrupo em gigagrupo, quando solicitado por sugestões de canais.", "description": "Converta um [supergrupo](https://core.telegram.org/api/channel.md) em [gigagrupo](https://core.telegram.org/api/channel.md), quando solicitado por [sugestões de canais](https://core.telegram.org/api/config.md#channel-suggestions).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Tópicos do fórum](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_ID_INVALID` — O ID do supergrupo especificado é inválido.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `FORUM_ENABLED` — Você não pode executar a ação especificada porque o grupo é um [fórum](https://core.telegram.org/api/forum.md), desative a funcionalidade do fórum para continuar.\n- 400 · `PARTICIPANTS_TOO_FEW` — Não há participantes suficientes."}}, "externalDocs": {"description": "Documentação oficial do 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": "O [supergrupo](https://core.telegram.org/api/channel.md) para converter"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O [supergrupo](https://core.telegram.org/api/channel.md) para converter |"}, "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": ["Canais e supergrupos"], "summary": "Obtém uma lista de pares que podem ser exibidos como remetente em um contexto específico. Com `for_live_stories`, retorna colegas que podem criar mensagens de história ao vivo na chamada ».", "description": "Obtém uma lista de pares que podem ser exibidos como remetente em um contexto específico. Com `for_live_stories`, retorna pares que podem criar [mensagens de chamada de história ao vivo »](https://core.telegram.org/api/group-calls.md#in-call-messages).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Reações de mensagens](https://core.telegram.org/api/reactions.md)\n- [Chamadas em grupo](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, busca a lista de peers que podem ser usados para enviar [reações pagas](https://core.telegram.org/api/reactions.md#paid-reactions) a mensagens de um peer específico."}, "for_live_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Busque os pares que podem ser passados para [phone.sendGroupCallMessage](https://core.telegram.org/method/phone.sendGroupCallMessage.md).`send_as` para comentar ou reagir em uma [história ao 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": "O par alvo; quando `for_live_stories` é definido, o par que possui a história ao vivo."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `for_paid_reactions` | `true` | Não | Se definido, busca a lista de peers que podem ser usados para enviar [reações pagas](https://core.telegram.org/api/reactions.md#paid-reactions) a mensagens de um peer específico. |\n| `for_live_stories` | `true` | Não | Busque os pares que podem ser passados para [phone.sendGroupCallMessage](https://core.telegram.org/method/phone.sendGroupCallMessage.md).`send_as` para comentar ou reagir em uma [história ao vivo »](https://core.telegram.org/api/group-calls.md#in-call-messages). |\n| `peer` | `InputPeer` | Sim | O par alvo; quando `for_live_stories` é definido, o par que possui a história ao 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": ["Canais e supergrupos"], "summary": "Exclua todas as mensagens enviadas por um participante específico de um determinado supergrupo", "description": "Exclua todas as mensagens enviadas por um participante específico de um determinado supergrupo\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: messages.AffectedHistory."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PARTICIPANT_ID_INVALID` — O ID do participante especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O participante cujas mensagens devem ser excluídas"}}, "additionalProperties": false, "required": ["channel", "participant"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Supergrupo |\n| `participant` | `InputPeer` | Sim | O participante cujas mensagens devem ser excluídas |"}, "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": ["Canais e supergrupos"], "summary": "Defina se todos os usuários devem participar de um grupo de discussão para comentar uma postagem »", "description": "Defina se todos os usuários [devem participar de um grupo de discussão para comentar uma postagem »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Grupos de discussão](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais."}}, "externalDocs": {"description": "Documentação oficial do 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 discussão"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Alternar"}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Grupo de discussão |\n| `enabled` | `Bool` | Sim | 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": ["Canais e supergrupos"], "summary": "Defina se todos os usuários devem solicitar aprovação do administrador para ingressar no grupo ».", "description": "Defina se todos os usuários devem [solicitar aprovação do administrador para ingressar no grupo »](https://core.telegram.org/api/invites.md#join-requests).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links de convite](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `CHAT_PUBLIC_REQUIRED` — Você só pode ativar solicitações de adesão em grupos públicos."}}, "externalDocs": {"description": "Documentação oficial do 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 do 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 TL: InputUser.", "x-tl-flag": "flags.0?InputUser"}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `apply_to_invites` | `true` | Não | Valor do tipo TL `true`. |\n| `channel` | `InputChannel` | Sim | Grupo |\n| `enabled` | `Bool` | Sim | Alternar |\n| `guard_bot` | `InputUser` | Não | Tipo TL: InputUser. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_NOT_MODIFIED", "CHAT_PUBLIC_REQUIRED"], "x-browser-schema-id": "248260120"}}, "/catalog/channels.reorderUsernames": {"post": {"operationId": "channels.reorderUsernames", "tags": ["Canais e supergrupos"], "summary": "Reordenar nomes de usuários ativos", "description": "Reordenar nomes de usuários ativos\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais."}}, "externalDocs": {"description": "Documentação oficial do 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": "O supergrupo ou canal"}, "order": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "A nova ordem para nomes de usuário ativos. Todos os nomes de usuário ativos devem ser especificados."}}, "additionalProperties": false, "required": ["channel", "order"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O supergrupo ou canal |\n| `order` | `Vector<string>` | Sim | A nova ordem para nomes de usuário ativos. Todos os nomes de usuário ativos devem ser especificados. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_NOT_MODIFIED"], "x-browser-schema-id": "3025988893"}}, "/catalog/channels.toggleUsername": {"post": {"operationId": "channels.toggleUsername", "tags": ["Canais e supergrupos"], "summary": "Ativar ou desativar um nome de usuário fragment.com adquirido associado a um supergrupo ou canal de nossa propriedade.", "description": "Ative ou desative um nome de usuário [fragment.com](https://fragment.com) adquirido associado a um [supergrupo ou canal](https://core.telegram.org/api/channel.md) que possuímos.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `USERNAMES_ACTIVE_TOO_MUCH` — O número máximo de nomes de usuários ativos foi atingido.\n- 400 · `USERNAME_INVALID` — O nome de usuário fornecido não é válido.\n- 400 · `USERNAME_NOT_MODIFIED` — O nome de usuário não foi modificado."}}, "externalDocs": {"description": "Documentação oficial do 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 ou canal](https://core.telegram.org/api/channel.md)"}, "username": {"type": "string", "x-tl-type": "string", "description": "Nome de usuário"}, "active": {"type": "boolean", "x-tl-type": "Bool", "description": "Se deve ativar ou desativar o nome de usuário"}}, "additionalProperties": false, "required": ["channel", "username", "active"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | [Supergrupo ou canal](https://core.telegram.org/api/channel.md) |\n| `username` | `string` | Sim | Nome de usuário |\n| `active` | `Bool` | Sim | Se deve ativar ou desativar o nome de usuário |"}, "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": ["Canais e supergrupos"], "summary": "Desative todos os nomes de usuário adquiridos de um supergrupo ou canal", "description": "Desative todos os nomes de usuário adquiridos de um supergrupo ou canal\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 ou canal"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Supergrupo ou canal |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "170155475"}}, "/catalog/channels.toggleForum": {"post": {"operationId": "channels.toggleForum", "tags": ["Canais e supergrupos"], "summary": "Habilite ou desabilite a funcionalidade do fórum em um supergrupo.", "description": "Habilite ou desabilite [funcionalidade do fórum](https://core.telegram.org/api/forum.md) em um supergrupo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tópicos do fórum](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_DISCUSSION_UNALLOWED` — Você não pode ativar tópicos de fórum em um grupo de discussão vinculado a um canal.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais."}}, "externalDocs": {"description": "Documentação oficial do 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 do supergrupo"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Habilite ou desabilite a funcionalidade do fórum"}, "tabs": {"type": "boolean", "x-tl-type": "Bool", "description": "Se verdadeiro, habilita a UI do fórum com guias, caso contrário habilita a UI do fórum baseada em lista."}, "sidebar": {"type": "boolean", "x-tl-type": "Bool", "description": "Valor do tipo TL `Bool`."}}, "additionalProperties": false, "required": ["channel", "enabled", "tabs", "sidebar"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | ID do supergrupo |\n| `enabled` | `Bool` | Sim | Habilite ou desabilite a funcionalidade do fórum |\n| `tabs` | `Bool` | Sim | Se verdadeiro, habilita a UI do fórum com guias, caso contrário habilita a UI do fórum baseada em lista. |\n| `sidebar` | `Bool` | Sim | Valor do 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": ["Canais e supergrupos"], "summary": "Habilite ou desabilite o sistema antispam nativo.", "description": "Habilite ou desabilite o [sistema antispam nativo](https://core.telegram.org/api/antispam.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configuração do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais."}}, "externalDocs": {"description": "Documentação oficial do 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 do supergrupo. O supergrupo especificado deve ter pelo menos `telegram_antispam_group_size_min` membros para ativar a funcionalidade antispam, conforme especificado pelos [parâmetros de configuração do cliente](https://core.telegram.org/api/config.md#client-configuration)."}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Habilite ou desabilite o sistema antispam nativo."}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | ID do supergrupo. O supergrupo especificado deve ter pelo menos `telegram_antispam_group_size_min` membros para ativar a funcionalidade antispam, conforme especificado pelos [parâmetros de configuração do cliente](https://core.telegram.org/api/config.md#client-configuration). |\n| `enabled` | `Bool` | Sim | Habilite ou desabilite o 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": ["Canais e supergrupos"], "summary": "Denunciar um falso positivo antispam nativo", "description": "Denunciar um [antispam nativo](https://core.telegram.org/api/antispam.md) falso positivo\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Sistema antispam nativo](https://core.telegram.org/api/antispam.md)\n- [Registro do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do supergrupo"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem que foi excluída por engano pelo sistema [antispam](https://core.telegram.org/api/antispam.md) nativo, obtido do [log de administração](https://core.telegram.org/api/recent-actions.md)"}}, "additionalProperties": false, "required": ["channel", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | ID do supergrupo |\n| `msg_id` | `int` | Sim | ID da mensagem que foi excluída por engano pelo sistema [antispam](https://core.telegram.org/api/antispam.md) nativo, obtido do [log de administração](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": ["Canais e supergrupos"], "summary": "Oculte ou exiba a lista de participantes em um supergrupo.", "description": "Oculte ou exiba a lista de participantes em um [supergrupo](https://core.telegram.org/api/channel.md).\n\nO supergrupo deve ter pelo menos `hidden_members_group_size_min` participantes para usar este método, conforme especificado pelos [parâmetros de configuração do cliente »](https://core.telegram.org/api/config.md#client-configuration).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Configuração do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `PARTICIPANTS_TOO_FEW` — Não há participantes suficientes."}}, "externalDocs": {"description": "Documentação oficial do 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 do supergrupo"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Se verdadeiro, ocultará a lista de participantes; caso contrário, irá reexibi-lo."}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | ID do supergrupo |\n| `enabled` | `Bool` | Sim | Se verdadeiro, ocultará a lista de participantes; caso contrário, irá reexibi-lo. |"}, "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": ["Canais e supergrupos"], "summary": "Atualize a cor de destaque e o emoji personalizado de fundo » de um canal.", "description": "Atualize a [cor de destaque e emoji personalizado de fundo »](https://core.telegram.org/api/colors.md) de um canal.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Cores de destaque](https://core.telegram.org/api/colors.md)\n- [Aumentos de canal e supergrupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOOSTS_REQUIRED` — O canal especificado deve primeiro ser [impulsionado por seus usuários](https://core.telegram.org/api/boost.md) para executar esta ação.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja alterar o padrão de emoji de cor de destaque da página de perfil; caso contrário, a cor de destaque e o padrão de emoji das mensagens serão alterados.  Os canais podem alterar as paletas de mensagens e perfis; supergrupos só podem alterar a paleta de perfil, é claro, depois de atingir o [nível de impulso apropriado](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 cuja cor de destaque deve ser alterada."}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "[ID da paleta de cores de destaque »](https://core.telegram.org/api/colors.md) para usar (não RGB24, veja [aqui »](https://core.telegram.org/api/colors.md) para mais informações); se não for definido, a paleta padrão será usada."}, "background_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de emoji personalizado usado no padrão de cores de destaque.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `for_profile` | `true` | Não | Se deseja alterar o padrão de emoji de cor de destaque da página de perfil; caso contrário, a cor de destaque e o padrão de emoji das mensagens serão alterados.  Os canais podem alterar as paletas de mensagens e perfis; supergrupos só podem alterar a paleta de perfil, é claro, depois de atingir o [nível de impulso apropriado](https://core.telegram.org/api/colors.md). |\n| `channel` | `InputChannel` | Sim | Canal cuja cor de destaque deve ser alterada. |\n| `color` | `int` | Não | [ID da paleta de cores de destaque »](https://core.telegram.org/api/colors.md) para usar (não RGB24, veja [aqui »](https://core.telegram.org/api/colors.md) para mais informações); se não for definido, a paleta padrão será usada. |\n| `background_emoji_id` | `long` | Não | ID de emoji personalizado usado no padrão de cores de destaque. |"}, "x-telegram-rpc-errors": ["BOOSTS_REQUIRED", "CHANNEL_INVALID"], "x-browser-schema-id": "3635033713"}}, "/catalog/channels.toggleViewForumAsMessages": {"post": {"operationId": "channels.toggleViewForumAsMessages", "tags": ["Canais e supergrupos"], "summary": "Os usuários também podem optar por exibir mensagens de todos os tópicos de um fórum como se fossem enviadas para um grupo normal, usando a configuração \"Ver como mensagens\" no cliente local: esta configuração afeta apenas a conta atual e é sincronizada com outras sessões logadas usando este método.", "description": "Os usuários também podem optar por exibir mensagens de todos os tópicos de um [fórum](https://core.telegram.org/api/forum.md) como se fossem enviadas para um grupo normal, usando a configuração \"Ver como mensagens\" no cliente local: esta configuração afeta apenas a conta atual e é sincronizada com outras sessões logadas usando este método.\n\nInvocar este método atualizará o valor do sinalizador `view_forum_as_messages` de [channelFull](https://core.telegram.org/constructor/channelFull.md) ou [dialog](https://core.telegram.org/constructor/dialog.md) e emitirá um [updateChannelViewForumAsMessages](https://core.telegram.org/constructor/updateChannelViewForumAsMessages.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tópicos do fórum](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O fórum"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "O novo valor do sinalizador `view_forum_as_messages`."}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O fórum |\n| `enabled` | `Bool` | Sim | O novo valor do sinalizador `view_forum_as_messages`. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "2537077525"}}, "/catalog/channels.getChannelRecommendations": {"post": {"operationId": "channels.getChannelRecommendations", "tags": ["Canais e supergrupos"], "summary": "Obtenha uma lista de canais públicos com temas semelhantes, selecionados com base nas semelhanças em suas **bases de assinantes**.", "description": "Obtenha uma lista de canais públicos com temas semelhantes, selecionados com base nas semelhanças em suas **bases de assinantes**.\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais."}}, "externalDocs": {"description": "Documentação oficial do 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": "O método retornará canais relacionados ao `channel` passado. Se não for definido, o método retornará canais relacionados aos canais aos quais o usuário ingressou.", "x-tl-flag": "flags.0?InputChannel"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Não | O método retornará canais relacionados ao `channel` passado. Se não for definido, o método retornará canais relacionados aos canais aos quais o usuário ingressou. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_NOT_MODIFIED"], "x-browser-schema-id": "631707458"}}, "/catalog/channels.updateEmojiStatus": {"post": {"operationId": "channels.updateEmojiStatus", "tags": ["Canais e supergrupos"], "summary": "Defina um status de emoji para um canal ou supergrupo.", "description": "Defina um [status emoji](https://core.telegram.org/api/emoji-status.md) para um canal ou supergrupo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Estado dos 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O canal/supergrupo deve ter pelo 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": "[Status do Emoji](https://core.telegram.org/api/emoji-status.md) para definir"}}, "additionalProperties": false, "required": ["channel", "emoji_status"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O canal/supergrupo deve ter pelo 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` | Sim | [Status do Emoji](https://core.telegram.org/api/emoji-status.md) para definir |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "4040418984"}}, "/catalog/channels.setBoostsToUnblockRestrictions": {"post": {"operationId": "channels.setBoostsToUnblockRestrictions", "tags": ["Canais e supergrupos"], "summary": "Administradores com direitos de administrador ban\\_users » podem permitir que usuários que apliquem um certo número de reforços » ao grupo ignorem o modo lento » e outras » restrições de supergrupo, veja aqui » para mais informações.", "description": "Administradores com [direitos de administrador ban\\_users »](https://core.telegram.org/constructor/chatAdminRights.md) podem permitir que usuários que apliquem um certo número de [booosts »](https://core.telegram.org/api/boost.md) ao grupo ignorem o [modo lento »](https://core.telegram.org/method/channels.toggleSlowMode.md) e [outras »](https://core.telegram.org/api/rights.md#default-rights) restrições de supergrupo, veja [aqui »](https://core.telegram.org/api/boost.md#bypass-slowmode-and-chat-restrictions) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Aumentos de canal e supergrupo](https://core.telegram.org/api/boost.md)\n- [Administrador, banido, direitos padrão](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O supergrupo."}, "boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O número de reforços necessários (1-8, 0 para desativar)."}}, "additionalProperties": false, "required": ["channel", "boosts"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O supergrupo. |\n| `boosts` | `int` | Sim | O número de reforços necessários (1-8, 0 para desativar). |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "2906234094"}}, "/catalog/channels.setEmojiStickers": {"post": {"operationId": "channels.setEmojiStickers", "tags": ["Canais e supergrupos"], "summary": "Defina um conjunto de adesivos emoji personalizados para supergrupos. Só pode ser usado após atingir pelo menos o nível de boost » especificado no parâmetro de configuração `group_emoji_stickers_level_min` ».", "description": "Defina um [conjunto de adesivos emoji personalizados](https://core.telegram.org/api/custom-emoji.md) para supergrupos. Só pode ser usado após atingir pelo menos o [nível de boost »](https://core.telegram.org/api/boost.md) especificado no parâmetro de configuração [`group_emoji_stickers_level_min` »](https://core.telegram.org/api/config.md#group-emoji-stickers-level-min).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Aumentos de canal e supergrupo](https://core.telegram.org/api/boost.md)\n- [Configuração do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O 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": "O conjunto de adesivos emoji personalizados para associar ao supergrupo"}}, "additionalProperties": false, "required": ["channel", "stickerset"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O supergrupo |\n| `stickerset` | `InputStickerSet` | Sim | O conjunto de adesivos emoji personalizados para associar ao supergrupo |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "1020866743"}}, "/catalog/channels.restrictSponsoredMessages": {"post": {"operationId": "channels.restrictSponsoredMessages", "tags": ["Canais e supergrupos"], "summary": "Desative anúncios no canal especificado para todos os usuários.", "description": "Desative anúncios no canal especificado para todos os usuários.\n\nDisponível somente após atingir pelo menos o [nível de boost »](https://core.telegram.org/api/boost.md) especificado no parâmetro de configuração [`channel_restrict_sponsored_level_min` »](https://core.telegram.org/api/config.md#channel-restrict-sponsored-level-min).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Aumentos de canal e supergrupo](https://core.telegram.org/api/boost.md)\n- [Configuração do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O canal."}, "restricted": {"type": "boolean", "x-tl-type": "Bool", "description": "Seja para desativar ou reativar anúncios."}}, "additionalProperties": false, "required": ["channel", "restricted"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O canal. |\n| `restricted` | `Bool` | Sim | Seja para desativar ou reativar anúncios. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "2598966553"}}, "/catalog/channels.searchPosts": {"post": {"operationId": "channels.searchPosts", "tags": ["Canais e supergrupos"], "summary": "Pesquise globalmente postagens de canais públicos » (*incluindo* aqueles dos quais não somos membros) contendo uma hashtag específica *ou* uma consulta de texto completo.", "description": "Pesquise globalmente postagens de [canais »](https://core.telegram.org/api/channel.md) públicos (*incluindo* aqueles dos quais não somos membros) contendo uma hashtag específica *ou* uma consulta de texto completo.\n\nExatamente um entre `query` e `hashtag` deve ser definido.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Pesquisa e filtros](https://core.telegram.org/api/search.md)\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Autorização do usuário](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 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": "Digite TL: messages.Messages."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 420 · `FROZEN_METHOD_INVALID` — A conta corrente está [congelada](https://core.telegram.org/api/auth.md#frozen-accounts) e, portanto, não pode executar a ação especificada.\n- 400 · `OFFSET_PEER_ID_INVALID` — O par de deslocamento fornecido é inválido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação."}}, "externalDocs": {"description": "Documentação oficial do 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": "A hashtag a ser pesquisada, sem o caractere `#`."}, "query": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "A consulta de texto completo: cada usuário tem uma quantidade limitada de espaços de pesquisa de texto completo gratuitos, após os quais o pagamento é necessário, consulte [aqui »](https://core.telegram.org/api/search.md#posts-tab) para obter mais informações sobre o fluxo completo."}, "offset_rate": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Inicialmente 0, então defina para o parâmetro [`next_rate` de messages.messagesSlice](https://core.telegram.org/constructor/messages.messagesSlice.md), ou se estiver ausente, o `date` da última mensagem retornada."}, "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": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para pesquisas de postagem de texto completo (`query`), permite o pagamento da quantidade especificada de estrelas para a pesquisa, veja [aqui »](https://core.telegram.org/api/search.md#posts-tab) para mais informações sobre o fluxo completo.", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}}, "additionalProperties": false, "required": ["offset_rate", "offset_peer", "offset_id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hashtag` | `string` | Não | A hashtag a ser pesquisada, sem o caractere `#`. |\n| `query` | `string` | Não | A consulta de texto completo: cada usuário tem uma quantidade limitada de espaços de pesquisa de texto completo gratuitos, após os quais o pagamento é necessário, consulte [aqui »](https://core.telegram.org/api/search.md#posts-tab) para obter mais informações sobre o fluxo completo. |\n| `offset_rate` | `int` | Sim | Inicialmente 0, então defina para o parâmetro [`next_rate` de messages.messagesSlice](https://core.telegram.org/constructor/messages.messagesSlice.md), ou se estiver ausente, o `date` da última mensagem retornada. |\n| `offset_peer` | `InputPeer` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `offset_id` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |\n| `allow_paid_stars` | `long` | Não | Para pesquisas de postagem de texto completo (`query`), permite o pagamento da quantidade especificada de estrelas para a pesquisa, veja [aqui »](https://core.telegram.org/api/search.md#posts-tab) para mais informações sobre o fluxo 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": ["Canais e supergrupos"], "summary": "Habilite ou desabilite mensagens pagas » neste supergrupo ou monofórum.", "description": "Ative ou desative [mensagens pagas »](https://core.telegram.org/api/paid-messages.md) neste [supergrupo](https://core.telegram.org/api/channel.md) ou [monoforum](https://core.telegram.org/api/monoforum.md).\n\nTambém usado para [ativar ou desativar monofóruns, também conhecidos como mensagens diretas em um canal](https://core.telegram.org/api/monoforum.md).\n\nObserve que passar o ID do próprio monoforum para `channel` retornará um erro `CHANNEL_MONOFORUM_UNSUPPORTED`: em vez disso, passe o ID do canal associado para editar as configurações do monoforum associado.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens diretas para canais](https://core.telegram.org/api/monoforum.md)\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Mensagens pagas](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) não suporta este recurso.\n- 400 · `CHAT_NOT_MODIFIED` — Nenhuma alteração foi feita nas informações do chat porque as novas informações que você passou são idênticas às informações atuais.\n- 400 · `STARS_AMOUNT_INVALID` — O valor especificado em estrelas é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Utilizável apenas para canais, ativa ou desativa o [monoforum também conhecido como mensagens diretas](https://core.telegram.org/api/monoforum.md) associado."}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Passe o ID do supergrupo para supergrupos e o ID do [canal](https://core.telegram.org/api/channel.md) para modificar a configuração no monoforum associado."}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Especifica a quantia necessária de [Telegram Stars](https://core.telegram.org/api/stars.md) que os usuários devem pagar para enviar mensagens ao supergrupo ou monoforum.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["channel", "send_paid_messages_stars"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `broadcast_messages_allowed` | `true` | Não | Utilizável apenas para canais, ativa ou desativa o [monoforum também conhecido como mensagens diretas](https://core.telegram.org/api/monoforum.md) associado. |\n| `channel` | `InputChannel` | Sim | Passe o ID do supergrupo para supergrupos e o ID do [canal](https://core.telegram.org/api/channel.md) para modificar a configuração no monoforum associado. |\n| `send_paid_messages_stars` | `long` | Sim | Especifica a quantia necessária de [Telegram Stars](https://core.telegram.org/api/stars.md) que os usuários devem pagar para enviar mensagens ao supergrupo ou monoforum. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_MONOFORUM_UNSUPPORTED", "CHAT_NOT_MODIFIED", "STARS_AMOUNT_INVALID"], "x-browser-schema-id": "1259483771"}}, "/catalog/channels.toggleAutotranslation": {"post": {"operationId": "channels.toggleAutotranslation", "tags": ["Canais e supergrupos"], "summary": "Ative a tradução automática em um canal para todos os usuários: veja aqui » para mais informações.", "description": "Ative a tradução automática em um canal, para todos os usuários: veja [aqui »](https://core.telegram.org/api/translation.md#autotranslation-for-channels) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Tradução de mensagens](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O canal onde alternar a tradução automática."}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Seja para ativar ou desativar a tradução automática."}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O canal onde alternar a tradução automática. |\n| `enabled` | `Bool` | Sim | Seja para ativar ou desativar a tradução automática. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "377471137"}}, "/catalog/channels.getMessageAuthor": {"post": {"operationId": "channels.getMessageAuthor", "tags": ["Canais e supergrupos"], "summary": "Só pode ser invocado por administradores não-bot de um monoforum », obtém o remetente original de uma mensagem enviada por outros administradores do monoforum ao monoforum, em nome do canal associado ao monoforum.", "description": "Só pode ser invocado por administradores não-bot de um [monoforum »](https://core.telegram.org/api/monoforum.md), obtém o remetente original de uma mensagem enviada por outros administradores do monoforum para o monoforum, em nome do canal associado ao monoforum.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Mensagens diretas para canais](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 MTProto · `User`.\n\n[Usuário](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": "Digite TL: Usuário."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "ID do monofórum."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem enviada por um administrador do monoforum."}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | ID do monofórum. |\n| `id` | `int` | Sim | ID da mensagem enviada por um administrador do monoforum. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "3974275302"}}, "/catalog/channels.checkSearchPostsFlood": {"post": {"operationId": "channels.checkSearchPostsFlood", "tags": ["Canais e supergrupos"], "summary": "Verifique se a pesquisa de postagem global especificada »exige pagamento.", "description": "Verifique se a [pesquisa de postagem global »](https://core.telegram.org/api/search.md#posts-tab) especificada requer pagamento.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Pesquisa e 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 MTProto · `SearchPostsFlood`.\n\n[PesquisaPostagensInundação](https://core.telegram.org/type/SearchPostsFlood.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "SearchPostsFlood", "oneOf": [{"$ref": "#/components/schemas/searchPostsFlood"}], "description": "Tipo TL: SearchPostsFlood."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "A consulta."}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `query` | `string` | Não | A consulta. |"}, "x-browser-schema-id": "576090389"}}, "/catalog/channels.setMainProfileTab": {"post": {"operationId": "channels.setMainProfileTab", "tags": ["Canais e supergrupos"], "summary": "Altera a aba principal do perfil de um canal, veja aqui » para mais informações.", "description": "Altera a aba principal do perfil de um canal, veja [aqui »](https://core.telegram.org/api/profile.md#tabs) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Perfis de usuário](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O 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": "A guia a ser definida como guia principal."}}, "additionalProperties": false, "required": ["channel", "tab"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | O canal. |\n| `tab` | `ProfileTab` | Sim | A guia a ser definida como guia principal. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "897842353"}}, "/catalog/channels.editChannelNews": {"post": {"operationId": "channels.editChannelNews", "tags": ["Canais e supergrupos"], "summary": "channels.editChannelNews", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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: Atualizações."}}}}}, "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: InputChannel."}, "news": {"type": "boolean", "x-tl-type": "Bool", "description": "Valor do tipo TL `Bool`."}}, "additionalProperties": false, "required": ["channel", "news"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Tipo TL: InputChannel. |\n| `news` | `Bool` | Sim | Valor do tipo TL `Bool`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3607427461"}}, "/catalog/bots.sendCustomRequest": {"post": {"operationId": "bots.sendCustomRequest", "tags": ["Robôs"], "summary": "Envia uma solicitação personalizada; apenas para bots", "description": "Envia uma solicitação personalizada; apenas para bots\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 MTProto · `DataJSON`.\n\n[DadosJSON](https://core.telegram.org/type/DataJSON.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Tipo TL: DataJSON."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `DATA_JSON_INVALID` — Os dados JSON fornecidos são inválidos.\n- 400 · `METHOD_INVALID` — O método especificado é inválido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "O nome do método"}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Parâmetros do método serializado JSON"}}, "additionalProperties": false, "required": ["custom_method", "params"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `custom_method` | `string` | Sim | O nome do método |\n| `params` | `DataJSON` | Sim | Parâmetros do método serializado JSON |"}, "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": ["Robôs"], "summary": "Responde a uma consulta personalizada; apenas para bots", "description": "Responde a uma consulta personalizada; apenas para bots\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `DATA_JSON_INVALID` — Os dados JSON fornecidos são inválidos.\n- 400 · `QUERY_ID_INVALID` — O ID da consulta é inválido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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 uma consulta personalizada", "x-tl-type": "long"}, "data": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Resposta serializada JSON à consulta"}}, "additionalProperties": false, "required": ["query_id", "data"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `query_id` | `long` | Sim | Identificador de uma consulta personalizada |\n| `data` | `DataJSON` | Sim | Resposta serializada JSON à 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": ["Robôs"], "summary": "Definir lista de comandos do bot", "description": "Definir lista de comandos do bot\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_COMMAND_DESCRIPTION_INVALID` — A descrição do comando especificada é inválida.\n- 400 · `BOT_COMMAND_INVALID` — O comando especificado é inválido.\n- 400 · `LANG_CODE_INVALID` — O código do idioma especificado é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Escopo do comando"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Código do idioma"}, "commands": {"type": "array", "items": {"type": "object", "x-tl-type": "BotCommand", "oneOf": [{"$ref": "#/components/schemas/botCommand"}], "description": "Tipo TL: BotCommand."}, "x-tl-type": "Vector<BotCommand>", "description": "Comandos de bot"}}, "additionalProperties": false, "required": ["scope", "lang_code", "commands"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `scope` | `BotCommandScope` | Sim | Escopo do comando |\n| `lang_code` | `string` | Sim | Código do idioma |\n| `commands` | `Vector<BotCommand>` | Sim | Comandos de bot |"}, "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": ["Robôs"], "summary": "Limpar comandos de bot para o escopo do bot e código de idioma especificados", "description": "Limpar comandos de bot para o escopo do bot e código de idioma especificados\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `LANG_CODE_INVALID` — O código do idioma especificado é inválido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "Escopo do comando"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Código do idioma"}}, "additionalProperties": false, "required": ["scope", "lang_code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `scope` | `BotCommandScope` | Sim | Escopo do comando |\n| `lang_code` | `string` | Sim | Código do idioma |"}, "x-telegram-rpc-errors": ["LANG_CODE_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "1032708345"}}, "/catalog/bots.getBotCommands": {"post": {"operationId": "bots.getBotCommands", "tags": ["Robôs"], "summary": "Obtenha uma lista de comandos de bot para o escopo de bot e código de idioma especificados", "description": "Obtenha uma lista de comandos de bot para o escopo de bot e código de idioma especificados\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 MTProto · `Vector<BotCommand>`.\n\n[Vetor](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 TL: BotCommand."}, "x-tl-type": "Vector<BotCommand>"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "Escopo do comando"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Código do idioma"}}, "additionalProperties": false, "required": ["scope", "lang_code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `scope` | `BotCommandScope` | Sim | Escopo do comando |\n| `lang_code` | `string` | Sim | Código do idioma |"}, "x-telegram-rpc-errors": ["USER_BOT_REQUIRED"], "x-browser-schema-id": "3813412310"}}, "/catalog/bots.setBotMenuButton": {"post": {"operationId": "bots.setBotMenuButton", "tags": ["Robôs"], "summary": "Define a ação do botão de menu » para um determinado usuário ou para todos os usuários", "description": "Define a [ação do botão de menu »](https://core.telegram.org/api/bots/menu.md) para um determinado usuário ou para todos os usuários\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.\n\n**Documentação relacionada**\n\n- [Botão de menu do bot](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BUTTON_INVALID` — O botão especificado é inválido.\n- 400 · `BUTTON_TEXT_INVALID` — O texto do botão especificado é inválido.\n- 400 · `BUTTON_URL_INVALID` — Botão URL inválido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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 do usuário"}, "button": {"type": "object", "x-tl-type": "BotMenuButton", "oneOf": [{"$ref": "#/components/schemas/botMenuButtonDefault"}, {"$ref": "#/components/schemas/botMenuButtonCommands"}, {"$ref": "#/components/schemas/botMenuButton"}], "description": "Ação do botão do menu do bot"}}, "additionalProperties": false, "required": ["user_id", "button"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Sim | ID do usuário |\n| `button` | `BotMenuButton` | Sim | Ação do botão do menu do 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": ["Robôs"], "summary": "Obtém a ação do botão de menu para um determinado usuário ou para todos os usuários, previamente definida usando bots.setBotMenuButton; os usuários podem ver essas informações no construtor botInfo.", "description": "Obtém a ação do botão de menu para um determinado usuário ou para todos os usuários, previamente definida usando [bots.setBotMenuButton](https://core.telegram.org/method/bots.setBotMenuButton.md); os usuários podem ver essas informações no construtor [botInfo](https://core.telegram.org/constructor/botInfo.md).\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.", "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 MTProto · `BotMenuButton`.\n\n[BotMenuButton](https://core.telegram.org/type/BotMenuButton.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "BotMenuButton", "oneOf": [{"$ref": "#/components/schemas/botMenuButtonDefault"}, {"$ref": "#/components/schemas/botMenuButtonCommands"}, {"$ref": "#/components/schemas/botMenuButton"}], "description": "Tipo TL: BotMenuButton."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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 do usuário ou vazio para o botão de menu padrão."}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Sim | ID do usuário ou vazio para o botão de menu padrão. |"}, "x-telegram-rpc-errors": ["USER_BOT_REQUIRED"], "x-browser-schema-id": "2623597352"}}, "/catalog/bots.setBotBroadcastDefaultAdminRights": {"post": {"operationId": "bots.setBotBroadcastDefaultAdminRights", "tags": ["Robôs"], "summary": "Defina os direitos de administrador sugeridos padrão para bots adicionados como administradores aos canais. Veja aqui mais informações sobre como lidar com eles ».", "description": "Defina os [direitos de administrador sugeridos](https://core.telegram.org/api/rights.md#suggested-bot-rights) padrão para bots adicionados como administradores aos canais, consulte [aqui para obter mais informações sobre como lidar com eles »](https://core.telegram.org/api/rights.md#suggested-bot-rights).\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.\n\n**Documentação relacionada**\n\n- [Administrador, banido, direitos padrão](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `RIGHTS_NOT_MODIFIED` — Os novos direitos de administrador são iguais aos direitos antigos, nenhuma alteração foi feita.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "Direitos de administrador"}}, "additionalProperties": false, "required": ["admin_rights"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `admin_rights` | `ChatAdminRights` | Sim | Direitos 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": ["Robôs"], "summary": "Defina os direitos de administrador sugeridos padrão para bots adicionados como administradores a grupos, veja aqui para obter mais informações sobre como lidar com eles ».", "description": "Defina os [direitos de administrador sugeridos](https://core.telegram.org/api/rights.md#suggested-bot-rights) padrão para bots adicionados como administradores aos grupos, consulte [aqui para obter mais informações sobre como lidar com eles »](https://core.telegram.org/api/rights.md#suggested-bot-rights).\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.\n\n**Documentação relacionada**\n\n- [Administrador, banido, direitos padrão](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `RIGHTS_NOT_MODIFIED` — Os novos direitos de administrador são iguais aos direitos antigos, nenhuma alteração foi feita.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "Direitos de administrador"}}, "additionalProperties": false, "required": ["admin_rights"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `admin_rights` | `ChatAdminRights` | Sim | Direitos 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": ["Robôs"], "summary": "Defina o nome localizado, sobre o texto e a descrição de um bot (ou da conta atual, se chamada por um bot).", "description": "Defina o nome localizado, sobre o texto e a descrição de um bot (ou da conta atual, se chamada por um bot).\n\n**Quem pode chamar esse método** · Usuários e bots do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `USER_BOT_INVALID` — As contas de usuário devem fornecer o parâmetro de método `bot` ao chamar este método. Se não houver tal parâmetro de método, este método só poderá ser invocado por contas de bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se chamado por um usuário, **deve** conter o par de um bot que possuímos.", "x-tl-flag": "flags.2?InputUser"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Código do idioma, se deixado em branco, atualize o substituto sobre o texto e a descrição"}, "name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Novo nome do bot"}, "about": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Novidades sobre texto"}, "description": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Nova descrição"}}, "additionalProperties": false, "required": ["lang_code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Não | Se chamado por um usuário, **deve** conter o par de um bot que possuímos. |\n| `lang_code` | `string` | Sim | Código do idioma, se deixado em branco, atualize o substituto sobre o texto e a descrição |\n| `name` | `string` | Não | Novo nome do bot |\n| `about` | `string` | Não | Novidades sobre texto |\n| `description` | `string` | Não | Nova descrição |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USER_BOT_INVALID"], "x-browser-schema-id": "282013987"}}, "/catalog/bots.getBotInfo": {"post": {"operationId": "bots.getBotInfo", "tags": ["Robôs"], "summary": "Obtenha o nome localizado, o texto e a descrição de um bot (ou da conta atual, se chamada por um bot).", "description": "Obtenha o nome localizado, o texto e a descrição de um bot (ou da conta atual, se chamada por um bot).\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `LANG_CODE_INVALID` — O código do idioma especificado é inválido.\n- 400 · `USER_BOT_INVALID` — As contas de usuário devem fornecer o parâmetro de método `bot` ao chamar este método. Se não houver tal parâmetro de método, este método só poderá ser invocado por contas de bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se chamado por um usuário, **deve** conter o par de um bot que possuímos.", "x-tl-flag": "flags.0?InputUser"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Código do idioma, se deixado em branco, este método retornará o substituto sobre o texto e a descrição."}}, "additionalProperties": false, "required": ["lang_code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Não | Se chamado por um usuário, **deve** conter o par de um bot que possuímos. |\n| `lang_code` | `string` | Sim | Código do idioma, se deixado em branco, este método retornará o substituto sobre o texto e a descrição. |"}, "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": ["Robôs"], "summary": "Reordene os nomes de usuário associados a um bot que possuímos.", "description": "Reordene os nomes de usuário associados a um bot que possuímos.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `USERNAME_NOT_MODIFIED` — O nome de usuário não foi modificado."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot"}, "order": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "A nova ordem para nomes de usuário ativos. Todos os nomes de usuário ativos devem ser especificados."}}, "additionalProperties": false, "required": ["bot", "order"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot |\n| `order` | `Vector<string>` | Sim | A nova ordem para nomes de usuário ativos. Todos os nomes de usuário ativos devem ser especificados. |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USERNAME_NOT_MODIFIED"], "x-browser-schema-id": "2533994946"}}, "/catalog/bots.toggleUsername": {"post": {"operationId": "bots.toggleUsername", "tags": ["Robôs"], "summary": "Ativar ou desativar um nome de usuário fragment.com adquirido associado a um bot que possuímos.", "description": "Ativar ou desativar um nome de usuário [fragment.com](https://fragment.com) adquirido associado a um bot que possuímos.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `USERNAME_NOT_MODIFIED` — O nome de usuário não foi modificado."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot"}, "username": {"type": "string", "x-tl-type": "string", "description": "Nome de usuário"}, "active": {"type": "boolean", "x-tl-type": "Bool", "description": "Seja para ativá-lo ou desativá-lo"}}, "additionalProperties": false, "required": ["bot", "username", "active"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot |\n| `username` | `string` | Sim | Nome de usuário |\n| `active` | `Bool` | Sim | Seja para ativá-lo ou desativá-lo |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USERNAME_NOT_MODIFIED"], "x-browser-schema-id": "87861619"}}, "/catalog/bots.canSendMessage": {"post": {"operationId": "bots.canSendMessage", "tags": ["Robôs"], "summary": "Verifique se o bot especificado pode nos enviar mensagens", "description": "Verifique se o bot especificado pode nos enviar mensagens\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "324662502"}}, "/catalog/bots.allowSendMessage": {"post": {"operationId": "bots.allowSendMessage", "tags": ["Robôs"], "summary": "Permitir que o bot especificado nos envie mensagens", "description": "Permitir que o bot especificado nos envie mensagens\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "4046644207"}}, "/catalog/bots.invokeWebViewCustomMethod": {"post": {"operationId": "bots.invokeWebViewCustomMethod", "tags": ["Robôs"], "summary": "Envie uma solicitação personalizada de um aplicativo mini bot, acionado por um evento web\\_app\\_invoke\\_custom\\_method ».", "description": "Envie uma solicitação personalizada de um [mini bot app](https://core.telegram.org/api/bots/webapps.md), acionado por um [evento web\\_app\\_invoke\\_custom\\_method »](https://core.telegram.org/api/web-events.md#web-app-invoke-custom-method).\n\nA resposta deve ser enviada usando um evento [custom\\_method\\_invoked](https://core.telegram.org/api/bots/webapps.md#custom-method-invoked), [veja aqui »](https://core.telegram.org/api/web-events.md#web-app-invoke-custom-method) para mais informações sobre o fluxo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Miniaplicativos no Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Eventos da 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 MTProto · `DataJSON`.\n\n[DadosJSON](https://core.telegram.org/type/DataJSON.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Tipo TL: DataJSON."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `DATA_JSON_INVALID` — Os dados JSON fornecidos são inválidos.\n- 400 · `METHOD_INVALID` — O método especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do bot associado ao [aplicativo mini bot](https://core.telegram.org/api/bots/webapps.md)"}, "custom_method": {"type": "string", "x-tl-type": "string", "description": "Identificador do método personalizado a ser invocado"}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Parâmetros do método"}}, "additionalProperties": false, "required": ["bot", "custom_method", "params"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | Identificador do bot associado ao [aplicativo mini bot](https://core.telegram.org/api/bots/webapps.md) |\n| `custom_method` | `string` | Sim | Identificador do método personalizado a ser invocado |\n| `params` | `DataJSON` | Sim | Parâmetros do 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": ["Robôs"], "summary": "Obtenha Mini Apps principais populares, para serem usados na guia de aplicativos da pesquisa global ».", "description": "Busque os populares [Main Mini Apps](https://core.telegram.org/api/bots/webapps.md#main-mini-apps), para serem usados na [guia de aplicativos da pesquisa global »](https://core.telegram.org/api/search.md#apps-tab).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Miniaplicativos no Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Pesquisa e 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 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": "Documentação oficial do 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": "Deslocamento para [pagination](https://core.telegram.org/api/offsets.md), inicialmente uma string vazia, depois reutilize o `next_offset` retornado pela consulta anterior."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `offset` | `string` | Sim | Deslocamento para [pagination](https://core.telegram.org/api/offsets.md), inicialmente uma string vazia, depois reutilize o `next_offset` retornado pela consulta anterior. |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "3260088722"}}, "/catalog/bots.addPreviewMedia": {"post": {"operationId": "bots.addPreviewMedia", "tags": ["Robôs"], "summary": "Adicione uma visualização principal do miniaplicativo, veja aqui » para mais informações.", "description": "Adicione uma [visualização principal do mini aplicativo, veja aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para mais informações.\n\nSomente proprietários de bots com um Main Mini App configurado podem usar este método, veja [veja aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para mais informações sobre como verificar se você pode invocar este método.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Miniaplicativos no 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 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 TL: BotPreviewMedia."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot que possui o Mini App Principal."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "ISO Código do idioma 639-1, indicando a localização da visualização a ser adicionada."}, "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": "A visualização da foto/vídeo, carregada usando [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md)."}}, "additionalProperties": false, "required": ["bot", "lang_code", "media"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot que possui o Mini App Principal. |\n| `lang_code` | `string` | Sim | ISO Código do idioma 639-1, indicando a localização da visualização a ser adicionada. |\n| `media` | `InputMedia` | Sim | A visualização da foto/vídeo, carregada 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": ["Robôs"], "summary": "Edite uma visualização principal do miniaplicativo, veja aqui » para mais informações.", "description": "Edite uma [visualização principal do mini aplicativo, veja aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para mais informações.\n\nSomente proprietários de bots com um Main Mini App configurado podem usar este método, veja [veja aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para mais informações sobre como verificar se você pode invocar este método.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Miniaplicativos no 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 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 TL: BotPreviewMedia."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot que possui o Mini App Principal."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "ISO Código de idioma 639-1, indicando a localização da visualização a ser editada."}, "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": "A visualização da foto/vídeo a ser substituída, obtida anteriormente conforme especificado [aqui »](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": "A nova visualização de foto/vídeo, carregada usando [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md)."}}, "additionalProperties": false, "required": ["bot", "lang_code", "media", "new_media"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot que possui o Mini App Principal. |\n| `lang_code` | `string` | Sim | ISO Código de idioma 639-1, indicando a localização da visualização a ser editada. |\n| `media` | `InputMedia` | Sim | A visualização da foto/vídeo a ser substituída, obtida anteriormente conforme especificado [aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews). |\n| `new_media` | `InputMedia` | Sim | A nova visualização de foto/vídeo, carregada 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": ["Robôs"], "summary": "Exclua uma visualização principal do miniaplicativo, veja aqui » para mais informações.", "description": "Exclua uma [visualização principal do mini aplicativo, veja aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para mais informações.\n\nSomente proprietários de bots com um Main Mini App configurado podem usar este método, veja [veja aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para mais informações sobre como verificar se você pode invocar este método.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Miniaplicativos no 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot que possui o Mini App Principal."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "ISO Código de idioma 639-1, indicando a localização da visualização a ser excluída."}, "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 TL: InputMedia."}, "x-tl-type": "Vector<InputMedia>", "description": "A visualização da foto/vídeo a ser excluída, obtida anteriormente conforme especificado [aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews)."}}, "additionalProperties": false, "required": ["bot", "lang_code", "media"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot que possui o Mini App Principal. |\n| `lang_code` | `string` | Sim | ISO Código de idioma 639-1, indicando a localização da visualização a ser excluída. |\n| `media` | `Vector<InputMedia>` | Sim | A visualização da foto/vídeo a ser excluída, obtida anteriormente conforme especificado [aqui »](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": ["Robôs"], "summary": "Reordene as visualizações principais do miniaplicativo, veja aqui » para mais informações.", "description": "Reordene uma [visualização principal do miniaplicativo, veja aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para obter mais informações.\n\nSomente proprietários de bots com um Main Mini App configurado podem usar este método, veja [veja aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para mais informações sobre como verificar se você pode invocar este método.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Miniaplicativos no 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot que possui o Mini App Principal."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "ISO Código de idioma 639-1, indicando a localização das visualizações a serem reordenadas."}, "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 TL: InputMedia."}, "x-tl-type": "Vector<InputMedia>", "description": "Nova ordem das prévias."}}, "additionalProperties": false, "required": ["bot", "lang_code", "order"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot que possui o Mini App Principal. |\n| `lang_code` | `string` | Sim | ISO Código de idioma 639-1, indicando a localização das visualizações a serem reordenadas. |\n| `order` | `Vector<InputMedia>` | Sim | Nova ordem das prévias. |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "3056071594"}}, "/catalog/bots.getPreviewInfo": {"post": {"operationId": "bots.getPreviewInfo", "tags": ["Robôs"], "summary": "Apenas proprietários de bot, obtenham informações de visualização do miniaplicativo principal, veja aqui » para obter mais informações.", "description": "Somente proprietários de bot, busquem [informações principais de visualização do miniaplicativo, veja aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para obter mais informações.\n\nNota: tecnicamente não proprietários também podem invocar este método, mas ele sempre se comportará exatamente como [bots.getPreviewMedias](https://core.telegram.org/method/bots.getPreviewMedias.md), retornando apenas visualizações para o idioma atual e um array `lang_codes` vazio, independentemente do `lang_code` passado, então use apenas [bots.getPreviewMedias](https://core.telegram.org/method/bots.getPreviewMedias.md) se você não for o proprietário do `bot`.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Miniaplicativos no 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 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": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot que possui o Mini App Principal."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Obtenha visualizações para o código de idioma ISO 639-1 especificado."}}, "additionalProperties": false, "required": ["bot", "lang_code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot que possui o Mini App Principal. |\n| `lang_code` | `string` | Sim | Obtenha visualizações para o 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": ["Robôs"], "summary": "Obtenha as principais visualizações do miniaplicativo, veja aqui » para mais informações.", "description": "Obtenha [visualizações principais do miniaplicativo, veja aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Miniaplicativos no 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 MTProto · `Vector<BotPreviewMedia>`.\n\n[Vetor](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 TL: BotPreviewMedia."}, "x-tl-type": "Vector<BotPreviewMedia>"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot que possui o Mini App Principal."}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot que possui o Mini App Principal. |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "2728745293"}}, "/catalog/bots.updateUserEmojiStatus": {"post": {"operationId": "bots.updateUserEmojiStatus", "tags": ["Robôs"], "summary": "Alterar o status do emoji de um usuário (invocado por bots, veja aqui » para mais informações sobre o fluxo completo)", "description": "Alterar o status do emoji de um usuário (invocado por bots, veja [aqui »](https://core.telegram.org/api/emoji-status.md#setting-an-emoji-status-from-a-bot) para mais informações sobre o fluxo completo)\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.\n\n**Documentação relacionada**\n\n- [Estado dos 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido.\n- 403 · `USER_PERMISSION_DENIED` — O usuário não concedeu ou revogou o acesso do bot para alterar seu status de emoji usando [bots.toggleUserEmojiStatusPermission](https://core.telegram.org/method/bots.toggleUserEmojiStatusPermission.md)."}}, "externalDocs": {"description": "Documentação oficial do 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": "O usuário cujo status de emoji deve ser alterado"}, "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": "O status dos emojis"}}, "additionalProperties": false, "required": ["user_id", "emoji_status"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Sim | O usuário cujo status de emoji deve ser alterado |\n| `emoji_status` | `EmojiStatus` | Sim | O status dos 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": ["Robôs"], "summary": "Permitir ou impedir que um bot altere nosso status de emoji »", "description": "Permitir ou impedir que um bot [altere nosso status de emoji »](https://core.telegram.org/api/emoji-status.md#setting-an-emoji-status-from-a-bot)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estado dos 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Permitir ou impedir que o bot altere nosso status de emoji"}}, "additionalProperties": false, "required": ["bot", "enabled"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot |\n| `enabled` | `Bool` | Sim | Permitir ou impedir que o bot altere nosso status de emoji |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "115237778"}}, "/catalog/bots.checkDownloadFileParams": {"post": {"operationId": "bots.checkDownloadFileParams", "tags": ["Robôs"], "summary": "Verifique se um miniaplicativo pode solicitar o download de um arquivo específico: chamado ao manipular eventos web\\_app\\_request\\_file\\_download »", "description": "Verifique se um [mini app](https://core.telegram.org/api/bots/webapps.md) pode solicitar o download de um arquivo específico: chamado ao manipular eventos [web\\_app\\_request\\_file\\_download »](https://core.telegram.org/api/web-events.md#web-app-request-file-download)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Miniaplicativos no Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Eventos da 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot proprietário do [mini app](https://core.telegram.org/api/bots/webapps.md) que solicitou o download"}, "file_name": {"type": "string", "x-tl-type": "string", "description": "O `filename` do [evento web_app_request_file_download »](https://core.telegram.org/api/web-events.md#web-app-request-file-download)"}, "url": {"type": "string", "x-tl-type": "string", "description": "O `url` do [evento web_app_request_file_download »](https://core.telegram.org/api/web-events.md#web-app-request-file-download)"}}, "additionalProperties": false, "required": ["bot", "file_name", "url"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot proprietário do [mini app](https://core.telegram.org/api/bots/webapps.md) que solicitou o download |\n| `file_name` | `string` | Sim | O `filename` do [evento web_app_request_file_download »](https://core.telegram.org/api/web-events.md#web-app-request-file-download) |\n| `url` | `string` | Sim | O `url` do [evento web_app_request_file_download »](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": ["Robôs"], "summary": "Obtenha uma lista de bots pertencentes ao usuário atual", "description": "Obtenha uma lista de bots pertencentes ao usuário atual", "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 MTProto · `Vector<User>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[Usuário](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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/bots.getAdminedBots"}, "x-browser-schema-id": "2960203139"}}, "/catalog/bots.updateStarRefProgram": {"post": {"operationId": "bots.updateStarRefProgram", "tags": ["Robôs"], "summary": "Criar, editar ou excluir o programa de afiliados de um bot que possuímos", "description": "Crie, edite ou exclua o [programa de afiliados](https://core.telegram.org/api/bots/referrals.md) de um bot que possuímos\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Programas 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 MTProto · `StarRefProgram`.\n\n[StarRefProgram](https://core.telegram.org/type/StarRefProgram.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StarRefProgram", "oneOf": [{"$ref": "#/components/schemas/starRefProgram"}], "description": "Tipo TL: StarRefProgram."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `STARREF_AWAITING_END` — O programa de indicação anterior foi encerrado há menos de 24 horas: novas alterações podem ser feitas após a data especificada em userFull.starref_program.end_date.\n- 400 · `STARREF_PERMILLE_INVALID` — O commission_permille especificado é inválido: os valores mínimo e máximo para este parâmetro estão contidos nos parâmetros de configuração do cliente [starref_min_commission_permille](https://core.telegram.org/api/config.md#starref-min-commission-permille) e [starref_max_commission_permille](https://core.telegram.org/api/config.md#starref-max-commission-permille).\n- 400 · `STARREF_PERMILLE_TOO_LOW` — O commission_permille especificado é muito baixo: os valores mínimo e máximo para este parâmetro estão contidos nos parâmetros de configuração do cliente [starref_min_commission_permille](https://core.telegram.org/api/config.md#starref-min-commission-permille) e [starref_max_commission_permille](https://core.telegram.org/api/config.md#starref-max-commission-permille)."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot"}, "commission_permille": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "A taxa de comissão permille: indica a parcela de Telegram Stars recebida pelos afiliados para cada transação feita pelos usuários indicados dentro do bot.     Os valores mínimo e máximo para este parâmetro estão contidos nos parâmetros de configuração do cliente [starref_min_commission_permille](https://core.telegram.org/api/config.md#starref-min-commission-permille) e [starref_max_commission_permille](https://core.telegram.org/api/config.md#starref-max-commission-permille).    Pode ser `0` para encerrar o programa de afiliados.   Tanto a duração como a comissão só poderão ser aumentadas após a criação do programa: para baixá-las, primeiro o programa deve ser encerrado e criado um novo."}, "duration_months": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Indica a duração do programa de afiliados; se não for definido, não há data de validade."}}, "additionalProperties": false, "required": ["bot", "commission_permille"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot |\n| `commission_permille` | `int` | Sim | A taxa de comissão permille: indica a parcela de Telegram Stars recebida pelos afiliados para cada transação feita pelos usuários indicados dentro do bot.     Os valores mínimo e máximo para este parâmetro estão contidos nos parâmetros de configuração do cliente [starref_min_commission_permille](https://core.telegram.org/api/config.md#starref-min-commission-permille) e [starref_max_commission_permille](https://core.telegram.org/api/config.md#starref-max-commission-permille).    Pode ser `0` para encerrar o programa de afiliados.   Tanto a duração como a comissão só poderão ser aumentadas após a criação do programa: para baixá-las, primeiro o programa deve ser encerrado e criado um novo. |\n| `duration_months` | `int` | Não | Indica a duração do programa de afiliados; se não for definido, não há data de validade. |"}, "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": ["Robôs"], "summary": "Verifique um usuário ou converse em nome de uma organização ».", "description": "Verifique um usuário ou converse [em nome de uma organização »](https://core.telegram.org/api/bots/verification.md).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Verificação de terceiros](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 403 · `BOT_VERIFIER_FORBIDDEN` — Este bot não pode atribuir [ícones de verificação](https://core.telegram.org/api/bots/verification.md).\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, adiciona a verificação; caso contrário, remove a verificação."}, "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": "**não** deve ser definido se invocado por um bot, **deve** ser definido como o ID de um bot de propriedade se invocado por um usuário.", "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": "O ponto a ser verificado"}, "custom_description": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Descrição personalizada para a verificação, o limite de comprimento UTF-8 para este campo está contido em [bot_verification_description_length_limit »](https://core.telegram.org/api/config.md#bot-verification-description-length-limit).  Se não for definido, `Was verified by organization \"organization_name\"` será usado como descrição.", "x-tl-flag": "flags.2?TextWithEntities"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `enabled` | `true` | Não | Se definido, adiciona a verificação; caso contrário, remove a verificação. |\n| `bot` | `InputUser` | Não | **não** deve ser definido se invocado por um bot, **deve** ser definido como o ID de um bot de propriedade se invocado por um usuário. |\n| `peer` | `InputPeer` | Sim | O ponto a ser verificado |\n| `custom_description` | `TextWithEntities` | Não | Descrição personalizada para a verificação, o limite de comprimento UTF-8 para este campo está contido em [bot_verification_description_length_limit »](https://core.telegram.org/api/config.md#bot-verification-description-length-limit).  Se não for definido, `Was verified by organization \"organization_name\"` será usado como descrição. |"}, "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": ["Robôs"], "summary": "Obtenha uma lista de bots com temas semelhantes, selecionados com base nas semelhanças em suas bases de assinantes, veja aqui » para mais informações.", "description": "Obtenha uma lista de bots com temas semelhantes, selecionados com base nas semelhanças em suas bases de assinantes, consulte [aqui »](https://core.telegram.org/api/recommend.md) para obter mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais e bots semelhantes](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 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": "Digite TL: users.Users."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O método retornará bots relacionados ao bot passado."}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O método retornará bots relacionados ao bot passado. |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "2713126933"}}, "/catalog/bots.checkUsername": {"post": {"operationId": "bots.checkUsername", "tags": ["Robôs"], "summary": "Verifique se um nome de usuário está disponível e é válido para uso ao criar um bot gerenciado ».", "description": "Verifique se um nome de usuário está disponível e é válido para uso ao [criar um bot gerenciado »](https://core.telegram.org/api/bots/managed-bots.md#creating-a-managed-bot).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Bots gerenciados](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `USERNAME_INVALID` — O nome de usuário fornecido não é válido.\n- 400 · `USERNAME_OCCUPIED` — O nome de usuário fornecido já está ocupado.\n- 400 · `USERNAME_SUFFIX_MISSING` — O sufixo `bot` obrigatório está faltando no nome de usuário passado."}}, "externalDocs": {"description": "Documentação oficial do 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 do tipo TL `true`."}, "username": {"type": "string", "x-tl-type": "string", "description": "Nome de usuário para verificar; apenas letras, dígitos e sublinhados são permitidos, devem terminar em `bot` e o nome de usuário completo deve ter de 5 a 32 caracteres"}}, "additionalProperties": false, "required": ["username"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `additional` | `true` | Não | Valor do tipo TL `true`. |\n| `username` | `string` | Sim | Nome de usuário para verificar; apenas letras, dígitos e sublinhados são permitidos, devem terminar em `bot` e o nome de usuário completo deve ter de 5 a 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": ["Robôs"], "summary": "Crie um bot gerenciado » de propriedade do usuário atual e controlado pelo bot gerenciador especificado.", "description": "Crie um [bot gerenciado »](https://core.telegram.org/api/bots/managed-bots.md#creating-a-managed-bot) de propriedade do usuário atual e controlado pelo bot gerenciador especificado.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [Bots gerenciados](https://core.telegram.org/api/bots/managed-bots.md)\n- [Configuração do 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 MTProto · `User`.\n\n[Usuário](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": "Digite TL: Usuário."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_CREATE_LIMIT_EXCEEDED` — O usuário atual já possui o número máximo permitido de bots próprios, conforme especificado por [`bots_create_limit_default` »](https://core.telegram.org/api/config.md#bots-create-limit-default) e [`bots_create_limit_premium` »](https://core.telegram.org/api/config.md#bots-create-limit-premium); se o usuário atual não tiver o Telegram Premium, a atualização para Premium permitirá que ele crie mais bots.\n- 400 · `MANAGER_INVALID` — O bot gerenciador especificado é inválido.\n- 400 · `MANAGER_PERMISSION_MISSING` — O bot gerenciador especificado não possui o sinalizador [user](https://core.telegram.org/constructor/user.md).`bot_can_manage_bots` definido.\n- 400 · `NAME_INVALID` — O nome do bot especificado é inválido.\n- 400 · `USERNAME_INVALID` — O nome de usuário fornecido não é válido.\n- 400 · `USERNAME_OCCUPIED` — O nome de usuário fornecido já está ocupado.\n- 400 · `USERNAME_SUFFIX_MISSING` — O sufixo `bot` obrigatório está faltando no nome de usuário passado."}}, "externalDocs": {"description": "Documentação oficial do 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": "Definido apenas se o prompt de criação foi aberto a partir de um [link direto de solicitação de criação de bot gerenciado »](https://core.telegram.org/api/links.md#managed-bot-creation-request-links)"}, "name": {"type": "string", "x-tl-type": "string", "description": "Nome de exibição do bot, 1–64 caracteres"}, "username": {"type": "string", "x-tl-type": "string", "description": "Nome de usuário do bot, conforme 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": "O bot gerenciador que irá controlar o bot criado; deve ter o sinalizador [user](https://core.telegram.org/constructor/user.md).`bot_can_manage_bots` definido"}}, "additionalProperties": false, "required": ["name", "username", "manager_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `via_deeplink` | `true` | Não | Definido apenas se o prompt de criação foi aberto a partir de um [link direto de solicitação de criação de bot gerenciado »](https://core.telegram.org/api/links.md#managed-bot-creation-request-links) |\n| `name` | `string` | Sim | Nome de exibição do bot, 1–64 caracteres |\n| `username` | `string` | Sim | Nome de usuário do bot, conforme validado por [bots.checkUsername](https://core.telegram.org/method/bots.checkUsername.md) |\n| `manager_id` | `InputUser` | Sim | O bot gerenciador que irá controlar o bot criado; deve ter o sinalizador [user](https://core.telegram.org/constructor/user.md).`bot_can_manage_bots` definido |"}, "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": ["Robôs"], "summary": "Exporte o token de bot de um bot gerenciado »; só pode ser chamado pelo bot gerenciador.", "description": "Exporte o token do bot de um [bot gerenciado »](https://core.telegram.org/api/bots/managed-bots.md#managing-a-managed-bot); só pode ser chamado pelo bot gerenciador.\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.\n\n**Documentação relacionada**\n\n- [Bots gerenciados](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 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": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot gerenciado para exportar o token"}, "revoke": {"type": "boolean", "x-tl-type": "Bool", "description": "Se [boolTrue](https://core.telegram.org/constructor/boolTrue.md), revogue o token atual e gere um novo"}}, "additionalProperties": false, "required": ["bot", "revoke"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot gerenciado para exportar o token |\n| `revoke` | `Bool` | Sim | Se [boolTrue](https://core.telegram.org/constructor/boolTrue.md), revogue o token atual e gere um novo |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "3171785195"}}, "/catalog/bots.requestWebViewButton": {"post": {"operationId": "bots.requestWebViewButton", "tags": ["Robôs"], "summary": "Os bots podem usar este método para preparar um botão de solicitação de pares para um Mini App, veja aqui » para mais informações.", "description": "Os bots podem usar este método para preparar um botão de solicitação de peer para um [Mini App](https://core.telegram.org/api/bots/webapps.md), veja [aqui »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps) para mais informações.\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.\n\n**Documentação relacionada**\n\n- [Miniaplicativos no Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Botões de bot](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 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": "### Erros MTProto (RPC)\n\n- 400 · `BUTTON_INVALID` — O botão especificado é inválido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O usuário que utilizará o botão preparado no Mini App"}, "button": {"type": "object", "x-tl-type": "KeyboardButton", "oneOf": [{"$ref": "#/components/schemas/keyboardButton"}], "description": "O botão para preparar, um [inputKeyboardButtonRequestPeer](https://core.telegram.org/constructor/inputKeyboardButtonRequestPeer.md) de qualquer [RequestPeerType](https://core.telegram.org/type/RequestPeerType.md)"}}, "additionalProperties": false, "required": ["user_id", "button"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Sim | O usuário que utilizará o botão preparado no Mini App |\n| `button` | `KeyboardButton` | Sim | O botão para preparar, um [inputKeyboardButtonRequestPeer](https://core.telegram.org/constructor/inputKeyboardButtonRequestPeer.md) de qualquer [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": ["Robôs"], "summary": "Obtenha o botão de solicitação de peer de um bot preparado para um Mini App com bots.requestWebViewButton, invocado quando o Mini App emite um evento `web_app_request_chat`, veja aqui » para mais informações.", "description": "Obtenha o botão de solicitação de peer de um bot preparado para um [Mini App](https://core.telegram.org/api/bots/webapps.md) com [bots.requestWebViewButton](https://core.telegram.org/method/bots.requestWebViewButton.md), invocado quando o Mini App emite um evento [`web_app_request_chat`](https://core.telegram.org/api/web-events.md#web-app-request-chat), veja [aqui »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Eventos da Web](https://core.telegram.org/api/web-events.md)\n- [Miniaplicativos no Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Botões de bot](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 MTProto · `KeyboardButton`.\n\n[Botão do 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: KeyboardButton."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_ID_INVALID` — O ID do bot especificado é inválido.\n- 400 · `WEBAPP_REQ_ID_INVALID` — O webapp_req_id especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot dono do Mini App"}, "webapp_req_id": {"type": "string", "x-tl-type": "string", "description": "O ID de solicitação do Mini App, obtido do evento [`web_app_request_chat`](https://core.telegram.org/api/web-events.md#web-app-request-chat) `req_id`"}}, "additionalProperties": false, "required": ["bot", "webapp_req_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot dono do Mini App |\n| `webapp_req_id` | `string` | Sim | O ID de solicitação do Mini App, obtido do evento [`web_app_request_chat`](https://core.telegram.org/api/web-events.md#web-app-request-chat) `req_id` |"}, "x-telegram-rpc-errors": ["BOT_ID_INVALID", "WEBAPP_REQ_ID_INVALID"], "x-browser-schema-id": "3206920179"}}, "/catalog/bots.getAccessSettings": {"post": {"operationId": "bots.getAccessSettings", "tags": ["Robôs"], "summary": "Obtenha as configurações de restrição de acesso » de um bot gerenciado; só pode ser chamado pelo bot gerenciador.", "description": "Obtenha as [configurações de restrição de acesso »](https://core.telegram.org/api/bots/managed-bots.md#managing-a-managed-bot) de um bot gerenciado; só pode ser chamado pelo bot gerenciador.\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.\n\n**Documentação relacionada**\n\n- [Bots gerenciados](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 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 de TL: bots.AccessSettings."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "O bot gerenciado cujas configurações de acesso serão recuperadas"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | O bot gerenciado cujas configurações de acesso serão recuperadas |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "557339555"}}, "/catalog/bots.editAccessSettings": {"post": {"operationId": "bots.editAccessSettings", "tags": ["Robôs"], "summary": "Edite as configurações de restrição de acesso » de um bot gerenciado; só pode ser chamado pelo bot gerenciador.", "description": "Edite as [configurações de restrição de acesso »](https://core.telegram.org/api/bots/managed-bots.md#managing-a-managed-bot) de um bot gerenciado; só pode ser chamado pelo bot gerenciador.\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.\n\n**Documentação relacionada**\n\n- [Bots gerenciados](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este não é um bot válido.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, restringe o acesso ao bot gerenciado apenas ao proprietário e aos usuários em `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": "O bot gerenciado cujas configurações de acesso serão editadas"}, "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 TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "x-tl-flag": "flags.1?Vector<InputUser>", "description": "Usuários adicionais (máximo de 10, excluindo o proprietário) têm permissão para acessar o bot gerenciado quando `restricted` está definido"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `restricted` | `true` | Não | Se definido, restringe o acesso ao bot gerenciado apenas ao proprietário e aos usuários em `add_users` |\n| `bot` | `InputUser` | Sim | O bot gerenciado cujas configurações de acesso serão editadas |\n| `add_users` | `Vector<InputUser>` | Não | Usuários adicionais (máximo de 10, excluindo o proprietário) têm permissão para acessar o bot gerenciado quando `restricted` está definido |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "830553304"}}, "/catalog/bots.setJoinChatResults": {"post": {"operationId": "bots.setJoinChatResults", "tags": ["Robôs"], "summary": "bots.setJoinChatResults", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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-битное целое в десятичной записи.", "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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `query_id` | `long` | Sim | 64-битное целое в десятичной записи. |\n| `result` | `JoinChatBotResult` | Sim | Тип TL: JoinChatBotResult. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3877259280"}}, "/catalog/bots.addUsername": {"post": {"operationId": "bots.addUsername", "tags": ["Robôs"], "summary": "bots.addUsername", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL: InputUser."}, "username": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["bot", "username"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | Tipo TL: InputUser. |\n| `username` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "889307274"}}, "/catalog/bots.removeUsername": {"post": {"operationId": "bots.removeUsername", "tags": ["Robôs"], "summary": "bots.removeUsername", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL: InputUser."}, "username": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["bot", "username"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | Tipo TL: InputUser. |\n| `username` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3338933373"}}, "/catalog/bots.setBotSettings": {"post": {"operationId": "bots.setBotSettings", "tags": ["Robôs"], "summary": "bots.setBotSettings", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 MTProto · `User`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Digite TL: Usuário."}}}}}, "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 TL: InputUser.", "x-tl-flag": "flags.0?InputUser"}, "inline_mode": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.1?Bool", "description": "Valor do tipo TL `Bool`."}, "inline_placeholder": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Valor do tipo TL `string`."}, "inline_geo": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool", "description": "Valor do tipo TL `Bool`."}, "inline_feedback": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int", "description": "Valor do tipo TL `int`."}, "nochats": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.5?Bool", "description": "Valor do tipo TL `Bool`."}, "chat_history": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.6?Bool", "description": "Valor do tipo TL `Bool`."}, "business": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.7?Bool", "description": "Valor do tipo TL `Bool`."}, "can_manage_bots": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.8?Bool", "description": "Valor do tipo TL `Bool`."}, "guestchat": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.9?Bool", "description": "Valor do tipo TL `Bool`."}, "guard": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.10?Bool", "description": "Valor do tipo TL `Bool`."}, "forum_view": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.11?Bool", "description": "Valor do tipo TL `Bool`."}, "forum_can_manage_topics": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.12?Bool", "description": "Valor do tipo TL `Bool`."}, "forum_sidebar": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.13?Bool", "description": "Valor do tipo TL `Bool`."}, "bot_to_bot_communication_mode": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.14?Bool", "description": "Valor do tipo TL `Bool`."}, "callback_mode": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.15?string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Não | Tipo TL: InputUser. |\n| `inline_mode` | `Bool` | Não | Valor do tipo TL `Bool`. |\n| `inline_placeholder` | `string` | Não | Valor do tipo TL `string`. |\n| `inline_geo` | `Bool` | Não | Valor do tipo TL `Bool`. |\n| `inline_feedback` | `int` | Não | Valor do tipo TL `int`. |\n| `nochats` | `Bool` | Não | Valor do tipo TL `Bool`. |\n| `chat_history` | `Bool` | Não | Valor do tipo TL `Bool`. |\n| `business` | `Bool` | Não | Valor do tipo TL `Bool`. |\n| `can_manage_bots` | `Bool` | Não | Valor do tipo TL `Bool`. |\n| `guestchat` | `Bool` | Não | Valor do tipo TL `Bool`. |\n| `guard` | `Bool` | Não | Valor do tipo TL `Bool`. |\n| `forum_view` | `Bool` | Não | Valor do tipo TL `Bool`. |\n| `forum_can_manage_topics` | `Bool` | Não | Valor do tipo TL `Bool`. |\n| `forum_sidebar` | `Bool` | Não | Valor do tipo TL `Bool`. |\n| `bot_to_bot_communication_mode` | `Bool` | Não | Valor do tipo TL `Bool`. |\n| `callback_mode` | `string` | Não | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2093007050"}}, "/catalog/bots.getProfileWidgetQueryAnswer": {"post": {"operationId": "bots.getProfileWidgetQueryAnswer", "tags": ["Robôs"], "summary": "bots.getProfileWidgetQueryAnswer", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 TL: InputUser."}, "query_type": {"type": "object", "x-tl-type": "WidgetQueryType", "oneOf": [{"$ref": "#/components/schemas/widgetQueryTypeData"}, {"$ref": "#/components/schemas/widgetQueryTypeSignData"}, {"$ref": "#/components/schemas/widgetQueryTypeSentTransaction"}], "description": "Тип TL: WidgetQueryType."}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor do tipo TL `bytes`."}}, "additionalProperties": false, "required": ["bot", "query_type", "data"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | Tipo TL: InputUser. |\n| `query_type` | `WidgetQueryType` | Sim | Тип TL: WidgetQueryType. |\n| `data` | `bytes` | Sim | Valor do tipo TL `bytes`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2239004788"}}, "/catalog/bots.editProfileWidgetData": {"post": {"operationId": "bots.editProfileWidgetData", "tags": ["Robôs"], "summary": "bots.editProfileWidgetData", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 do tipo TL `int`."}, "public_data": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["public_data"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `cache_time` | `int` | Não | Valor do tipo TL `int`. |\n| `public_data` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "905942386"}}, "/catalog/bots.editProfileWidgetChatData": {"post": {"operationId": "bots.editProfileWidgetChatData", "tags": ["Robôs"], "summary": "bots.editProfileWidgetChatData", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL: InputUser."}, "chat_data": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["user_id", "chat_data"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Sim | Tipo TL: InputUser. |\n| `chat_data` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "4240581465"}}, "/catalog/bots.getProfileWidgetPublicData": {"post": {"operationId": "bots.getProfileWidgetPublicData", "tags": ["Robôs"], "summary": "bots.getProfileWidgetPublicData", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 TL: InputUser."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["bot", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Sim | Tipo TL: InputUser. |\n| `hash` | `long` | Sim | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1923143539"}}, "/catalog/payments.getPaymentForm": {"post": {"operationId": "payments.getPaymentForm", "tags": ["Pagamentos"], "summary": "Obtenha um formulário de pagamento", "description": "Obtenha um formulário de pagamento\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Miniaplicativos no Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Bots de negócios conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Negócio de telegrama](https://core.telegram.org/api/business.md)\n- [Tratamento de erros](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 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": "Digite TL: payments.PaymentForm."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 406 · `API_GIFT_RESTRICTED_UPDATE_APP` — Atualize o aplicativo para acessar o presente API.\n- 400 · `BOOST_PEER_INVALID` — O `boost_peer` especificado é inválido.\n- 403 · `BOT_ACCESS_FORBIDDEN` — O método especificado *pode* ser usado em uma [conexão comercial](https://core.telegram.org/api/bots/connected-business-bots.md) para algumas operações, mas a consulta especificada tentou uma operação que não é permitida em uma conexão comercial.\n- 400 · `BOT_INVOICE_INVALID` — A fatura especificada é inválida.\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `GIFT_MONTHS_INVALID` — O valor passado em invoice.inputInvoicePremiumGiftStars.meses é inválido.\n- 400 · `GIFT_STARS_INVALID` — A quantidade especificada de estrelas é inválida.\n- 400 · `INVOICE_INVALID` — A fatura especificada é inválida.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `MESSAGE_TOO_LONG` — A mensagem fornecida é muito longa.\n- 400 · `MONTH_INVALID` — O número de meses especificado em inputInvoicePremiumGiftStars.months é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `NO_PAYMENT_NEEDED` — O upgrade/transferência do presente especificado já foi pago ou é gratuito.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `PREMIUM_PURPOSE_INVALID` — O InputStorePaymentPurpose especificado é inválido.\n- 400 · `SLUG_INVALID` — O slug da fatura especificado é inválido.\n- 400 · `STARGIFT_ALREADY_CONVERTED` — O presente de estrela especificado já foi convertido em Estrelas.\n- 400 · `STARGIFT_ALREADY_REFUNDED` — O presente estrela especificado já foi reembolsado.\n- 400 · `STARGIFT_ALREADY_UPGRADED` — O presente especificado já foi atualizado para um presente colecionável.\n- 406 · `STARGIFT_EXPORT_IN_PROGRESS` — Uma exportação de presente está em andamento, uma descrição detalhada e localizada do erro será emitida por meio de uma [updateServiceNotification conforme especificado aqui »](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 400 · `STARGIFT_INVALID` — O presente aprovado é inválido.\n- 400 · `STARGIFT_MESSAGE_INVALID` — O inputInvoiceStarGift.message especificado é inválido.\n- 400 · `STARGIFT_NOT_FOUND` — O presente especificado não foi encontrado.\n- 400 · `STARGIFT_NOT_OWNER` — Você não é o proprietário do presente que está tentando transferir.\n- 400 · `STARGIFT_NOT_UNIQUE` — Você não pode transferir um presente não colecionável.\n- 400 · `STARGIFT_OWNER_INVALID` — Você não pode transferir ou vender um presente de propriedade de outro usuário.\n- 400 · `STARGIFT_PEER_INVALID` — O inputSavedStarGiftChat.peer especificado é inválido.\n- 400 · `STARGIFT_RESELL_CURRENCY_NOT_ALLOWED` — Você não pode comprar o presente usando a moeda especificada (i.e. tentando pagar em estrelas por TON presentes).\n- 400 · `STARGIFT_RESELL_TOO_EARLY_%d` — Você poderá revender este presente em %d segundos.\n- 400 · `STARGIFT_SLUG_INVALID` — O presente especificado é inválido.\n- 400 · `STARGIFT_TRANSFER_TOO_EARLY_%d` — Você não pode transferir este presente ainda, espere %d segundos.\n- 400 · `STARGIFT_UPGRADE_UNAVAILABLE` — Um presente recebido só pode ser atualizado para um presente colecionável se o sinalizador [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md)/[savedStarGift](https://core.telegram.org/constructor/savedStarGift.md).`can_upgrade` estiver definido.\n- 406 · `STARS_FORM_AMOUNT_MISMATCH` — O valor do formulário foi alterado, busque o novo formulário usando [payments.getPaymentForm](https://core.telegram.org/method/payments.getPaymentForm.md) e reinicie o processo.\n- 400 · `TO_ID_INVALID` — O `to_id` especificado do inputInvoiceStarGiftResale ou inputInvoiceStarGiftTransfer passado é inválido.\n- 400 · `UNTIL_DATE_INVALID` — Inválido até a data informada.\n- 403 · `USER_DISALLOWED_STARGIFTS` — O usuário destinatário configurou restrições sobre quais categorias de presentes estrela ele está disposto a aceitar (único, limitado ou ilimitado): o remetente tentou obter um formulário de pagamento para um presente que se enquadra em uma categoria que o destinatário bloqueou."}}, "externalDocs": {"description": "Documentação oficial do 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": "Fatura"}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "[Parâmetros do tema »](https://core.telegram.org/api/bots/webapps.md#theme-parameters)", "x-tl-flag": "flags.0?DataJSON"}}, "additionalProperties": false, "required": ["invoice"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `invoice` | `InputInvoice` | Sim | Fatura |\n| `theme_params` | `DataJSON` | Não | [Parâmetros do 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": ["Pagamentos"], "summary": "Obter recibo de pagamento", "description": "Obter recibo de pagamento\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: payments.PaymentReceipt."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O peer para onde o comprovante de pagamento foi enviado"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem de recebimento"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O peer para onde o comprovante de pagamento foi enviado |\n| `msg_id` | `int` | Sim | ID da mensagem de recebimento |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID"], "x-browser-schema-id": "611897804"}}, "/catalog/payments.validateRequestedInfo": {"post": {"operationId": "payments.validateRequestedInfo", "tags": ["Pagamentos"], "summary": "Envie as informações do pedido solicitadas para validação", "description": "Envie as informações do pedido solicitadas para validação\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Salve as informações do pedido para reutilizá-las em 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": "Fatura"}, "info": {"type": "object", "x-tl-type": "PaymentRequestedInfo", "oneOf": [{"$ref": "#/components/schemas/paymentRequestedInfo"}], "description": "Informações do pedido solicitado"}}, "additionalProperties": false, "required": ["invoice", "info"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `save` | `true` | Não | Salve as informações do pedido para reutilizá-las em pedidos futuros |\n| `invoice` | `InputInvoice` | Sim | Fatura |\n| `info` | `PaymentRequestedInfo` | Sim | Informações do pedido solicitado |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "3066622251"}}, "/catalog/payments.sendPaymentForm": {"post": {"operationId": "payments.sendPaymentForm", "tags": ["Pagamentos"], "summary": "Enviar formulário de pagamento compilado", "description": "Enviar formulário de pagamento compilado\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: payments.PaymentResult."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `FORM_UNSUPPORTED` — Por favor atualize seu cliente.\n- 400 · `INVOICE_INVALID` — A fatura especificada é inválida.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PAYMENT_CREDENTIALS_INVALID` — As credenciais de pagamento especificadas são inválidas.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `TMP_PASSWORD_INVALID` — O tmp_password aprovado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do formulário", "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": "Fatura"}, "requested_info_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "ID de salvo e validado [informações do 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 da opção de envio escolhida"}, "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": "Credenciais de pagamento"}, "tip_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Dica, nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após a vírgula decimal para cada moeda (2 para a maioria das moedas).", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}}, "additionalProperties": false, "required": ["form_id", "invoice", "credentials"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `form_id` | `long` | Sim | ID do formulário |\n| `invoice` | `InputInvoice` | Sim | Fatura |\n| `requested_info_id` | `string` | Não | ID de salvo e validado [informações do pedido](https://core.telegram.org/constructor/payments.validatedRequestedInfo.md) |\n| `shipping_option_id` | `string` | Não | ID da opção de envio escolhida |\n| `credentials` | `InputPaymentCredentials` | Sim | Credenciais de pagamento |\n| `tip_amount` | `long` | Não | Dica, nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após a vírgula decimal para cada moeda (2 para a maioria das moedas). |"}, "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": ["Pagamentos"], "summary": "Obtenha informações de pagamento salvas", "description": "Obtenha informações de pagamento salvas", "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 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": "Digite TL: payments.SavedInfo."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/payments.getSavedInfo"}, "x-browser-schema-id": "578650699"}}, "/catalog/payments.clearSavedInfo": {"post": {"operationId": "payments.clearSavedInfo", "tags": ["Pagamentos"], "summary": "Limpar informações de pagamento salvas", "description": "Limpar informações de pagamento salvas", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Remover credenciais de pagamento salvas"}, "info": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Limpar as últimas configurações de pedido salvas pelo usuário"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `credentials` | `true` | Não | Remover credenciais de pagamento salvas |\n| `info` | `true` | Não | Limpar as últimas configurações de pedido salvas pelo usuário |"}, "x-browser-schema-id": "3627905217"}}, "/catalog/payments.getBankCardData": {"post": {"operationId": "payments.getBankCardData", "tags": ["Pagamentos"], "summary": "Obtenha informações sobre um cartão de crédito", "description": "Obtenha informações sobre um cartão de crédito\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `BANK_CARD_NUMBER_INVALID` — O número do cartão especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do cartão de crédito"}}, "additionalProperties": false, "required": ["number"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `number` | `string` | Sim | Número do cartão de crédito |"}, "x-telegram-rpc-errors": ["BANK_CARD_NUMBER_INVALID"], "x-browser-schema-id": "779736953"}}, "/catalog/payments.exportInvoice": {"post": {"operationId": "payments.exportInvoice", "tags": ["Pagamentos"], "summary": "Gerar um link direto de fatura", "description": "Gere um [link direto da fatura](https://core.telegram.org/api/links.md#invoice-links)\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.\n\n**Documentação relacionada**\n\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [Negócio de telegrama](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 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": "Digite TL: payments.ExportedInvoice."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `CURRENCY_TOTAL_AMOUNT_INVALID` — O valor total de todos os preços é inválido.\n- 400 · `INVOICE_PAYLOAD_INVALID` — A carga útil da fatura especificada é inválida.\n- 400 · `MEDIA_INVALID` — Mídia inválida.\n- 400 · `PAYMENT_PROVIDER_INVALID` — O provedor de pagamento especificado é inválido.\n- 400 · `STARS_INVOICE_INVALID` — A fatura especificada do Telegram Star é inválida.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot.\n- 400 · `WEBDOCUMENT_MIME_INVALID` — Tipo mime de documento da web inválido fornecido.\n- 400 · `WEBDOCUMENT_URL_EMPTY` — O documento web passado URL está vazio."}}, "externalDocs": {"description": "Documentação oficial do 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": "Fatura"}}, "additionalProperties": false, "required": ["invoice_media"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `invoice_media` | `InputMedia` | Sim | Fatura |"}, "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": ["Pagamentos"], "summary": "Informa o servidor sobre uma compra realizada na App Store: apenas para aplicativos oficiais.", "description": "Informa o servidor sobre uma compra realizada na App Store: apenas para aplicativos oficiais.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `INPUT_PURPOSE_INVALID` — A finalidade de pagamento especificada é inválida.\n- 400 · `RECEIPT_EMPTY` — O recibo especificado está vazio."}}, "externalDocs": {"description": "Documentação oficial do 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": "Finalidade do pagamento"}}, "additionalProperties": false, "required": ["receipt", "purpose"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `receipt` | `bytes` | Sim | Recibo |\n| `purpose` | `InputStorePaymentPurpose` | Sim | Finalidade do pagamento |"}, "x-telegram-rpc-errors": ["INPUT_PURPOSE_INVALID", "RECEIPT_EMPTY"], "x-browser-schema-id": "2163045501"}}, "/catalog/payments.assignPlayMarketTransaction": {"post": {"operationId": "payments.assignPlayMarketTransaction", "tags": ["Pagamentos"], "summary": "Informa o servidor sobre uma compra realizada pela Play Store: apenas para aplicativos oficiais.", "description": "Informa o servidor sobre uma compra realizada pela Play Store: apenas para aplicativos oficiais.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `DATA_JSON_INVALID` — Os dados JSON fornecidos são inválidos."}}, "externalDocs": {"description": "Documentação oficial do 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": "Finalidade do pagamento"}}, "additionalProperties": false, "required": ["receipt", "purpose"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `receipt` | `DataJSON` | Sim | Recibo |\n| `purpose` | `InputStorePaymentPurpose` | Sim | Finalidade do pagamento |"}, "x-telegram-rpc-errors": ["DATA_JSON_INVALID"], "x-browser-schema-id": "3757920467"}}, "/catalog/payments.getPremiumGiftCodeOptions": {"post": {"operationId": "payments.getPremiumGiftCodeOptions", "tags": ["Pagamentos"], "summary": "Obtenha uma lista de opções de brindes/códigos de presente do Telegram Premium.", "description": "Obtenha uma lista de opções do Telegram Premium [oferta/código de presente »](https://core.telegram.org/api/giveaways.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Brindes e presentes](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 MTProto · `Vector<PremiumGiftCodeOption>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[PremiumGiftCodeOption](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 TL: PremiumGiftCodeOption."}, "x-tl-type": "Vector<PremiumGiftCodeOption>"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "O canal que iniciará o sorteio", "x-tl-flag": "flags.0?InputPeer"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `boost_peer` | `InputPeer` | Não | O canal que iniciará o sorteio |"}, "x-browser-schema-id": "660060756"}}, "/catalog/payments.checkGiftCode": {"post": {"operationId": "payments.checkGiftCode", "tags": ["Pagamentos"], "summary": "Obtenha informações sobre um código-presente do Telegram Premium »", "description": "Obtenha informações sobre um [código de presente Telegram Premium »](https://core.telegram.org/api/giveaways.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Brindes e presentes](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 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": "### Erros MTProto (RPC)\n\n- 400 · `GIFT_SLUG_EXPIRED` — O pacote de presente especificado expirou.\n- 400 · `GIFT_SLUG_INVALID` — O slug especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O código-presente a ser verificado"}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `slug` | `string` | Sim | O código-presente a ser verificado |"}, "x-telegram-rpc-errors": ["GIFT_SLUG_EXPIRED", "GIFT_SLUG_INVALID"], "x-browser-schema-id": "2387719361"}}, "/catalog/payments.applyGiftCode": {"post": {"operationId": "payments.applyGiftCode", "tags": ["Pagamentos"], "summary": "Aplique um código-presente do Telegram Premium »", "description": "Aplique um [código de presente Telegram Premium »](https://core.telegram.org/api/giveaways.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Brindes e presentes](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GIFT_SLUG_EXPIRED` — O pacote de presente especificado expirou.\n- 400 · `GIFT_SLUG_INVALID` — O slug especificado é inválido.\n- 420 · `PREMIUM_SUB_ACTIVE_UNTIL_%d` — Você já tem uma assinatura premium ativa até unixtime %d ."}}, "externalDocs": {"description": "Documentação oficial do 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": "O código a ser aplicado"}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `slug` | `string` | Sim | O código a ser aplicado |"}, "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": ["Pagamentos"], "summary": "Obtenha informações sobre um sorteio do Telegram Premium ».", "description": "Obtenha informações sobre um [sorteio Telegram Premium »](https://core.telegram.org/api/giveaways.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Brindes e presentes](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 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": "Digite TL: payments.GiveawayInfo."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O par onde o sorteio foi postado."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem da mensagem de serviço [messageActionGiveawayLaunch](https://core.telegram.org/constructor/messageActionGiveawayLaunch.md)"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O par onde o sorteio foi postado. |\n| `msg_id` | `int` | Sim | ID da mensagem da mensagem de serviço [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": ["Pagamentos"], "summary": "Lance um sorteio pré-pago ».", "description": "Lance um [sorteio pré-pago »](https://core.telegram.org/api/giveaways.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Brindes e presentes](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O ponto onde lançar o sorteio."}, "giveaway_id": {"type": "string", "pattern": "^-?\\d+$", "description": "O ID do sorteio pré-pago.", "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 de brindes"}}, "additionalProperties": false, "required": ["peer", "giveaway_id", "purpose"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O ponto onde lançar o sorteio. |\n| `giveaway_id` | `long` | Sim | O ID do sorteio pré-pago. |\n| `purpose` | `InputStorePaymentPurpose` | Sim | Parâmetros de brindes |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1609928480"}}, "/catalog/payments.getStarsTopupOptions": {"post": {"operationId": "payments.getStarsTopupOptions", "tags": ["Pagamentos"], "summary": "Obtenha uma lista de opções de recarga do Telegram Stars » como construtores starsTopupOption.", "description": "Obtenha uma lista de [opções de recarga do Telegram Stars »](https://core.telegram.org/api/stars.md#buying-or-gifting-stars) como construtores [starsTopupOption](https://core.telegram.org/constructor/starsTopupOption.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estrelas do 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 MTProto · `Vector<StarsTopupOption>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[StarsTopupOption](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 TL: StarsTopupOption."}, "x-tl-type": "Vector<StarsTopupOption>"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/payments.getStarsTopupOptions"}, "x-browser-schema-id": "3222194131"}}, "/catalog/payments.getStarsStatus": {"post": {"operationId": "payments.getStarsStatus", "tags": ["Pagamentos"], "summary": "Obtenha o saldo atual de Telegram Stars da conta corrente (com peer=inputPeerSelf) ou o saldo de estrelas do bot ou canal especificado em `peer`.", "description": "Obtenha o [saldo de estrelas do Telegram](https://core.telegram.org/api/stars.md) atual da conta atual (com peer=[inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md)) ou o saldo de estrelas do bot ou canal especificado em `peer`.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Bots de negócios conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Negócio de telegrama](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 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": "### Erros MTProto (RPC)\n\n- 403 · `BOT_ACCESS_FORBIDDEN` — O método especificado *pode* ser usado em uma [conexão comercial](https://core.telegram.org/api/bots/connected-business-bots.md) para algumas operações, mas a consulta especificada tentou uma operação que não é permitida em uma conexão comercial.\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, retorna o saldo da receita do canal/anúncio em nanogramas."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/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 do qual obter o equilíbrio."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `ton` | `true` | Não | Se definido, retorna o saldo da receita do canal/anúncio em nanogramas. |\n| `peer` | `InputPeer` | Sim | Par do qual obter o equilíbrio. |"}, "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": ["Pagamentos"], "summary": "Busque transações do Telegram Stars.", "description": "Buscar [transações Telegram Stars](https://core.telegram.org/api/stars.md#balance-and-transaction-history).\n\nOs sinalizadores `inbound` e `outbound` são mutuamente exclusivos: se nenhum dos dois estiver definido, as transações de entrada e de saída serão buscadas.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Paginação no 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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `SUBSCRIPTION_ID_INVALID` — O subscription_id especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, busca apenas transações recebidas."}, "outbound": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se definido, busca apenas transações de saída."}, "ascending": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Retornar transações em ordem crescente por data (em vez de ordem decrescente por data)."}, "ton": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Se definido, retorna as transações de receita de canal/anúncio em nanogramas."}, "subscription_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Se definido, busca apenas transações para a [assinatura 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": "Obtenha o histórico de transações do peer ([inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) ou um bot que possuímos)."}, "offset": {"type": "string", "x-tl-type": "string", "description": "[Deslocamento para paginação, obtido do `next_offset` retornado, inicialmente uma string vazia »](https://core.telegram.org/api/offsets.md)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `inbound` | `true` | Não | Se definido, busca apenas transações recebidas. |\n| `outbound` | `true` | Não | Se definido, busca apenas transações de saída. |\n| `ascending` | `true` | Não | Retornar transações em ordem crescente por data (em vez de ordem decrescente por data). |\n| `ton` | `true` | Não | Se definido, retorna as transações de receita de canal/anúncio em nanogramas. |\n| `subscription_id` | `string` | Não | Se definido, busca apenas transações para a [assinatura Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions) especificada. |\n| `peer` | `InputPeer` | Sim | Obtenha o histórico de transações do peer ([inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) ou um bot que possuímos). |\n| `offset` | `string` | Sim | [Deslocamento para paginação, obtido do `next_offset` retornado, inicialmente uma string vazia »](https://core.telegram.org/api/offsets.md). |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Pagamentos"], "summary": "Faça um pagamento usando Telegram Stars, veja aqui » para mais informações.", "description": "Faça um pagamento usando [Telegram Stars, veja aqui »](https://core.telegram.org/api/stars.md#using-stars) para mais informações.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Bots de negócios conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Negócio de telegrama](https://core.telegram.org/api/business.md)\n- [Tratamento de erros](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 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": "Digite TL: payments.PaymentResult."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 406 · `API_GIFT_RESTRICTED_UPDATE_APP` — Atualize o aplicativo para acessar o presente API.\n- 400 · `BALANCE_TOO_LOW` — A transação não pode ser concluída porque o [saldo atual do Telegram Stars](https://core.telegram.org/api/stars.md) é muito baixo.\n- 403 · `BOT_ACCESS_FORBIDDEN` — O método especificado *pode* ser usado em uma [conexão comercial](https://core.telegram.org/api/bots/connected-business-bots.md) para algumas operações, mas a consulta especificada tentou uma operação que não é permitida em uma conexão comercial.\n- 400 · `BOT_INVOICE_INVALID` — A fatura especificada é inválida.\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `FORM_EXPIRED` — O formulário foi gerado há mais de 10 minutos e expirou, gere-o novamente usando [payments.getPaymentForm](https://core.telegram.org/method/payments.getPaymentForm.md) e passe o novo `form_id`.\n- 400 · `FORM_ID_EMPTY` — O ID do formulário especificado está vazio.\n- 400 · `FORM_SUBMIT_DUPLICATE` — O mesmo formulário de pagamento já foi enviado.  .\n- 400 · `FORM_UNSUPPORTED` — Por favor atualize seu cliente.\n- 400 · `GIFT_STARS_INVALID` — A quantidade especificada de estrelas é inválida.\n- 400 · `MEDIA_ALREADY_PAID` — Você já pagou pela mídia especificada.\n- 400 · `MONTH_INVALID` — O número de meses especificado em inputInvoicePremiumGiftStars.months é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 406 · `PRECHECKOUT_FAILED` — Falha na pré-verificação, uma descrição detalhada e localizada do erro será emitida por meio de um [updateServiceNotification conforme especificado aqui »](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 400 · `PURPOSE_INVALID` — A finalidade de pagamento especificada é inválida.\n- 400 · `STARGIFT_ALREADY_UPGRADED` — O presente especificado já foi atualizado para um presente colecionável.\n- 400 · `STARGIFT_NOT_FOUND` — O presente especificado não foi encontrado.\n- 400 · `STARGIFT_OWNER_INVALID` — Você não pode transferir ou vender um presente de propriedade de outro usuário.\n- 400 · `STARGIFT_SLUG_INVALID` — O presente especificado é inválido.\n- 400 · `STARGIFT_USAGE_LIMITED` — O presente está esgotado.\n- 400 · `STARGIFT_USER_USAGE_LIMITED` — Você atingiu o limite de starGift.limited_per_user, não pode mais comprar presentes desse tipo.\n- 406 · `STARS_FORM_AMOUNT_MISMATCH` — O valor do formulário foi alterado, busque o novo formulário usando [payments.getPaymentForm](https://core.telegram.org/method/payments.getPaymentForm.md) e reinicie o processo.\n- 400 · `TO_ID_INVALID` — O `to_id` especificado do inputInvoiceStarGiftResale ou inputInvoiceStarGiftTransfer passado é inválido.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do formulário de pagamento", "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": "Fatura"}}, "additionalProperties": false, "required": ["form_id", "invoice"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `form_id` | `long` | Sim | ID do formulário de pagamento |\n| `invoice` | `InputInvoice` | Sim | Fatura |"}, "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": ["Pagamentos"], "summary": "Reembolsar uma transação Telegram Stars, veja aqui » para mais informações.", "description": "Reembolse uma transação [Telegram Stars](https://core.telegram.org/api/stars.md), veja [aqui »](https://core.telegram.org/api/payments.md#6-refunds) para mais informações.\n\n**Quem pode chamar esse método** · Apenas bots de telegrama.\n\n**Documentação relacionada**\n\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Pagamentos 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHARGE_ALREADY_REFUNDED` — A transação já foi reembolsada.\n- 400 · `CHARGE_ID_EMPTY` — O charge_id especificado está vazio.\n- 400 · `USER_BOT_REQUIRED` — Este método só pode ser chamado por um bot.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Usuário deve ser reembolsado."}, "charge_id": {"type": "string", "x-tl-type": "string", "description": "ID da transação."}}, "additionalProperties": false, "required": ["user_id", "charge_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Sim | Usuário deve ser reembolsado. |\n| `charge_id` | `string` | Sim | ID da transação. |"}, "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": ["Pagamentos"], "summary": "Obtenha estatísticas de receita do Telegram Star ».", "description": "Obtenha [estatísticas de receita do Telegram Star »](https://core.telegram.org/api/stars.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estrelas do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve ativar o tema escuro para cores do gráfico"}, "ton": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se definido, busca estatísticas de receita de anúncios do canal/bot em 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": "Obtenha estatísticas para o bot, canal especificado ou para nós mesmos ([inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md))."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `dark` | `true` | Não | Se deve ativar o tema escuro para cores do gráfico |\n| `ton` | `true` | Não | Se definido, busca estatísticas de receita de anúncios do canal/bot em TON. |\n| `peer` | `InputPeer` | Sim | Obtenha estatísticas para o bot, canal especificado ou para nós mesmos ([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": ["Pagamentos"], "summary": "Retirar fundos de um canal ou saldo estrela do bot ».", "description": "Retire fundos de um canal ou bot [saldo de estrelas »](https://core.telegram.org/api/stars.md#withdrawing-revenue).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](https://core.telegram.org/api/srp.md)\n- [Estrelas do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `PASSWORD_HASH_INVALID` — O hash da senha fornecido é inválido.\n- 400 · `PASSWORD_MISSING` — Você deve [habilitar 2FA](https://core.telegram.org/api/srp.md) antes de executar esta operação.\n- 400 · `PASSWORD_TOO_FRESH_%d` — A senha foi modificada há menos de 24 horas. Tente novamente em %d segundos.\n- 400 · `SESSION_TOO_FRESH_%d` — Esta sessão foi criada há menos de 24 horas. Tente novamente em %d segundos."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, retira a receita do canal/anúncio em 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 ou bot do qual retirar fundos."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "A quantidade de estrelas ou nanogramas 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": "Senha 2FA, veja [aqui »](https://core.telegram.org/api/srp.md#using-the-2fa-password) para mais informações."}}, "additionalProperties": false, "required": ["peer", "password"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `ton` | `true` | Não | Se definido, retira a receita do canal/anúncio em TON. |\n| `peer` | `InputPeer` | Sim | Canal ou bot do qual retirar fundos. |\n| `amount` | `long` | Não | A quantidade de estrelas ou nanogramas a retirar. |\n| `password` | `InputCheckPasswordSRP` | Sim | Senha 2FA, veja [aqui »](https://core.telegram.org/api/srp.md#using-the-2fa-password) para mais informações. |"}, "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": ["Pagamentos"], "summary": "Retorna um URL para uma conta da plataforma Telegram Ad que pode ser usada para configurar anúncios para canal/bot em `peer`, paga usando as Telegram Stars de propriedade do `peer` especificado, veja aqui » para mais informações.", "description": "Retorna um URL para uma conta da plataforma Telegram Ad que pode ser usada para configurar anúncios para canal/bot em `peer`, paga usando as Estrelas do Telegram pertencentes ao `peer` especificado, veja [aqui »](https://core.telegram.org/api/stars.md#paying-for-ads) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estrelas do 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 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": "### Erros MTProto (RPC)\n\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 ou bot dono das estrelas."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Canal ou bot dono das estrelas. |"}, "x-telegram-rpc-errors": ["CHAT_WRITE_FORBIDDEN", "PEER_ID_INVALID"], "x-browser-schema-id": "3520589765"}}, "/catalog/payments.getStarsTransactionsByID": {"post": {"operationId": "payments.getStarsTransactionsByID", "tags": ["Pagamentos"], "summary": "Obtenha informações sobre transações do Telegram Star »usando IDs de transação específicos.", "description": "Obtenha informações sobre [transações Telegram Star »](https://core.telegram.org/api/stars.md#balance-and-transaction-history) usando IDs de transação específicos.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estrelas do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `TRANSACTION_ID_INVALID` — O ID da transação especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, retorna transações de receita de anúncios de canal/bot em nanogramas."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/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 ou bot."}, "id": {"type": "array", "items": {"type": "object", "x-tl-type": "InputStarsTransaction", "oneOf": [{"$ref": "#/components/schemas/inputStarsTransaction"}], "description": "Tipo TL: InputStarsTransaction."}, "x-tl-type": "Vector<InputStarsTransaction>", "description": "IDs de transação."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `ton` | `true` | Não | Se definido, retorna transações de receita de anúncios de canal/bot em nanogramas. |\n| `peer` | `InputPeer` | Sim | Canal ou bot. |\n| `id` | `Vector<InputStarsTransaction>` | Sim | IDs de transação. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "TRANSACTION_ID_INVALID"], "x-browser-schema-id": "768218808"}}, "/catalog/payments.getStarsGiftOptions": {"post": {"operationId": "payments.getStarsGiftOptions", "tags": ["Pagamentos"], "summary": "Obtenha uma lista de opções de presentes do Telegram Stars » como construtores starsGiftOption.", "description": "Obtenha uma lista de [opções de presente do Telegram Stars »](https://core.telegram.org/api/stars.md#buying-or-gifting-stars) como construtores [starsGiftOption](https://core.telegram.org/constructor/starsGiftOption.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Configuração do 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 MTProto · `Vector<StarsGiftOption>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[StarsGiftOption](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: StarsGiftOption."}, "x-tl-type": "Vector<StarsGiftOption>"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `USER_GIFT_UNAVAILABLE` — Presentes não estão disponíveis na região atual ([stars_gifts_enabled](https://core.telegram.org/api/config.md#stars-gifts-enabled) é igual a falso).\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Destinatário do presente (opcional).", "x-tl-flag": "flags.0?InputUser"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Não | Destinatário do presente (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": ["Pagamentos"], "summary": "Obtenha uma lista de assinaturas ativas, expiradas ou canceladas do Telegram Star ».", "description": "Obtenha uma lista de [assinaturas Telegram Star ativas, expiradas ou canceladas »](https://core.telegram.org/api/invites.md#paid-invite-links).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links de convite](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 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": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve devolver apenas assinaturas expiradas devido a um saldo excessivamente baixo do Telegram Star."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Sempre passe [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md)."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento para paginação, retirado de [payments.starsStatus](https://core.telegram.org/constructor/payments.starsStatus.md).`subscriptions_next_offset`."}}, "additionalProperties": false, "required": ["peer", "offset"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `missing_balance` | `true` | Não | Se deve devolver apenas assinaturas expiradas devido a um saldo excessivamente baixo do Telegram Star. |\n| `peer` | `InputPeer` | Sim | Sempre passe [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md). |\n| `offset` | `string` | Sim | Deslocamento para paginação, retirado 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": ["Pagamentos"], "summary": "Ative ou desative uma assinatura do Telegram Star ».", "description": "Ative ou desative uma [assinatura Telegram Star »](https://core.telegram.org/api/invites.md#paid-invite-links).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links de convite](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Sempre passe [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md)."}, "subscription_id": {"type": "string", "x-tl-type": "string", "description": "ID da assinatura."}, "canceled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Seja para cancelar ou reativar a assinatura."}}, "additionalProperties": false, "required": ["peer", "subscription_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Sempre passe [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md). |\n| `subscription_id` | `string` | Sim | ID da assinatura. |\n| `canceled` | `Bool` | Não | Seja para cancelar ou reativar a assinatura. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3346466936"}}, "/catalog/payments.fulfillStarsSubscription": {"post": {"operationId": "payments.fulfillStarsSubscription", "tags": ["Pagamentos"], "summary": "Junte-se novamente a um canal privado associado a uma assinatura ativa do Telegram Star ».", "description": "Junte-se novamente a um canal privado associado a uma [assinatura Telegram Star ativa »](https://core.telegram.org/api/invites.md#paid-invite-links).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links de convite](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Sempre passe [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md)."}, "subscription_id": {"type": "string", "x-tl-type": "string", "description": "ID da assinatura."}}, "additionalProperties": false, "required": ["peer", "subscription_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Sempre passe [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md). |\n| `subscription_id` | `string` | Sim | ID da assinatura. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3428576179"}}, "/catalog/payments.getStarsGiveawayOptions": {"post": {"operationId": "payments.getStarsGiveawayOptions", "tags": ["Pagamentos"], "summary": "Obtenha uma lista de opções de sorteio de estrelas ».", "description": "Obtenha uma lista de [opções de sorteio de estrelas »](https://core.telegram.org/api/giveaways.md#star-giveaways).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Brindes e presentes](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 MTProto · `Vector<StarsGiveawayOption>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[StarsGiveawayOption](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 TL: StarsGiveawayOption."}, "x-tl-type": "Vector<StarsGiveawayOption>"}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/payments.getStarsGiveawayOptions"}, "x-browser-schema-id": "3172924734"}}, "/catalog/payments.getStarGifts": {"post": {"operationId": "payments.getStarGifts", "tags": ["Pagamentos"], "summary": "Obtenha uma lista de presentes disponíveis, veja aqui » para mais informações.", "description": "Obtenha uma lista de [presentes disponíveis, veja aqui »](https://core.telegram.org/api/gifts.md) para mais informações.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Presentes 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 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": "Documentação oficial do 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). O hash pode ser gerado localmente usando os `id`s do adesivo devolvido ou armazenado [starGift](https://core.telegram.org/constructor/starGift.md)s."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `int` | Sim | [Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). O hash pode ser gerado localmente usando os `id`s do adesivo devolvido ou armazenado [starGift](https://core.telegram.org/constructor/starGift.md)s. |"}, "x-browser-schema-id": "3293984144"}}, "/catalog/payments.saveStarGift": {"post": {"operationId": "payments.saveStarGift", "tags": ["Pagamentos"], "summary": "Exibir ou remover um presente recebido ou hospedado » do nosso perfil.", "description": "Exibir ou remover um [presente recebido ou hospedado »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) do nosso perfil.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `SAVED_ID_EMPTY` — O inputSavedStarGiftChat.saved_id passado está vazio.\n- 400 · `STARGIFT_OBJECT_INVALID` — O objeto presente estrela especificado é inválido.\n- 400 · `STARGIFT_OWNER_INVALID` — Você não pode transferir ou vender um presente de propriedade de outro usuário.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, oculta o presente do nosso perfil."}, "stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "O presente para exibir ou remover. Um [presente colecionável hospedado »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) pode ser usado por seu anfitrião ou proprietário."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `unsave` | `true` | Não | Se definido, oculta o presente do nosso perfil. |\n| `stargift` | `InputSavedStarGift` | Sim | O presente para exibir ou remover. Um [presente colecionável hospedado »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) pode ser usado por seu anfitrião ou proprietário. |"}, "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": ["Pagamentos"], "summary": "Converter um presente recebido » em Estrelas do Telegram: isso destruirá permanentemente o presente, convertendo-o em starGift.`convert_stars` Estrelas do Telegram, adicionadas ao saldo do usuário.", "description": "Converta um [presente recebido »](https://core.telegram.org/api/gifts.md) em Telegram Stars: isso destruirá permanentemente o presente, convertendo-o em [starGift](https://core.telegram.org/constructor/starGift.md).`convert_stars` [Telegram Stars](https://core.telegram.org/api/stars.md), adicionado ao saldo do usuário.\n\nObserve que [starGift](https://core.telegram.org/constructor/starGift.md).`convert_stars` será menor que o preço de compra ([starGift](https://core.telegram.org/constructor/starGift.md).`stars`) do presente se ele foi comprado originalmente usando Telegram Stars comprado há muito tempo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes de telegrama](https://core.telegram.org/api/gifts.md)\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Negócio de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `SAVED_ID_EMPTY` — O inputSavedStarGiftChat.saved_id passado está vazio.\n- 400 · `STARGIFT_PEER_INVALID` — O inputSavedStarGiftChat.peer especificado é inválido.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O dom de converter."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | Sim | O dom de converter. |"}, "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": ["Pagamentos"], "summary": "Cancelar uma assinatura de bot", "description": "Cancelar uma [assinatura de bot](https://core.telegram.org/api/subscriptions.md#bot-subscriptions)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Assinaturas de estrelas](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHARGE_ID_INVALID` — O charge_id especificado é inválido.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se **não** definido, desativa a renovação automática das assinaturas e evita que o usuário reative a assinatura quando o período atual expirar: uma assinatura cancelada pelo bot terá o sinalizador [starsSubscription](https://core.telegram.org/constructor/starsSubscription.md).`bot_canceled` definido.   O bot pode desfazer parcialmente esta operação definindo este sinalizador: isso permitirá ao usuário reativar a assinatura."}, "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": "O ID do usuário cuja assinatura deve ser (des)cancelada"}, "charge_id": {"type": "string", "x-tl-type": "string", "description": "O `provider_charge_id` da mensagem de serviço [messageActionPaymentSentMe](https://core.telegram.org/constructor/messageActionPaymentSentMe.md) enviada ao bot para o primeiro pagamento da assinatura."}}, "additionalProperties": false, "required": ["user_id", "charge_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `restore` | `true` | Não | Se **não** definido, desativa a renovação automática das assinaturas e evita que o usuário reative a assinatura quando o período atual expirar: uma assinatura cancelada pelo bot terá o sinalizador [starsSubscription](https://core.telegram.org/constructor/starsSubscription.md).`bot_canceled` definido.   O bot pode desfazer parcialmente esta operação definindo este sinalizador: isso permitirá ao usuário reativar a assinatura. |\n| `user_id` | `InputUser` | Sim | O ID do usuário cuja assinatura deve ser (des)cancelada |\n| `charge_id` | `string` | Sim | O `provider_charge_id` da mensagem de serviço [messageActionPaymentSentMe](https://core.telegram.org/constructor/messageActionPaymentSentMe.md) enviada ao bot para o primeiro pagamento da assinatura. |"}, "x-telegram-rpc-errors": ["CHARGE_ID_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "1845102114"}}, "/catalog/payments.getConnectedStarRefBots": {"post": {"operationId": "payments.getConnectedStarRefBots", "tags": ["Pagamentos"], "summary": "Busque todas as afiliações que criamos para um determinado par", "description": "Busque todas as afiliações que criamos para um determinado par\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Digite TL: payments.ConnectedStarRefBots."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "O par afiliado"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "Se definido, retorna apenas resultados anteriores ao unixtime especificado"}, "offset_link": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Deslocamento para [pagination](https://core.telegram.org/api/offsets.md), obtido do último [connectedBotStarRef](https://core.telegram.org/constructor/connectedBotStarRef.md).`url` retornado (inicialmente vazio)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O par afiliado |\n| `offset_date` | `int` | Não | Se definido, retorna apenas resultados anteriores ao unixtime especificado |\n| `offset_link` | `string` | Não | Deslocamento para [pagination](https://core.telegram.org/api/offsets.md), obtido do último [connectedBotStarRef](https://core.telegram.org/constructor/connectedBotStarRef.md).`url` retornado (inicialmente vazio) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "1483318611"}}, "/catalog/payments.getConnectedStarRefBot": {"post": {"operationId": "payments.getConnectedStarRefBot", "tags": ["Pagamentos"], "summary": "Obtenha informações sobre uma afiliação específica de bot »", "description": "Busque informações sobre uma [afiliação de bot específica »](https://core.telegram.org/api/bots/referrals.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Programas 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 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": "Digite TL: payments.ConnectedStarRefBots."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O 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": "O bot que oferece o programa de afiliados"}}, "additionalProperties": false, "required": ["peer", "bot"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O par afiliado |\n| `bot` | `InputUser` | Sim | O bot que oferece o programa de afiliados |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3084490992"}}, "/catalog/payments.getSuggestedStarRefBots": {"post": {"operationId": "payments.getSuggestedStarRefBots", "tags": ["Pagamentos"], "summary": "Obtenha uma lista de miniaplicativos sugeridos com programas afiliados disponíveis", "description": "Obtenha uma lista de [mini aplicativos](https://core.telegram.org/api/bots/webapps.md) sugeridos com [programas afiliados](https://core.telegram.org/api/bots/referrals.md) disponíveis\n\n`order_by_revenue` e `order_by_date` são mutuamente exclusivos: se nenhum deles for definido, os resultados serão classificados por lucratividade.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Miniaplicativos no Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Programas 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 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": "### Erros MTProto (RPC)\n\n- 403 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, ordena os resultados pela receita esperada"}, "order_by_date": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se definido, ordena os resultados até a data de criação do 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": "O par que se tornará afiliado: as comissões de estrelas serão transferidas para o saldo de estrelas deste par."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento para paginação, retirado de [payments.suggestedStarRefBots](https://core.telegram.org/constructor/payments.suggestedStarRefBots.md).`next_offset`, inicialmente vazio."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `order_by_revenue` | `true` | Não | Se definido, ordena os resultados pela receita esperada |\n| `order_by_date` | `true` | Não | Se definido, ordena os resultados até a data de criação do programa de afiliados |\n| `peer` | `InputPeer` | Sim | O par que se tornará afiliado: as comissões de estrelas serão transferidas para o saldo de estrelas deste par. |\n| `offset` | `string` | Sim | Deslocamento para paginação, retirado de [payments.suggestedStarRefBots](https://core.telegram.org/constructor/payments.suggestedStarRefBots.md).`next_offset`, inicialmente vazio. |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Pagamentos"], "summary": "Junte-se ao programa de afiliados de um bot, tornando-se um afiliado »", "description": "Participe de um [programa de afiliados de um bot, tornando-se um afiliado »](https://core.telegram.org/api/bots/referrals.md#becoming-an-affiliate)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Programas 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 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": "Digite TL: payments.ConnectedStarRefBots."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "O par que se tornará afiliado: as comissões de estrelas serão transferidas para o saldo de estrelas deste 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": "O bot que oferece o programa de afiliados"}}, "additionalProperties": false, "required": ["peer", "bot"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O par que se tornará afiliado: as comissões de estrelas serão transferidas para o saldo de estrelas deste par. |\n| `bot` | `InputUser` | Sim | O bot que oferece o programa de afiliados |"}, "x-browser-schema-id": "2127901834"}}, "/catalog/payments.editConnectedStarRefBot": {"post": {"operationId": "payments.editConnectedStarRefBot", "tags": ["Pagamentos"], "summary": "Saia do programa de afiliados de um bot »", "description": "Deixe o [programa de afiliados de um bot »](https://core.telegram.org/api/bots/referrals.md#becoming-an-affiliate)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Programas 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 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": "Digite TL: payments.ConnectedStarRefBots."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `STARREF_HASH_REVOKED` — O link de afiliado especificado já foi revogado."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, sai do programa de afiliados do 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": "O par que foi afiliado"}, "link": {"type": "string", "x-tl-type": "string", "description": "O link de afiliado para revogar"}}, "additionalProperties": false, "required": ["peer", "link"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `revoked` | `true` | Não | Se definido, sai do programa de afiliados do bot |\n| `peer` | `InputPeer` | Sim | O par que foi afiliado |\n| `link` | `string` | Sim | O link de afiliado para revogar |"}, "x-telegram-rpc-errors": ["STARREF_HASH_REVOKED"], "x-browser-schema-id": "3841762467"}}, "/catalog/payments.getStarGiftUpgradePreview": {"post": {"operationId": "payments.getStarGiftUpgradePreview", "tags": ["Pagamentos"], "summary": "Obtenha uma prévia dos possíveis atributos (escolhidos aleatoriamente) que um presente » pode receber após atualizá-lo para um presente colecionável », veja aqui » para mais informações.", "description": "Obtenha uma prévia dos possíveis atributos (escolhidos aleatoriamente) que um [presente »](https://core.telegram.org/api/gifts.md) pode receber após atualizá-lo para um [presente colecionável »](https://core.telegram.org/api/gifts.md#collectible-gifts), veja [aqui »](https://core.telegram.org/api/gifts.md#collectible-gifts) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes 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 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": "### Erros MTProto (RPC)\n\n- 400 · `STARGIFT_INVALID` — O presente aprovado é inválido.\n- 400 · `STARGIFT_UPGRADE_UNAVAILABLE` — Um presente recebido só pode ser atualizado para um presente colecionável se o sinalizador [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md)/[savedStarGift](https://core.telegram.org/constructor/savedStarGift.md).`can_upgrade` estiver definido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O presente para atualizar.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["gift_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | Sim | O presente para atualizar. |"}, "x-telegram-rpc-errors": ["STARGIFT_INVALID", "STARGIFT_UPGRADE_UNAVAILABLE"], "x-browser-schema-id": "2627386545"}}, "/catalog/payments.upgradeStarGift": {"post": {"operationId": "payments.upgradeStarGift", "tags": ["Pagamentos"], "summary": "Atualize um presente para um presente colecionável: só pode ser usado se o upgrade já tiver sido pago pelo remetente do presente; veja aqui » para mais informações sobre o fluxo completo (incluindo os diferentes fluxos a utilizar caso o upgrade não tenha sido pago pelo remetente do presente).", "description": "Atualize um [presente](https://core.telegram.org/api/gifts.md) para um [presente colecionável](https://core.telegram.org/api/gifts.md#collectible-gifts): só pode ser usado se o upgrade já tiver sido pago pelo remetente do presente; veja [aqui »](https://core.telegram.org/api/gifts.md#upgrade-a-gift-to-a-collectible-gift) para mais informações sobre o fluxo completo (incluindo os diferentes fluxos a serem usados ​​caso o upgrade não tenha sido pago pelo remetente do presente).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes de telegrama](https://core.telegram.org/api/gifts.md)\n- [Negócio de telegrama](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PAYMENT_REQUIRED` — O pagamento é necessário para esta ação, veja [aqui »](https://core.telegram.org/api/gifts.md) para mais informações.\n- 400 · `SAVED_ID_EMPTY` — O inputSavedStarGiftChat.saved_id passado está vazio.\n- 400 · `STARGIFT_ALREADY_CONVERTED` — O presente de estrela especificado já foi convertido em Estrelas.\n- 400 · `STARGIFT_ALREADY_UPGRADED` — O presente especificado já foi atualizado para um presente colecionável.\n- 400 · `STARGIFT_UPGRADE_UNAVAILABLE` — Um presente recebido só pode ser atualizado para um presente colecionável se o sinalizador [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md)/[savedStarGift](https://core.telegram.org/constructor/savedStarGift.md).`can_upgrade` estiver definido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Defina este sinalizador para manter o texto original do presente, remetente e destinatário no presente atualizado como um 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": "O presente para atualizar"}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `keep_original_details` | `true` | Não | Defina este sinalizador para manter o texto original do presente, remetente e destinatário no presente atualizado como um atributo [starGiftAttributeOriginalDetails](https://core.telegram.org/constructor/starGiftAttributeOriginalDetails.md). |\n| `stargift` | `InputSavedStarGift` | Sim | O presente para atualizar |"}, "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": ["Pagamentos"], "summary": "Transferir um presente colecionável para outro usuário ou canal: só pode ser usado se a transferência for gratuita (i.e. messageActionStarGiftUnique.`transfer_stars` não está definido); veja aqui » para mais informações sobre o fluxo completo (incluindo os diferentes fluxos a utilizar caso a transferência não seja gratuita).", "description": "Transferir um [presente colecionável](https://core.telegram.org/api/gifts.md#collectible-gifts) para outro usuário ou canal: só pode ser usado se a transferência for gratuita (i.e. [messageActionStarGiftUnique](https://core.telegram.org/constructor/messageActionStarGiftUnique.md).`transfer_stars` não está definido); veja [aqui »](https://core.telegram.org/api/gifts.md#transferring-collectible-gifts) para mais informações sobre o fluxo completo (incluindo os diferentes fluxos a serem usados ​​caso a transferência não seja gratuita).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes de telegrama](https://core.telegram.org/api/gifts.md)\n- [Negócio de telegrama](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PAYMENT_REQUIRED` — O pagamento é necessário para esta ação, veja [aqui »](https://core.telegram.org/api/gifts.md) para mais informações.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `SAVED_ID_EMPTY` — O inputSavedStarGiftChat.saved_id passado está vazio.\n- 400 · `STARGIFT_NOT_FOUND` — O presente especificado não foi encontrado.\n- 400 · `STARGIFT_NOT_OWNER` — Você não é o proprietário do presente que está tentando transferir.\n- 400 · `STARGIFT_NOT_UNIQUE` — Você não pode transferir um presente não colecionável.\n- 400 · `STARGIFT_OWNER_INVALID` — Você não pode transferir ou vender um presente de propriedade de outro usuário.\n- 400 · `STARGIFT_PEER_INVALID` — O inputSavedStarGiftChat.peer especificado é inválido.\n- 400 · `STARGIFT_TRANSFER_TOO_EARLY_%d` — Você não pode transferir este presente ainda, espere %d segundos."}}, "externalDocs": {"description": "Documentação oficial do 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": "O presente a ser transferido."}, "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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | Sim | O presente a ser transferido. |\n| `to_id` | `InputPeer` | Sim | 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": ["Pagamentos"], "summary": "Obtenha informações sobre um presente colecionável »usando um slug obtido no link de um presente colecionável».", "description": "Obtenha informações sobre um [presente colecionável »](https://core.telegram.org/api/gifts.md#collectible-gifts) usando um slug obtido de um [link de presente colecionável »](https://core.telegram.org/api/links.md#collectible-gift-link).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes de telegrama](https://core.telegram.org/api/gifts.md)\n- [Links diretos](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 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 de TL: payments.UniqueStarGift."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `STARGIFT_SLUG_INVALID` — O presente especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "A lesma."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `slug` | `string` | Sim | A lesma. |"}, "x-telegram-rpc-errors": ["STARGIFT_SLUG_INVALID"], "x-browser-schema-id": "2711047538"}}, "/catalog/payments.getSavedStarGifts": {"post": {"operationId": "payments.getSavedStarGifts", "tags": ["Pagamentos"], "summary": "Obtenha a lista completa de presentes »possuídos, recebidos ou hospedados» por um colega.", "description": "Obtenha a lista completa de [presentes »](https://core.telegram.org/api/gifts.md#list-all-received-gifts) possuídos, recebidos ou [hospedados »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) por um colega.\n\nObserve que, diferentemente do que o nome sugere, o método pode ser usado para buscar presentes \"salvos\" e \"não salvos\" (também conhecidos como presentes fixados e não fixados) para o perfil, dependendo dos sinalizadores passados.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes de telegrama](https://core.telegram.org/api/gifts.md)\n- [Cores de destaque](https://core.telegram.org/api/colors.md)\n- [Bots de negócios conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Negócio de telegrama](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 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": "Digite TL: payments.SavedStarGifts."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `COLLECTION_ID_INVALID` — O ID da coleção especificado é inválido.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Exclua presentes não fixados no perfil."}, "exclude_saved": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Exclua presentes fixados no perfil."}, "exclude_unlimited": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Exclua presentes que não tenham o sinalizador [starGift](https://core.telegram.org/constructor/starGift.md).`limited` definido."}, "exclude_unique": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Excluir [presentes colecionáveis ​​»](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": "Se definido, classifica os presentes por preço em vez de data de recebimento."}, "exclude_upgradable": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Exclua presentes que podem ser [atualizados para presentes colecionáveis »](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": "Exclua presentes que não podem ser [atualizados para presentes colecionáveis »](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": "Se definido, retorna apenas [presentes colecionáveis](https://core.telegram.org/api/gifts.md#collectible-gifts) cuja paleta pode ser usada como [paleta de mensagens colecionáveis »](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": "Se definido, exclui [presentes colecionáveis ​​hospedados »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts), retornando apenas presentes pertencentes ou recebidos por `peer`."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Busque apenas presentes pertencentes, recebidos ou [hospedados »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) pelo peer especificado, como: um usuário, com peer=[inputPeerUser](https://core.telegram.org/constructor/inputPeerUser.md); um canal, com peer=[inputPeerChannel](https://core.telegram.org/constructor/inputPeerChannel.md); um [usuário comercial conectado »](https://core.telegram.org/api/bots/connected-business-bots.md) (ao executar o método como um bot, pela conexão comercial), com 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": "Devolve apenas presentes dentro da [coleção »](https://core.telegram.org/api/gifts.md#gift-collections) especificada."}, "offset": {"type": "string", "x-tl-type": "string", "description": "[Deslocamento para paginação](https://core.telegram.org/api/offsets.md)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `exclude_unsaved` | `true` | Não | Exclua presentes não fixados no perfil. |\n| `exclude_saved` | `true` | Não | Exclua presentes fixados no perfil. |\n| `exclude_unlimited` | `true` | Não | Exclua presentes que não tenham o sinalizador [starGift](https://core.telegram.org/constructor/starGift.md).`limited` definido. |\n| `exclude_unique` | `true` | Não | Excluir [presentes colecionáveis ​​»](https://core.telegram.org/api/gifts.md#collectible-gifts). |\n| `sort_by_value` | `true` | Não | Se definido, classifica os presentes por preço em vez de data de recebimento. |\n| `exclude_upgradable` | `true` | Não | Exclua presentes que podem ser [atualizados para presentes colecionáveis »](https://core.telegram.org/api/gifts.md#collectible-gifts). |\n| `exclude_unupgradable` | `true` | Não | Exclua presentes que não podem ser [atualizados para presentes colecionáveis »](https://core.telegram.org/api/gifts.md#collectible-gifts). |\n| `peer_color_available` | `true` | Não | Se definido, retorna apenas [presentes colecionáveis](https://core.telegram.org/api/gifts.md#collectible-gifts) cuja paleta pode ser usada como [paleta de mensagens colecionáveis »](https://core.telegram.org/api/colors.md#collectible-message-palettes). |\n| `exclude_hosted` | `true` | Não | Se definido, exclui [presentes colecionáveis ​​hospedados »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts), retornando apenas presentes pertencentes ou recebidos por `peer`. |\n| `peer` | `InputPeer` | Sim | Busque apenas presentes pertencentes, recebidos ou [hospedados »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) pelo peer especificado, como: um usuário, com peer=[inputPeerUser](https://core.telegram.org/constructor/inputPeerUser.md); um canal, com peer=[inputPeerChannel](https://core.telegram.org/constructor/inputPeerChannel.md); um [usuário comercial conectado »](https://core.telegram.org/api/bots/connected-business-bots.md) (ao executar o método como um bot, pela conexão comercial), com peer=[inputPeerUser](https://core.telegram.org/constructor/inputPeerUser.md). |\n| `collection_id` | `int` | Não | Devolve apenas presentes dentro da [coleção »](https://core.telegram.org/api/gifts.md#gift-collections) especificada. |\n| `offset` | `string` | Sim | [Deslocamento para paginação](https://core.telegram.org/api/offsets.md). |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Pagamentos"], "summary": "Buscar informações sobre presentes específicos pertencentes a um colega que controlamos.", "description": "Busque informações sobre [presentes](https://core.telegram.org/api/gifts.md) específicos de propriedade de um colega que controlamos.\n\nObserve que, diferentemente do que o nome sugere, o método pode ser usado para buscar presentes \"salvos\" e \"não salvos\" (também conhecidos como presentes fixados e não fixados no perfil).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes 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 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": "Digite TL: payments.SavedStarGifts."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `SAVED_ID_EMPTY` — O inputSavedStarGiftChat.saved_id passado está vazio.\n- 400 · `STARGIFT_OWNER_INVALID` — Você não pode transferir ou vender um presente de propriedade de outro usuário.\n- 400 · `STARGIFT_SLUG_INVALID` — O presente especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 TL: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "description": "Lista de presentes para buscar informações."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stargift` | `Vector<InputSavedStarGift>` | Sim | Lista de presentes para buscar informações. |"}, "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": ["Pagamentos"], "summary": "Converta um presente colecionável » em um NFT no blockchain TON.", "description": "Converta um [presente colecionável »](https://core.telegram.org/api/gifts.md) em um NFT no blockchain TON.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Autenticação de dois fatores](https://core.telegram.org/api/srp.md)\n- [Presentes 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 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": "### Erros MTProto (RPC)\n\n- 400 · `PASSWORD_HASH_INVALID` — O hash da senha fornecido é inválido.\n- 400 · `PASSWORD_TOO_FRESH_%d` — A senha foi modificada há menos de 24 horas. Tente novamente em %d segundos.\n- 400 · `SESSION_TOO_FRESH_%d` — Esta sessão foi criada há menos de 24 horas. Tente novamente em %d segundos."}}, "externalDocs": {"description": "Documentação oficial do 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": "O presente colecionável para exportar."}, "tmp_password": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor do tipo TL `bytes`."}}, "additionalProperties": false, "required": ["stargift", "tmp_password"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | Sim | O presente colecionável para exportar. |\n| `tmp_password` | `bytes` | Sim | Valor do 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": ["Pagamentos"], "summary": "Ativa ou desativa o recebimento de notificações sempre que um presente » é recebido pelo canal especificado, só pode ser invocado por administradores com `post_messages` direitos de administrador.", "description": "Ativa ou desativa o recebimento de notificações sempre que um [presente »](https://core.telegram.org/api/gifts.md) é recebido pelo canal especificado, só pode ser invocado por administradores com `post_messages` [direitos de administrador](https://core.telegram.org/constructor/chatAdminRights.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Seja para ativar ou desativar o recebimento de notificações na forma de mensagens de serviço [messageActionStarGiftUnique](https://core.telegram.org/constructor/messageActionStarGiftUnique.md) e [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md) do 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": "O canal para o qual receber ou não notificações."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `enabled` | `true` | Não | Seja para ativar ou desativar o recebimento de notificações na forma de mensagens de serviço [messageActionStarGiftUnique](https://core.telegram.org/constructor/messageActionStarGiftUnique.md) e [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md) do canal. |\n| `peer` | `InputPeer` | Sim | O canal para o qual receber ou não notificações. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1626009505"}}, "/catalog/payments.toggleStarGiftsPinnedToTop": {"post": {"operationId": "payments.toggleStarGiftsPinnedToTop", "tags": ["Pagamentos"], "summary": "Fixa um presente recebido no perfil do usuário ou canais de propriedade usando payments.toggleStarGiftsPinnedToTop.", "description": "Fixa um presente recebido no perfil do usuário ou canais de propriedade usando [payments.toggleStarGiftsPinnedToTop](https://core.telegram.org/method/payments.toggleStarGiftsPinnedToTop.md).\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O ponto onde fixar o presente."}, "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 TL: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "description": "O presente para fixar."}}, "additionalProperties": false, "required": ["peer", "stargift"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O ponto onde fixar o presente. |\n| `stargift` | `Vector<InputSavedStarGift>` | Sim | O presente para fixar. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "353626032"}}, "/catalog/payments.canPurchaseStore": {"post": {"operationId": "payments.canPurchaseStore", "tags": ["Pagamentos"], "summary": "Verifica se uma compra é possível. Deve ser chamado antes da compra na loja, apenas em aplicativos oficiais.", "description": "Verifica se uma compra é possível. Deve ser chamado antes da compra na loja, apenas em aplicativos oficiais.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `INPUT_PURPOSE_INVALID` — A finalidade de pagamento especificada é inválida.\n- 406 · `PREMIUM_CURRENTLY_UNAVAILABLE` — Atualmente você não pode comprar uma assinatura Premium."}}, "externalDocs": {"description": "Documentação oficial do 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": "Finalidade do pagamento."}}, "additionalProperties": false, "required": ["purpose"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `purpose` | `InputStorePaymentPurpose` | Sim | Finalidade do pagamento. |"}, "x-telegram-rpc-errors": ["INPUT_PURPOSE_INVALID", "PREMIUM_CURRENTLY_UNAVAILABLE"], "x-browser-schema-id": "1339842215"}}, "/catalog/payments.getResaleStarGifts": {"post": {"operationId": "payments.getResaleStarGifts", "tags": ["Pagamentos"], "summary": "Obtenha presentes colecionáveis de um tipo específico atualmente em revenda, veja aqui » para mais informações.", "description": "Obtenha [presentes colecionáveis](https://core.telegram.org/api/gifts.md#collectible-gifts) de um tipo específico atualmente em revenda, veja [aqui »](https://core.telegram.org/api/gifts.md#reselling-collectible-gifts) para mais informações.\n\n`sort_by_price` e `sort_by_num` são mutuamente exclusivos, se nenhum deles for definido, os resultados serão classificados pelo unixtime (decrescente) quando seu preço de revenda foi alterado pela última vez.\n\nVeja [aqui »](https://core.telegram.org/api/gifts.md#sending-gifts) para documentação detalhada sobre este método.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes de telegrama](https://core.telegram.org/api/gifts.md)\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Paginação no 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 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": "Digite TL: payments.ResaleStarGifts."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `STARGIFT_ATTRIBUTE_INVALID` — Um dos atributos de presente estrela especificados é inválido.\n- 400 · `STARGIFT_INVALID` — O presente aprovado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Classifique os presentes por preço (crescente)."}, "sort_by_num": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Classifique os presentes por número (crescente)."}, "for_craft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Devolva apenas presentes colecionáveis ​​que possam ser comprados e usados ​​para [criação »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts); renderize o [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`craft_chance_permille` de cada presente devolvido como sua contribuição para o sucesso da elaboração."}, "stars_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Devolva apenas presentes que podem ser comprados usando [Estrelas](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 do tipo TL `true`."}, "fragment_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Valor do tipo TL `true`."}, "attributes_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Se uma chamada anterior ao método foi feita e [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes_hash` foi definido, passe-o aqui para evitar o retorno de quaisquer resultados se eles não tiverem sido alterados.  Caso contrário, defina este sinalizador e passe `0` para retornar [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes_hash` e [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes`, **estes dois campos não serão definidos** se este sinalizador não for definido.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador obrigatório do presente base a partir do qual o presente colecionável foi atualizado.", "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 TL: StarGiftAttributeId."}, "x-tl-type": "Vector<StarGiftAttributeId>", "x-tl-flag": "flags.3?Vector<StarGiftAttributeId>", "description": "Opcionalmente, filtre os presentes com os atributos especificados. Se nenhum atributo de um tipo específico for especificado, todos os atributos desse tipo serão permitidos."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento para paginação. Se não for igual a uma string vazia, [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`counters` não será definido para evitar o retorno dos contadores toda vez que uma nova página for buscada."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["gift_id", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `sort_by_price` | `true` | Não | Classifique os presentes por preço (crescente). |\n| `sort_by_num` | `true` | Não | Classifique os presentes por número (crescente). |\n| `for_craft` | `true` | Não | Devolva apenas presentes colecionáveis ​​que possam ser comprados e usados ​​para [criação »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts); renderize o [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`craft_chance_permille` de cada presente devolvido como sua contribuição para o sucesso da elaboração. |\n| `stars_only` | `true` | Não | Devolva apenas presentes que podem ser comprados usando [Estrelas](https://core.telegram.org/api/stars.md). |\n| `ton_only` | `true` | Não | Valor do tipo TL `true`. |\n| `fragment_only` | `true` | Não | Valor do tipo TL `true`. |\n| `attributes_hash` | `long` | Não | Se uma chamada anterior ao método foi feita e [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes_hash` foi definido, passe-o aqui para evitar o retorno de quaisquer resultados se eles não tiverem sido alterados.  Caso contrário, defina este sinalizador e passe `0` para retornar [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes_hash` e [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes`, **estes dois campos não serão definidos** se este sinalizador não for definido. |\n| `gift_id` | `long` | Sim | Identificador obrigatório do presente base a partir do qual o presente colecionável foi atualizado. |\n| `attributes` | `Vector<StarGiftAttributeId>` | Não | Opcionalmente, filtre os presentes com os atributos especificados. Se nenhum atributo de um tipo específico for especificado, todos os atributos desse tipo serão permitidos. |\n| `offset` | `string` | Sim | Deslocamento para paginação. Se não for igual a uma string vazia, [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`counters` não será definido para evitar o retorno dos contadores toda vez que uma nova página for buscada. |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Pagamentos"], "summary": "Um presente colecionável que possuímos » pode ser colocado à venda no mercado de presentes » com este método, veja aqui » para mais informações.", "description": "Um [presente colecionável que possuímos »](https://core.telegram.org/api/gifts.md#collectible-gifts) pode ser colocado à venda no [mercado de presentes »](https://telegram.org/blog/gift-marketplace-and-more) com este método, veja [aqui »](https://core.telegram.org/api/gifts.md#reselling-collectible-gifts) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `SAVED_ID_EMPTY` — O inputSavedStarGiftChat.saved_id passado está vazio.\n- 400 · `STARGIFT_NOT_FOUND` — O presente especificado não foi encontrado."}}, "externalDocs": {"description": "Documentação oficial do 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": "O presente para revender."}, "resell_amount": {"type": "object", "x-tl-type": "StarsAmount", "oneOf": [{"$ref": "#/components/schemas/starsAmount"}, {"$ref": "#/components/schemas/starsTonAmount"}], "description": "Preço de revenda do presente."}}, "additionalProperties": false, "required": ["stargift", "resell_amount"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | Sim | O presente para revender. |\n| `resell_amount` | `StarsAmount` | Sim | Preço de revenda do presente. |"}, "x-telegram-rpc-errors": ["SAVED_ID_EMPTY", "STARGIFT_NOT_FOUND"], "x-browser-schema-id": "3988679883"}}, "/catalog/payments.createStarGiftCollection": {"post": {"operationId": "payments.createStarGiftCollection", "tags": ["Pagamentos"], "summary": "Crie uma coleção de presentes de estrelas ».", "description": "Crie uma [coleção de presentes de estrelas »](https://core.telegram.org/api/gifts.md#gift-collections).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes 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 MTProto · `StarGiftCollection`.\n\n[StarGiftCollection](https://core.telegram.org/type/StarGiftCollection.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StarGiftCollection", "oneOf": [{"$ref": "#/components/schemas/starGiftCollection"}], "description": "Tipo TL: StarGiftCollection."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde criar a coleção."}, "title": {"type": "string", "x-tl-type": "string", "description": "Título da coleção."}, "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 TL: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "description": "Presentes adicionados à coleção."}}, "additionalProperties": false, "required": ["peer", "title", "stargift"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde criar a coleção. |\n| `title` | `string` | Sim | Título da coleção. |\n| `stargift` | `Vector<InputSavedStarGift>` | Sim | Presentes adicionados à coleção. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "524947079"}}, "/catalog/payments.updateStarGiftCollection": {"post": {"operationId": "payments.updateStarGiftCollection", "tags": ["Pagamentos"], "summary": "Adicione ou remova presentes de uma coleção de presentes estrela » ou renomeie a coleção.", "description": "Adicione ou remova presentes de uma [coleção de presentes estrela »](https://core.telegram.org/api/gifts.md#gift-collections) ou renomeie a coleção.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes 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 MTProto · `StarGiftCollection`.\n\n[StarGiftCollection](https://core.telegram.org/type/StarGiftCollection.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StarGiftCollection", "oneOf": [{"$ref": "#/components/schemas/starGiftCollection"}], "description": "Tipo TL: StarGiftCollection."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 que possui a coleção."}, "collection_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da coleção."}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Título da coleção, para renomear a coleção."}, "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 TL: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "x-tl-flag": "flags.1?Vector<InputSavedStarGift>", "description": "Pode conter uma lista de presentes a serem retirados da coleção."}, "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 TL: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "x-tl-flag": "flags.2?Vector<InputSavedStarGift>", "description": "Pode conter uma lista de presentes para adicionar à coleção."}, "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 TL: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "x-tl-flag": "flags.3?Vector<InputSavedStarGift>", "description": "Pode conter o novo pedido de presente."}}, "additionalProperties": false, "required": ["peer", "collection_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par que possui a coleção. |\n| `collection_id` | `int` | Sim | ID da coleção. |\n| `title` | `string` | Não | Título da coleção, para renomear a coleção. |\n| `delete_stargift` | `Vector<InputSavedStarGift>` | Não | Pode conter uma lista de presentes a serem retirados da coleção. |\n| `add_stargift` | `Vector<InputSavedStarGift>` | Não | Pode conter uma lista de presentes para adicionar à coleção. |\n| `order` | `Vector<InputSavedStarGift>` | Não | Pode conter o novo pedido de presente. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1339932391"}}, "/catalog/payments.reorderStarGiftCollections": {"post": {"operationId": "payments.reorderStarGiftCollections", "tags": ["Pagamentos"], "summary": "Reordene as coleções de presentes de estrelas » no perfil de um colega de sua propriedade.", "description": "Reordene as [coleções de presentes de estrelas »](https://core.telegram.org/api/gifts.md#gift-collections) no perfil de um colega de sua propriedade.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O par de propriedade."}, "order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Nova ordem de coleta."}}, "additionalProperties": false, "required": ["peer", "order"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O par de propriedade. |\n| `order` | `Vector<int>` | Sim | Nova ordem de coleta. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3274372300"}}, "/catalog/payments.deleteStarGiftCollection": {"post": {"operationId": "payments.deleteStarGiftCollection", "tags": ["Pagamentos"], "summary": "Exclua uma coleção de presentes de estrelas ».", "description": "Exclua uma [coleção de presentes de estrelas »](https://core.telegram.org/api/gifts.md#gift-collections).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 que possui a coleção."}, "collection_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da coleção."}}, "additionalProperties": false, "required": ["peer", "collection_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par que possui a coleção. |\n| `collection_id` | `int` | Sim | ID da coleção. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2908113128"}}, "/catalog/payments.getStarGiftCollections": {"post": {"operationId": "payments.getStarGiftCollections", "tags": ["Pagamentos"], "summary": "Busca todas as coleções de presentes de estrelas » de um colega.", "description": "Busca todas as [coleções de presentes de estrelas »](https://core.telegram.org/api/gifts.md#gift-collections) de um colega.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Presentes 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 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": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O par."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash ([gerado conforme especificado aqui »](https://core.telegram.org/api/offsets.md#hash-generation)) usando o campo [starGiftCollection](https://core.telegram.org/constructor/starGiftCollection.md).`hash` (**não** o campo `collection_id`) de todas as coleções retornadas por uma chamada de método anterior, para evitar a nova busca do resultado se ele não tiver sido alterado.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O par. |\n| `hash` | `long` | Sim | Hash ([gerado conforme especificado aqui »](https://core.telegram.org/api/offsets.md#hash-generation)) usando o campo [starGiftCollection](https://core.telegram.org/constructor/starGiftCollection.md).`hash` (**não** o campo `collection_id`) de todas as coleções retornadas por uma chamada de método anterior, para evitar a nova busca do resultado se ele não tiver sido alterado. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2551943645"}}, "/catalog/payments.getUniqueStarGiftValueInfo": {"post": {"operationId": "payments.getUniqueStarGiftValueInfo", "tags": ["Pagamentos"], "summary": "Obtenha informações sobre o valor de um presente colecionável ».", "description": "Obtenha informações sobre o valor de um [presente colecionável »](https://core.telegram.org/api/gifts.md#collectible-gifts).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes 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 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": "### Erros MTProto (RPC)\n\n- 400 · `STARGIFT_SLUG_INVALID` — O presente especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 um [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md)."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `slug` | `string` | Sim | `slug` de um [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": ["Pagamentos"], "summary": "Verifique se o presente especificado » pode ser enviado.", "description": "Verifique se o [presente »](https://core.telegram.org/api/gifts.md) especificado pode ser enviado.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes 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 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": "Digite TL: payments.CheckCanSendGiftResult."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `STARGIFT_INVALID` — O presente aprovado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "ID do presente.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["gift_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | Sim | ID do presente. |"}, "x-telegram-rpc-errors": ["STARGIFT_INVALID"], "x-browser-schema-id": "3234131401"}}, "/catalog/payments.getStarGiftAuctionState": {"post": {"operationId": "payments.getStarGiftAuctionState", "tags": ["Pagamentos"], "summary": "Retorna informações sobre um leilão de presentes colecionáveis »; também inscreve o usuário nas atualizações do leilão, veja aqui » para mais informações sobre o fluxo completo.", "description": "Retorna informações sobre um [leilão de presentes colecionáveis »](https://core.telegram.org/api/auctions.md); também inscreve o usuário nas atualizações do leilão, veja [aqui »](https://core.telegram.org/api/auctions.md) para mais informações sobre o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [Leilões de presentes colecionáveis](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 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": "Digite TL: payments.StarGiftAuctionState."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `STARGIFT_INVALID` — O presente aprovado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O ID do presente vinculado ao leilão ou um [slug de link direto do leilão »](https://core.telegram.org/api/links.md#auction-links)."}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Inicialmente `0`, em seguida, defina como [starGiftAuctionState](https://core.telegram.org/constructor/starGiftAuctionState.md).`version` retornado, para evitar a nova busca de resultados se eles não tiverem sido alterados."}}, "additionalProperties": false, "required": ["auction", "version"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `auction` | `InputStarGiftAuction` | Sim | O ID do presente vinculado ao leilão ou um [slug de link direto do leilão »](https://core.telegram.org/api/links.md#auction-links). |\n| `version` | `int` | Sim | Inicialmente `0`, em seguida, defina como [starGiftAuctionState](https://core.telegram.org/constructor/starGiftAuctionState.md).`version` retornado, para evitar a nova busca de resultados se eles não tiverem sido alterados. |"}, "x-telegram-rpc-errors": ["STARGIFT_INVALID"], "x-browser-schema-id": "1553986774"}}, "/catalog/payments.getStarGiftAuctionAcquiredGifts": {"post": {"operationId": "payments.getStarGiftAuctionAcquiredGifts", "tags": ["Pagamentos"], "summary": "Busca todos os presentes que o usuário atual ganhou em um leilão.", "description": "Busca todos os presentes que o usuário atual ganhou em um [leilão](https://core.telegram.org/api/auctions.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Leilões de presentes colecionáveis](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 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": "Digite TL: payments.StarGiftAuctionAcquiredGifts."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `STARGIFT_INVALID` — O presente aprovado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O ID do presente vinculado ao leilão.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["gift_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | Sim | O ID do presente vinculado ao leilão. |"}, "x-telegram-rpc-errors": ["STARGIFT_INVALID"], "x-browser-schema-id": "1805831148"}}, "/catalog/payments.getStarGiftActiveAuctions": {"post": {"operationId": "payments.getStarGiftActiveAuctions", "tags": ["Pagamentos"], "summary": "Busca todos os leilões de presentes atualmente ativos **nos quais o usuário já deu lances** (incluindo leilões em que o lance do usuário foi superado e seu lance foi devolvido), desde que o leilão ainda não tenha terminado.", "description": "Busca todos os [leilões de presentes](https://core.telegram.org/api/auctions.md) **que o usuário já deu lances** (incluindo leilões em que o lance do usuário foi superado e seu lance foi devolvido), desde que o leilão ainda não tenha terminado.\n\nEste método é usado principalmente para exibir um selo de leilão na lista de bate-papo imediatamente na inicialização do aplicativo, sem esperar a chegada de atualizações em tempo real [updateStarGiftAuctionState](https://core.telegram.org/constructor/updateStarGiftAuctionState.md): o cliente liga para descobrir de quais leilões o usuário está participando e mostrar o selo de forma proativa.\n\nEm vez disso, para obter o estado completo de um único leilão, assinar suas atualizações em tempo real e renderizar a UI detalhada do leilão (normalmente quando o usuário abre um leilão específico), use [payments.getStarGiftAuctionState](https://core.telegram.org/method/payments.getStarGiftAuctionState.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Leilões de presentes colecionáveis](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 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": "Digite TL: payments.StarGiftActiveAuctions."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 gerado [conforme especificado aqui »](https://core.telegram.org/api/auctions.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | Hash gerado [conforme especificado aqui »](https://core.telegram.org/api/auctions.md) |"}, "x-browser-schema-id": "2781892941"}}, "/catalog/payments.resolveStarGiftOffer": {"post": {"operationId": "payments.resolveStarGiftOffer", "tags": ["Pagamentos"], "summary": "Aceite ou recuse uma oferta de compra de presente colecionável recebida anteriormente », veja aqui » para o fluxo completo.", "description": "Aceite ou recuse uma [oferta de compra de presente colecionável »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers) recebida anteriormente, veja [aqui »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers) para o fluxo completo.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, recusa a oferta; caso contrário, aceita."}, "offer_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificador da mensagem de serviço [messageActionStarGiftPurchaseOffer](https://core.telegram.org/constructor/messageActionStarGiftPurchaseOffer.md) que descreve a oferta para agir."}}, "additionalProperties": false, "required": ["offer_msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `decline` | `true` | Não | Se definido, recusa a oferta; caso contrário, aceita. |\n| `offer_msg_id` | `int` | Sim | Identificador da mensagem de serviço [messageActionStarGiftPurchaseOffer](https://core.telegram.org/constructor/messageActionStarGiftPurchaseOffer.md) que descreve a oferta para agir. |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID"], "x-browser-schema-id": "3922622492"}}, "/catalog/payments.sendStarGiftOffer": {"post": {"operationId": "payments.sendStarGiftOffer", "tags": ["Pagamentos"], "summary": "Envie uma oferta para adquirir um presente colecionável », veja aqui » para o fluxo completo.", "description": "Envie uma oferta para comprar um [presente colecionável »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers), veja [aqui »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers) para o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Mensagens pagas](https://core.telegram.org/api/paid-messages.md)\n- [Estrelas do telegrama](https://core.telegram.org/api/stars.md)\n- [Presentes 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `INPUT_STARS_AMOUNT_INVALID` — O valor da oferta especificado em estrelas é inválido. Consulte [aqui »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers) para saber o intervalo permitido.\n- 400 · `INPUT_STARS_NANOS_INVALID` — O valor da oferta especificado em nanotons é inválido. Consulte [aqui »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers) para saber o intervalo permitido.\n- 400 · `INVOICE_INVALID` — A fatura especificada é inválida.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `RESELL_STARS_TOO_FEW` — O preço oferecido é muito baixo.\n- 400 · `RESELL_STARS_TOO_MUCH` — O preço oferecido é muito alto.\n- 400 · `STARGIFT_OFFER_INVALID` — O valor da oferta especificado é inválido.\n- 400 · `STARGIFT_OFFER_NOT_ALLOWED` — Você não pode enviar uma oferta de compra para este presente.\n- 400 · `STARGIFT_SLUG_INVALID` — O presente especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Proprietário do presente colecionável: igual a [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`owner_id`."}, "slug": {"type": "string", "x-tl-type": "string", "description": "Identificador do presente colecionável: 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": "Preço da oferta, em estrelas ou TON."}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duração da oferta, em segundos: deve ser `21600`, `43200`, `86400`, `129600`, `172800` ou `259200`; também pode ser `120` no modo de teste."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador aleatório de 64 bits usado para evitar o envio da mesma oferta duas vezes em caso de problemas de rede. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID.", "x-tl-type": "long"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Se o peer de destino tiver [mensagens pagas »](https://core.telegram.org/api/paid-messages.md) habilitadas, especifica o valor de [Estrelas do Telegram](https://core.telegram.org/api/stars.md) que o usuário remetente concordou em pagar para enviar a oferta (além do valor da própria oferta, contido em `price`).", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "additionalProperties": false, "required": ["peer", "slug", "price", "duration", "random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Proprietário do presente colecionável: igual a [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`owner_id`. |\n| `slug` | `string` | Sim | Identificador do presente colecionável: igual a [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`slug`. |\n| `price` | `StarsAmount` | Sim | Preço da oferta, em estrelas ou TON. |\n| `duration` | `int` | Sim | Duração da oferta, em segundos: deve ser `21600`, `43200`, `86400`, `129600`, `172800` ou `259200`; também pode ser `120` no modo de teste. |\n| `random_id` | `long` | Sim | Identificador aleatório de 64 bits usado para evitar o envio da mesma oferta duas vezes em caso de problemas de rede. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID. |\n| `allow_paid_stars` | `long` | Não | Se o peer de destino tiver [mensagens pagas »](https://core.telegram.org/api/paid-messages.md) habilitadas, especifica o valor de [Estrelas do Telegram](https://core.telegram.org/api/stars.md) que o usuário remetente concordou em pagar para enviar a oferta (além do valor da própria oferta, contido em `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": ["Pagamentos"], "summary": "Obtém a lista **completa** apenas dos atributos colecionáveis que podem aparecer para um tipo de presente quando ele for atualizado para um presente colecionável ».", "description": "Obtém a lista **completa** apenas dos atributos colecionáveis ​​que podem aparecer para um tipo de presente quando ele é atualizado para [presente colecionável »](https://core.telegram.org/api/gifts.md#collectible-gifts).\n\nO resultado também pode incluir construtores [starGiftAttributeModel](https://core.telegram.org/constructor/starGiftAttributeModel.md) com o sinalizador `crafted` definido: esses modelos são reservados para [crafting »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts) e devem ser filtrados das visualizações regulares de atualização (e vice-versa).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes 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 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": "### Erros MTProto (RPC)\n\n- 400 · `STARGIFT_INVALID` — O presente aprovado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 presente básico não colecionável, de [starGift](https://core.telegram.org/constructor/starGift.md).`id`", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["gift_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | Sim | ID de presente básico não colecionável, 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": ["Pagamentos"], "summary": "Obtenha presentes colecionáveis próprios » de um tipo específico que pode ser usado para elaboração ».", "description": "Obtenha [presentes colecionáveis »](https://core.telegram.org/api/gifts.md#collectible-gifts) próprios de um tipo específico que pode ser usado para [criar »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Presentes 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 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": "Digite TL: payments.SavedStarGifts."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `STARGIFT_INVALID` — O presente aprovado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do tipo de presente base, igual a [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`gift_id` do primeiro presente selecionado.", "x-tl-type": "long"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento para paginação."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["gift_id", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | Sim | Identificador do tipo de presente base, igual a [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`gift_id` do primeiro presente selecionado. |\n| `offset` | `string` | Sim | Deslocamento para paginação. |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Pagamentos"], "summary": "Crie um novo presente colecionável » combinando de 1 a 4 presentes colecionáveis do mesmo tipo de presente básico.", "description": "Crie um novo [presente colecionável »](https://core.telegram.org/api/gifts.md#collectible-gifts) combinando de 1 a 4 presentes colecionáveis do mesmo tipo de presente básico.\n\nTodos os presentes aprovados devem ter o mesmo [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`gift_id`, devem ser utilizáveis para fabricação e não devem ser bloqueados por um carimbo de data e hora `can_craft_at` futuro.\n\nO primeiro presente passado não deve ser [localizado na blockchain TON](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Presentes 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `SAVED_ID_EMPTY` — O inputSavedStarGiftChat.saved_id passado está vazio."}}, "externalDocs": {"description": "Documentação oficial do 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 TL: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "description": "1 a 4 presentes colecionáveis do mesmo tipo para usar na [criação »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts). O ID do primeiro presente é reutilizado se a elaboração for bem-sucedida."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stargift` | `Vector<InputSavedStarGift>` | Sim | 1 a 4 presentes colecionáveis do mesmo tipo para usar na [criação »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts). O ID do primeiro presente é reutilizado se a elaboração for bem-sucedida. |"}, "x-telegram-rpc-errors": ["SAVED_ID_EMPTY"], "x-browser-schema-id": "2969135183"}}, "/catalog/payments.getCurrencyRates": {"post": {"operationId": "payments.getCurrencyRates", "tags": ["Pagamentos"], "summary": "payments.getCurrencyRates", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3545859048"}}, "/catalog/payments.getOnrampProviders": {"post": {"operationId": "payments.getOnrampProviders", "tags": ["Pagamentos"], "summary": "payments.getOnrampProviders", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `string`."}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `crypto_currency` | `string` | Não | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1061028060"}}, "/catalog/payments.getOnrampBaseCurrencies": {"post": {"operationId": "payments.getOnrampBaseCurrencies", "tags": ["Pagamentos"], "summary": "payments.getOnrampBaseCurrencies", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `provider` | `string` | Sim | Valor do tipo TL `string`. |\n| `crypto_currency` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "478932467"}}, "/catalog/payments.getOnrampAvailability": {"post": {"operationId": "payments.getOnrampAvailability", "tags": ["Pagamentos"], "summary": "payments.getOnrampAvailability", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "base_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `provider` | `string` | Sim | Valor do tipo TL `string`. |\n| `crypto_currency` | `string` | Sim | Valor do tipo TL `string`. |\n| `base_currency` | `string` | Não | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "784505169"}}, "/catalog/payments.getOnrampLimits": {"post": {"operationId": "payments.getOnrampLimits", "tags": ["Pagamentos"], "summary": "payments.getOnrampLimits", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "base_currency": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "payment_method": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency", "base_currency"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `provider` | `string` | Sim | Valor do tipo TL `string`. |\n| `crypto_currency` | `string` | Sim | Valor do tipo TL `string`. |\n| `base_currency` | `string` | Sim | Valor do tipo TL `string`. |\n| `payment_method` | `string` | Não | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2162708989"}}, "/catalog/payments.getOnrampQuote": {"post": {"operationId": "payments.getOnrampQuote", "tags": ["Pagamentos"], "summary": "payments.getOnrampQuote", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "base_currency": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "base_amount": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor do tipo TL `string`."}, "crypto_amount": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Valor do tipo TL `string`."}, "payment_method": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency", "base_currency"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `provider` | `string` | Sim | Valor do tipo TL `string`. |\n| `crypto_currency` | `string` | Sim | Valor do tipo TL `string`. |\n| `base_currency` | `string` | Sim | Valor do tipo TL `string`. |\n| `base_amount` | `string` | Não | Valor do tipo TL `string`. |\n| `crypto_amount` | `string` | Não | Valor do tipo TL `string`. |\n| `payment_method` | `string` | Não | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3764798970"}}, "/catalog/payments.createOnrampSession": {"post": {"operationId": "payments.createOnrampSession", "tags": ["Pagamentos"], "summary": "payments.createOnrampSession", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "address": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "payment_method": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor do tipo TL `string`."}, "base_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Valor do tipo TL `string`."}, "base_amount": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Valor do tipo TL `string`."}, "memo": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Valor do tipo TL `string`."}, "theme": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string", "description": "Valor do tipo TL `string`."}, "success_return_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.5?string", "description": "Valor do tipo TL `string`."}, "fail_return_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.6?string", "description": "Valor do tipo TL `string`."}, "crypto_amount": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.7?string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency", "address"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `provider` | `string` | Sim | Valor do tipo TL `string`. |\n| `crypto_currency` | `string` | Sim | Valor do tipo TL `string`. |\n| `address` | `string` | Sim | Valor do tipo TL `string`. |\n| `payment_method` | `string` | Não | Valor do tipo TL `string`. |\n| `base_currency` | `string` | Não | Valor do tipo TL `string`. |\n| `base_amount` | `string` | Não | Valor do tipo TL `string`. |\n| `memo` | `string` | Não | Valor do tipo TL `string`. |\n| `theme` | `string` | Não | Valor do tipo TL `string`. |\n| `success_return_url` | `string` | Não | Valor do tipo TL `string`. |\n| `fail_return_url` | `string` | Não | Valor do tipo TL `string`. |\n| `crypto_amount` | `string` | Não | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2719579382"}}, "/catalog/payments.withdrawStarGift": {"post": {"operationId": "payments.withdrawStarGift", "tags": ["Pagamentos"], "summary": "payments.withdrawStarGift", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 do 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 TL: InputSavedStarGift."}, "tmp_password": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor do tipo TL `bytes`."}}, "additionalProperties": false, "required": ["stargift", "tmp_password"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `keep_on_profile` | `true` | Não | Valor do tipo TL `true`. |\n| `stargift` | `InputSavedStarGift` | Sim | Tipo TL: InputSavedStarGift. |\n| `tmp_password` | `bytes` | Sim | Valor do tipo TL `bytes`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3961532590"}}, "/catalog/payments.depositStarGift": {"post": {"operationId": "payments.depositStarGift", "tags": ["Pagamentos"], "summary": "payments.depositStarGift", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do 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 TL:InputPeer."}, "slug": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["peer", "slug"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hide_sender` | `true` | Não | Valor do tipo TL `true`. |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |\n| `slug` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3231902367"}}, "/catalog/payments.displayStarGift": {"post": {"operationId": "payments.displayStarGift", "tags": ["Pagamentos"], "summary": "payments.displayStarGift", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL:InputPeer.", "x-tl-flag": "flags.0?InputPeer"}, "slug": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Não | Tipo TL:InputPeer. |\n| `slug` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1252389118"}}, "/catalog/payments.deleteStarGift": {"post": {"operationId": "payments.deleteStarGift", "tags": ["Pagamentos"], "summary": "payments.deleteStarGift", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL: InputSavedStarGift."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | Sim | Tipo TL: InputSavedStarGift. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1020983466"}}, "/catalog/payments.withdrawStarsRevenueToWallet": {"post": {"operationId": "payments.withdrawStarsRevenueToWallet", "tags": ["Pagamentos"], "summary": "payments.withdrawStarsRevenueToWallet", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 do 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 TL:InputPeer."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "tmp_password": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor do tipo TL `bytes`."}}, "additionalProperties": false, "required": ["peer", "tmp_password"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `ton` | `true` | Não | Valor do tipo TL `true`. |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |\n| `amount` | `long` | Não | 64-битное целое в десятичной записи. |\n| `tmp_password` | `bytes` | Sim | Valor do tipo TL `bytes`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1461184265"}}, "/catalog/payments.buyStarGiftOnchain": {"post": {"operationId": "payments.buyStarGiftOnchain", "tags": ["Pagamentos"], "summary": "payments.buyStarGiftOnchain", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `true`."}, "slug": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "expected_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Tipo TL:InputPeer.", "x-tl-flag": "flags.0?InputPeer"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Tipo TL: TextWithEntities.", "x-tl-flag": "flags.1?TextWithEntities"}}, "additionalProperties": false, "required": ["slug", "expected_amount"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `show_name` | `true` | Não | Valor do tipo TL `true`. |\n| `slug` | `string` | Sim | Valor do tipo TL `string`. |\n| `expected_amount` | `long` | Sim | 64-битное целое в десятичной записи. |\n| `peer` | `InputPeer` | Não | Tipo TL:InputPeer. |\n| `message` | `TextWithEntities` | Não | Tipo TL: TextWithEntities. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1551278953"}}, "/catalog/payments.updateStarGiftOnchainPrice": {"post": {"operationId": "payments.updateStarGiftOnchainPrice", "tags": ["Pagamentos"], "summary": "payments.updateStarGiftOnchainPrice", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `string`."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["slug", "amount"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `slug` | `string` | Sim | Valor do tipo TL `string`. |\n| `amount` | `long` | Sim | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3259032527"}}, "/catalog/payments.cancelStarGiftOnchainSale": {"post": {"operationId": "payments.cancelStarGiftOnchainSale", "tags": ["Pagamentos"], "summary": "payments.cancelStarGiftOnchainSale", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `string`."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `slug` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2723105082"}}, "/catalog/payments.sendStarGiftOnchainOffer": {"post": {"operationId": "payments.sendStarGiftOnchainOffer", "tags": ["Pagamentos"], "summary": "payments.sendStarGiftOnchainOffer", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `string`."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["slug", "amount", "duration", "random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `slug` | `string` | Sim | Valor do tipo TL `string`. |\n| `amount` | `long` | Sim | 64-битное целое в десятичной записи. |\n| `duration` | `int` | Sim | Valor do tipo TL `int`. |\n| `random_id` | `long` | Sim | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3044905022"}}, "/catalog/payments.acceptStarGiftOnchainOffer": {"post": {"operationId": "payments.acceptStarGiftOnchainOffer", "tags": ["Pagamentos"], "summary": "payments.acceptStarGiftOnchainOffer", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `int`."}}, "additionalProperties": false, "required": ["offer_msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `offer_msg_id` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "4223311582"}}, "/catalog/payments.declineStarGiftOnchainOffer": {"post": {"operationId": "payments.declineStarGiftOnchainOffer", "tags": ["Pagamentos"], "summary": "payments.declineStarGiftOnchainOffer", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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: Atualizações."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"offer_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}}, "additionalProperties": false, "required": ["offer_msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `offer_msg_id` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1511098022"}}, "/catalog/payments.cancelStarGiftOnchainOffer": {"post": {"operationId": "payments.cancelStarGiftOnchainOffer", "tags": ["Pagamentos"], "summary": "payments.cancelStarGiftOnchainOffer", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `int`."}}, "additionalProperties": false, "required": ["offer_msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `offer_msg_id` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "470989500"}}, "/catalog/payments.getResaleStarGiftsMerged": {"post": {"operationId": "payments.getResaleStarGiftsMerged", "tags": ["Pagamentos"], "summary": "payments.getResaleStarGiftsMerged", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 MTProto · `payments.ResaleStarGifts`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.ResaleStarGifts", "oneOf": [{"$ref": "#/components/schemas/payments.resaleStarGifts"}], "description": "Digite 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 do tipo TL `true`."}, "sort_by_num": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Valor do tipo TL `true`."}, "sort_desc": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Valor do tipo TL `true`."}, "stars_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Valor do tipo TL `true`."}, "ton_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Valor do tipo TL `true`."}, "attributes_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "gift_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Valor do 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 TL: StarGiftAttributeId."}, "x-tl-type": "Vector<StarGiftAttributeId>", "x-tl-flag": "flags.3?Vector<StarGiftAttributeId>", "description": "Valor do tipo TL `Vector<StarGiftAttributeId>`."}, "query": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.7?string", "description": "Valor do tipo TL `string`."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}}, "additionalProperties": false, "required": ["gift_ids", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `sort_by_price` | `true` | Não | Valor do tipo TL `true`. |\n| `sort_by_num` | `true` | Não | Valor do tipo TL `true`. |\n| `sort_desc` | `true` | Não | Valor do tipo TL `true`. |\n| `stars_only` | `true` | Não | Valor do tipo TL `true`. |\n| `ton_only` | `true` | Não | Valor do tipo TL `true`. |\n| `attributes_hash` | `long` | Não | 64-битное целое в десятичной записи. |\n| `gift_ids` | `Vector<long>` | Sim | Valor do tipo TL `Vector<long>`. |\n| `attributes` | `Vector<StarGiftAttributeId>` | Não | Valor do tipo TL `Vector<StarGiftAttributeId>`. |\n| `query` | `string` | Não | Valor do tipo TL `string`. |\n| `offset` | `string` | Sim | Valor do tipo TL `string`. |\n| `limit` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1831727789"}}, "/catalog/stickers.createStickerSet": {"post": {"operationId": "stickers.createStickerSet", "tags": ["Adesivos"], "summary": "Crie um conjunto de adesivos.", "description": "Crie um conjunto de adesivos.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Links diretos](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 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": "### Erros MTProto (RPC)\n\n- 400 · `PACK_SHORT_NAME_INVALID` — Nome curto do pacote inválido.\n- 400 · `PACK_SHORT_NAME_OCCUPIED` — Já existe um pacote de adesivos com esse nome.\n- 400 · `PACK_TITLE_INVALID` — O título do pacote de adesivos é inválido.\n- 400 · `PACK_TYPE_INVALID` — As bandeiras de máscaras e emojis são mutuamente exclusivas.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `STICKERS_EMPTY` — Nenhum adesivo fornecido.\n- 400 · `STICKER_EMOJI_INVALID` — Emoji de adesivo inválido.\n- 400 · `STICKER_FILE_INVALID` — Arquivo de adesivo inválido.\n- 400 · `STICKER_GIF_DIMENSIONS` — O adesivo de vídeo especificado possui dimensões inválidas.\n- 400 · `STICKER_PNG_DIMENSIONS` — Dimensões png do adesivo inválidas.\n- 400 · `STICKER_PNG_NOPNG` — Um dos adesivos especificados não é um arquivo PNG válido.\n- 400 · `STICKER_TGS_NODOC` — Você deve enviar o adesivo animado como documento.\n- 400 · `STICKER_TGS_NOTGS` — Adesivo TGS fornecido inválido.\n- 400 · `STICKER_THUMB_PNG_NOPNG` — Arquivo de polegar do conjunto de adesivos incorreto fornecido, PNG / WEBP esperado.\n- 400 · `STICKER_THUMB_TGS_NOTGS` — Conjunto de adesivos incorreto TGS Arquivo miniatura fornecido.\n- 400 · `STICKER_VIDEO_BIG` — O adesivo de vídeo especificado é muito grande.\n- 400 · `STICKER_VIDEO_NODOC` — Você deve enviar o vídeo adesivo como documento.\n- 400 · `STICKER_VIDEO_NOWEBM` — O adesivo de vídeo especificado não está no formato webm.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se este é um conjunto de adesivos de máscara"}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Se este é um conjunto de adesivos [emoji](https://core.telegram.org/api/custom-emoji.md) personalizados."}, "text_color": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Se a cor dos TGS emojis personalizados contidos neste conjunto deve ser alterada para a cor do texto quando usado em mensagens, a cor de destaque se usada como status de emoji, branco em fotos de bate-papo ou outra cor apropriada com base no contexto. Apenas para conjuntos de adesivos 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": "Proprietário do conjunto de adesivos"}, "title": {"type": "string", "x-tl-type": "string", "description": "Nome do conjunto de adesivos, `1-64` caracteres"}, "short_name": {"type": "string", "x-tl-type": "string", "description": "Nome abreviado do conjunto de adesivos, para ser usado em [links diretos de adesivos »](https://core.telegram.org/api/links.md#stickerset-links). Pode conter apenas letras, dígitos e sublinhados em inglês. Deve começar com uma letra, não pode conter sublinhados consecutivos e, **se chamado por um bot**, deve terminar em `\"_by_<bot_username>\"`. `<bot_username>` não diferencia maiúsculas de 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 TL: InputStickerSetItem."}, "x-tl-type": "Vector<InputStickerSetItem>", "description": "Adesivos"}, "software": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Usado ao [importar adesivos usando os SDKs de importação de adesivos](https://core.telegram.org/import-stickers.md), especifica o nome do software que criou os adesivos"}}, "additionalProperties": false, "required": ["user_id", "title", "short_name", "stickers"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `masks` | `true` | Não | Se este é um conjunto de adesivos de máscara |\n| `emojis` | `true` | Não | Se este é um conjunto de adesivos [emoji](https://core.telegram.org/api/custom-emoji.md) personalizados. |\n| `text_color` | `true` | Não | Se a cor dos TGS emojis personalizados contidos neste conjunto deve ser alterada para a cor do texto quando usado em mensagens, a cor de destaque se usada como status de emoji, branco em fotos de bate-papo ou outra cor apropriada com base no contexto. Apenas para conjuntos de adesivos emoji personalizados. |\n| `user_id` | `InputUser` | Sim | Proprietário do conjunto de adesivos |\n| `title` | `string` | Sim | Nome do conjunto de adesivos, `1-64` caracteres |\n| `short_name` | `string` | Sim | Nome abreviado do conjunto de adesivos, para ser usado em [links diretos de adesivos »](https://core.telegram.org/api/links.md#stickerset-links). Pode conter apenas letras, dígitos e sublinhados em inglês. Deve começar com uma letra, não pode conter sublinhados consecutivos e, **se chamado por um bot**, deve terminar em `\"_by_<bot_username>\"`. `<bot_username>` não diferencia maiúsculas de minúsculas. 1-64 caracteres. |\n| `thumb` | `InputDocument` | Não | Miniatura |\n| `stickers` | `Vector<InputStickerSetItem>` | Sim | Adesivos |\n| `software` | `string` | Não | Usado ao [importar adesivos usando os SDKs de importação de adesivos](https://core.telegram.org/import-stickers.md), especifica o nome do software que criou os adesivos |"}, "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": ["Adesivos"], "summary": "Remova um adesivo do conjunto ao qual ele pertence. O conjunto de adesivos deve ter sido criado pelo usuário/bot atual.", "description": "Remova um adesivo do conjunto ao qual ele pertence. O conjunto de adesivos deve ter sido criado pelo usuário/bot atual.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `STICKER_INVALID` — O adesivo fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O adesivo para remover"}}, "additionalProperties": false, "required": ["sticker"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `sticker` | `InputDocument` | Sim | O adesivo para remover |"}, "x-telegram-rpc-errors": ["STICKER_INVALID"], "x-browser-schema-id": "4151709521"}}, "/catalog/stickers.changeStickerPosition": {"post": {"operationId": "stickers.changeStickerPosition", "tags": ["Adesivos"], "summary": "Altera a posição absoluta de um adesivo no conjunto ao qual pertence. O conjunto de adesivos deve ter sido criado pelo usuário/bot atual.", "description": "Altera a posição absoluta de um adesivo no conjunto ao qual pertence. O conjunto de adesivos deve ter sido criado pelo usuário/bot atual.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `STICKER_INVALID` — O adesivo fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O adesivo"}, "position": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "A nova posição do adesivo, baseada em zero"}}, "additionalProperties": false, "required": ["sticker", "position"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `sticker` | `InputDocument` | Sim | O adesivo |\n| `position` | `int` | Sim | A nova posição do adesivo, baseada em zero |"}, "x-telegram-rpc-errors": ["STICKER_INVALID"], "x-browser-schema-id": "4290172106"}}, "/catalog/stickers.addStickerToSet": {"post": {"operationId": "stickers.addStickerToSet", "tags": ["Adesivos"], "summary": "Adicione um adesivo a um conjunto de adesivos. O conjunto de adesivos deve ter sido criado pelo usuário/bot atual.", "description": "Adicione um adesivo a um conjunto de adesivos. O conjunto de adesivos deve ter sido criado pelo usuário/bot atual.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `STICKERPACK_STICKERS_TOO_MUCH` — Há muitos adesivos neste pacote de adesivos, você não pode adicionar mais.\n- 406 · `STICKERSET_INVALID` — O conjunto de adesivos fornecido é inválido.\n- 400 · `STICKERS_TOO_MUCH` — Há muitos adesivos neste pacote de adesivos, você não pode adicionar mais.\n- 400 · `STICKER_PNG_NOPNG` — Um dos adesivos especificados não é um arquivo PNG válido.\n- 400 · `STICKER_TGS_NOTGS` — Adesivo TGS fornecido inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O conjunto de adesivos"}, "sticker": {"type": "object", "x-tl-type": "InputStickerSetItem", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetItem"}], "description": "O adesivo"}}, "additionalProperties": false, "required": ["stickerset", "sticker"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | Sim | O conjunto de adesivos |\n| `sticker` | `InputStickerSetItem` | Sim | O adesivo |"}, "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": ["Adesivos"], "summary": "Definir miniatura do conjunto de adesivos", "description": "Definir miniatura do conjunto de adesivos\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação 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 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": "### Erros MTProto (RPC)\n\n- 400 · `STICKERSET_INVALID` — O conjunto de adesivos fornecido é inválido.\n- 400 · `STICKER_THUMB_PNG_NOPNG` — Arquivo de polegar do conjunto de adesivos incorreto fornecido, PNG / WEBP esperado.\n- 400 · `STICKER_THUMB_TGS_NOTGS` — Conjunto de adesivos incorreto TGS Arquivo miniatura fornecido."}}, "externalDocs": {"description": "Documentação oficial do 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 adesivos"}, "thumb": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Miniatura (apenas para conjuntos de adesivos normais, não para conjuntos de adesivos de emoji personalizados).", "x-tl-flag": "flags.0?InputDocument"}, "thumb_document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Apenas para [conjuntos de adesivos de emoji personalizados](https://core.telegram.org/api/custom-emoji.md), ID de um emoji personalizado presente no conjunto para usar como miniatura; passe 0 para retornar ao primeiro emoji personalizado do conjunto.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}}, "additionalProperties": false, "required": ["stickerset"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | Sim | Conjunto de adesivos |\n| `thumb` | `InputDocument` | Não | Miniatura (apenas para conjuntos de adesivos normais, não para conjuntos de adesivos de emoji personalizados). |\n| `thumb_document_id` | `long` | Não | Apenas para [conjuntos de adesivos de emoji personalizados](https://core.telegram.org/api/custom-emoji.md), ID de um emoji personalizado presente no conjunto para usar como miniatura; passe 0 para retornar ao primeiro emoji personalizado do 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": ["Adesivos"], "summary": "Verifique se o nome abreviado fornecido está disponível", "description": "Verifique se o nome abreviado fornecido está disponível\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `SHORT_NAME_INVALID` — O nome abreviado especificado é inválido.\n- 400 · `SHORT_NAME_OCCUPIED` — O nome abreviado especificado já está em uso."}}, "externalDocs": {"description": "Documentação oficial do 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": "Nome curto"}}, "additionalProperties": false, "required": ["short_name"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `short_name` | `string` | Sim | Nome curto |"}, "x-telegram-rpc-errors": ["SHORT_NAME_INVALID", "SHORT_NAME_OCCUPIED"], "x-browser-schema-id": "676017721"}}, "/catalog/stickers.suggestShortName": {"post": {"operationId": "stickers.suggestShortName", "tags": ["Adesivos"], "summary": "Sugere um nome abreviado para um determinado nome de pacote de adesivos", "description": "Sugere um nome abreviado para um determinado nome de pacote de adesivos\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: stickers.SuggestedShortName."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `TITLE_INVALID` — O título do pacote de adesivos especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Nome do pacote de adesivos"}}, "additionalProperties": false, "required": ["title"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `title` | `string` | Sim | Nome do pacote de adesivos |"}, "x-telegram-rpc-errors": ["TITLE_INVALID"], "x-browser-schema-id": "1303364867"}}, "/catalog/stickers.changeSticker": {"post": {"operationId": "stickers.changeSticker", "tags": ["Adesivos"], "summary": "Atualize as palavras-chave, emojis ou coordenadas de máscara de um adesivo.", "description": "Atualize as palavras-chave, emojis ou [coordenadas da máscara](https://core.telegram.org/api/stickers.md#mask-stickers) de um adesivo.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Adesivos e 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 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": "### Erros MTProto (RPC)\n\n- 400 · `STICKER_INVALID` — O adesivo fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O adesivo"}, "emoji": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Se definido, atualiza a lista de emojis associada ao adesivo"}, "mask_coords": {"type": "object", "x-tl-type": "MaskCoords", "oneOf": [{"$ref": "#/components/schemas/maskCoords"}], "description": "Se definido, atualiza as [coordenadas da 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": "Se definido, atualiza as palavras-chave dos adesivos (separadas por vírgulas). Não pode ser fornecido para adesivos de máscara."}}, "additionalProperties": false, "required": ["sticker"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `sticker` | `InputDocument` | Sim | O adesivo |\n| `emoji` | `string` | Não | Se definido, atualiza a lista de emojis associada ao adesivo |\n| `mask_coords` | `MaskCoords` | Não | Se definido, atualiza as [coordenadas da máscara](https://core.telegram.org/api/stickers.md#mask-stickers) |\n| `keywords` | `string` | Não | Se definido, atualiza as palavras-chave dos adesivos (separadas por vírgulas). Não pode ser fornecido para adesivos de máscara. |"}, "x-telegram-rpc-errors": ["STICKER_INVALID"], "x-browser-schema-id": "4115889852"}}, "/catalog/stickers.renameStickerSet": {"post": {"operationId": "stickers.renameStickerSet", "tags": ["Adesivos"], "summary": "Renomeia um conjunto de adesivos.", "description": "Renomeia um conjunto de adesivos.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `STICKERSET_INVALID` — O conjunto de adesivos fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 adesivos para renomear"}, "title": {"type": "string", "x-tl-type": "string", "description": "Novo título do conjunto de adesivos"}}, "additionalProperties": false, "required": ["stickerset", "title"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | Sim | Conjunto de adesivos para renomear |\n| `title` | `string` | Sim | Novo título do conjunto de adesivos |"}, "x-telegram-rpc-errors": ["STICKERSET_INVALID"], "x-browser-schema-id": "306912256"}}, "/catalog/stickers.deleteStickerSet": {"post": {"operationId": "stickers.deleteStickerSet", "tags": ["Adesivos"], "summary": "Exclui um conjunto de adesivos que criamos.", "description": "Exclui um conjunto de adesivos que criamos.\n\n**Quem pode chamar esse método** · Usuários e bots do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `STICKERSET_INVALID` — O conjunto de adesivos fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 adesivos para excluir"}}, "additionalProperties": false, "required": ["stickerset"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | Sim | Conjunto de adesivos para excluir |"}, "x-telegram-rpc-errors": ["STICKERSET_INVALID"], "x-browser-schema-id": "2272281492"}}, "/catalog/stickers.replaceSticker": {"post": {"operationId": "stickers.replaceSticker", "tags": ["Adesivos"], "summary": "Substitua um adesivo em um conjunto de adesivos ».", "description": "Substitua um adesivo em um [conjunto de adesivos »](https://core.telegram.org/api/stickers.md).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Adesivos e 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 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": "### Erros MTProto (RPC)\n\n- 400 · `STICKER_INVALID` — O adesivo fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Documento de adesivo antigo."}, "new_sticker": {"type": "object", "x-tl-type": "InputStickerSetItem", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetItem"}], "description": "Novo adesivo."}}, "additionalProperties": false, "required": ["sticker", "new_sticker"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `sticker` | `InputDocument` | Sim | Documento de adesivo antigo. |\n| `new_sticker` | `InputStickerSetItem` | Sim | Novo adesivo. |"}, "x-telegram-rpc-errors": ["STICKER_INVALID"], "x-browser-schema-id": "1184253338"}}, "/catalog/phone.getCallConfig": {"post": {"operationId": "phone.getCallConfig", "tags": ["Chamadas"], "summary": "DEPRECATED: Faça com que a configuração da chamada telefônica seja passada para a configuração compartilhada da libtgvoip (obsoleta).", "description": "DEPRECATED: Faça com que a configuração da chamada telefônica seja passada para a configuração compartilhada da 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 MTProto · `DataJSON`.\n\n[DadosJSON](https://core.telegram.org/type/DataJSON.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Tipo TL: DataJSON."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/phone.getCallConfig"}, "x-browser-schema-id": "1430593449"}}, "/catalog/phone.requestCall": {"post": {"operationId": "phone.requestCall", "tags": ["Chamadas"], "summary": "Inicie uma ligação por telegrama, veja aqui » para mais informações sobre o fluxo completo.", "description": "Inicie uma ligação por telegrama, veja [aqui »](https://core.telegram.org/api/calls.md#one-to-one-calls) para mais informações sobre o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Chamadas de voz criptografadas de ponta a ponta](https://core.telegram.org/api/end-to-end/voice-calls.md)\n- [Chamadas telefônicas](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CALL_PROTOCOL_FLAGS_INVALID` — Sinalizadores de protocolo de chamada inválidos.\n- 400 · `CALL_PROTOCOL_LAYER_INVALID` — O intervalo de versão da camada de protocolo especificado é inválido.\n- 400 · `INPUT_USER_DEACTIVATED` — O usuário especificado foi excluído.\n- 400 · `PARTICIPANT_VERSION_OUTDATED` — O outro participante não utiliza cliente de telegrama atualizado e com suporte para chamadas.\n- 500 · `RANDOM_ID_DUPLICATE` — Você forneceu um ID aleatório que já foi usado.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido.\n- 403 · `USER_IS_BLOCKED` — Você foi bloqueado por este usuário.\n- 403 · `USER_PRIVACY_RESTRICTED` — As configurações de privacidade do usuário não permitem que você faça isso."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve iniciar uma videochamada"}, "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 da chamada"}, "random_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID aleatório para evitar o reenvio do mesmo objeto. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID."}, "g_a_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Parâmetro para troca de chave de criptografia E2E »](https://core.telegram.org/api/end-to-end/voice-calls.md)"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "oneOf": [{"$ref": "#/components/schemas/phoneCallProtocol"}], "description": "Configurações de chamada telefônica"}}, "additionalProperties": false, "required": ["user_id", "random_id", "g_a_hash", "protocol"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `video` | `true` | Não | Se deve iniciar uma videochamada |\n| `user_id` | `InputUser` | Sim | Destino da chamada |\n| `random_id` | `int` | Sim | ID aleatório para evitar o reenvio do mesmo objeto. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID. |\n| `g_a_hash` | `bytes` | Sim | [Parâmetro para troca de chave de criptografia E2E »](https://core.telegram.org/api/end-to-end/voice-calls.md) |\n| `protocol` | `PhoneCallProtocol` | Sim | Configurações de chamada telefônica |"}, "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": ["Chamadas"], "summary": "Aceitar chamada recebida, veja aqui » para mais informações sobre o fluxo completo.", "description": "Aceitar chamada recebida, veja [aqui »](https://core.telegram.org/api/calls.md#one-to-one-calls) para mais informações sobre o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas de voz criptografadas de ponta a ponta](https://core.telegram.org/api/end-to-end/voice-calls.md)\n- [Chamadas telefônicas](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CALL_ALREADY_ACCEPTED` — A ligação já foi aceita.\n- 400 · `CALL_ALREADY_DECLINED` — A chamada já foi recusada.\n- 500 · `CALL_OCCUPY_FAILED` — A chamada falhou porque o usuário já está fazendo outra chamada.\n- 400 · `CALL_PEER_INVALID` — O objeto peer de chamada fornecido é inválido.\n- 406 · `CALL_PROTOCOL_COMPAT_LAYER_INVALID` — O outro lado da chamada não suporta nenhum dos protocolos VoIP suportados pelo cliente local, conforme especificado nos campos `protocol.layer` e `protocol.library_versions`.\n- 400 · `CALL_PROTOCOL_FLAGS_INVALID` — Sinalizadores de protocolo de chamada inválidos.\n- 400 · `CALL_PROTOCOL_LAYER_INVALID` — O intervalo de versão da camada de protocolo especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O chamado para aceitar"}, "g_b": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Parâmetro para troca de chave de criptografia E2E »](https://core.telegram.org/api/end-to-end/voice-calls.md)"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "oneOf": [{"$ref": "#/components/schemas/phoneCallProtocol"}], "description": "Configurações de chamada telefônica"}}, "additionalProperties": false, "required": ["peer", "g_b", "protocol"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | Sim | O chamado para aceitar |\n| `g_b` | `bytes` | Sim | [Parâmetro para troca de chave de criptografia E2E »](https://core.telegram.org/api/end-to-end/voice-calls.md) |\n| `protocol` | `PhoneCallProtocol` | Sim | Configurações de chamada telefônica |"}, "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": ["Chamadas"], "summary": "Chamada telefônica completa E2E troca de chave de criptografia », veja aqui » para mais informações sobre o fluxo completo.", "description": "[Chamada telefônica completa E2E troca de chave de criptografia »](https://core.telegram.org/api/end-to-end/voice-calls.md), veja [aqui »](https://core.telegram.org/api/calls.md#one-to-one-calls) para obter mais informações sobre o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas de voz criptografadas de ponta a ponta](https://core.telegram.org/api/end-to-end/voice-calls.md)\n- [Chamadas telefônicas](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CALL_ALREADY_DECLINED` — A chamada já foi recusada.\n- 400 · `CALL_PEER_INVALID` — O objeto peer de chamada fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O telefonema"}, "g_a": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Parâmetro para troca de chave de criptografia E2E »](https://core.telegram.org/api/end-to-end/voice-calls.md)"}, "key_fingerprint": {"type": "string", "pattern": "^-?\\d+$", "description": "Impressão digital chave", "x-tl-type": "long"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "oneOf": [{"$ref": "#/components/schemas/phoneCallProtocol"}], "description": "Configurações de chamada telefônica"}}, "additionalProperties": false, "required": ["peer", "g_a", "key_fingerprint", "protocol"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | Sim | O telefonema |\n| `g_a` | `bytes` | Sim | [Parâmetro para troca de chave de criptografia E2E »](https://core.telegram.org/api/end-to-end/voice-calls.md) |\n| `key_fingerprint` | `long` | Sim | Impressão digital chave |\n| `protocol` | `PhoneCallProtocol` | Sim | Configurações de chamada telefônica |"}, "x-telegram-rpc-errors": ["CALL_ALREADY_DECLINED", "CALL_PEER_INVALID"], "x-browser-schema-id": "788404002"}}, "/catalog/phone.receivedCall": {"post": {"operationId": "phone.receivedCall", "tags": ["Chamadas"], "summary": "Opcional: notifique o servidor que o usuário está ocupado em uma chamada: isso recusará automaticamente todas as chamadas recebidas até que a chamada atual seja encerrada, veja aqui » para mais informações sobre o fluxo completo.", "description": "Opcional: notifique o servidor que o usuário está ocupado em uma chamada: isso recusará automaticamente todas as chamadas recebidas até que a chamada atual seja finalizada, veja [aqui »](https://core.telegram.org/api/calls.md#one-to-one-calls) para mais informações sobre o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas telefônicas](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CALL_ALREADY_DECLINED` — A chamada já foi recusada.\n- 400 · `CALL_PEER_INVALID` — O objeto peer de chamada fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O telefonema em que estamos atualmente"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | Sim | O telefonema em que estamos atualmente |"}, "x-telegram-rpc-errors": ["CALL_ALREADY_DECLINED", "CALL_PEER_INVALID"], "x-browser-schema-id": "399855457"}}, "/catalog/phone.discardCall": {"post": {"operationId": "phone.discardCall", "tags": ["Chamadas"], "summary": "Recuse ou encerre a chamada em execução, veja aqui » para mais informações sobre o fluxo completo.", "description": "Recuse ou encerre a chamada em execução, consulte [aqui »](https://core.telegram.org/api/calls.md#one-to-one-calls) para obter mais informações sobre o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas telefônicas](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CALL_ALREADY_ACCEPTED` — A ligação já foi aceita.\n- 500 · `CALL_OCCUPY_FAILED` — A chamada falhou porque o usuário já está fazendo outra chamada.\n- 400 · `CALL_PEER_INVALID` — O objeto peer de chamada fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Quer seja uma videochamada"}, "peer": {"type": "object", "x-tl-type": "InputPhoneCall", "oneOf": [{"$ref": "#/components/schemas/inputPhoneCall"}], "description": "O telefonema"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duração da chamada"}, "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 que a chamada foi descartada"}, "connection_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de retransmissão libtgvoip preferencial", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "duration", "reason", "connection_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `video` | `true` | Não | Quer seja uma videochamada |\n| `peer` | `InputPhoneCall` | Sim | O telefonema |\n| `duration` | `int` | Sim | Duração da chamada |\n| `reason` | `PhoneCallDiscardReason` | Sim | Por que a chamada foi descartada |\n| `connection_id` | `long` | Sim | ID de retransmissão libtgvoip preferencial |"}, "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": ["Chamadas"], "summary": "Avaliar uma chamada, retorna informações sobre a mensagem de classificação enviada ao bot VoIP oficial, veja aqui » para mais informações sobre o fluxo completo.", "description": "Avaliar uma chamada, retorna informações sobre a mensagem de classificação enviada ao bot VoIP oficial, veja [aqui »](https://core.telegram.org/api/calls.md#call-rating) para mais informações sobre o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas telefônicas](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CALL_PEER_INVALID` — O objeto peer de chamada fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 o usuário decidiu por iniciativa própria avaliar a chamada, NOT deve ser definido se a classificação foi solicitada pelo servidor com [phoneCallDiscarded](https://core.telegram.org/constructor/phoneCallDiscarded.md).`need_rating`."}, "peer": {"type": "object", "x-tl-type": "InputPhoneCall", "oneOf": [{"$ref": "#/components/schemas/inputPhoneCall"}], "description": "A chamada para avaliar"}, "rating": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Classificação em `1-5` estrelas"}, "comment": {"type": "string", "x-tl-type": "string", "description": "Um comentário adicional com hashtags problemáticas, veja [aqui »](https://core.telegram.org/api/calls.md#call-rating) para mais informações sobre o fluxo completo."}}, "additionalProperties": false, "required": ["peer", "rating", "comment"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `user_initiative` | `true` | Não | Se o usuário decidiu por iniciativa própria avaliar a chamada, NOT deve ser definido se a classificação foi solicitada pelo servidor com [phoneCallDiscarded](https://core.telegram.org/constructor/phoneCallDiscarded.md).`need_rating`. |\n| `peer` | `InputPhoneCall` | Sim | A chamada para avaliar |\n| `rating` | `int` | Sim | Classificação em `1-5` estrelas |\n| `comment` | `string` | Sim | Um comentário adicional com hashtags problemáticas, veja [aqui »](https://core.telegram.org/api/calls.md#call-rating) para mais informações sobre o fluxo completo. |"}, "x-telegram-rpc-errors": ["CALL_PEER_INVALID"], "x-browser-schema-id": "1508562471"}}, "/catalog/phone.saveCallDebug": {"post": {"operationId": "phone.saveCallDebug", "tags": ["Chamadas"], "summary": "Envie dados de depuração de chamadas telefônicas para o servidor.", "description": "Envie [telefonema](https://core.telegram.org/api/calls.md#call-debug) dados de depuração para o servidor.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas telefônicas](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CALL_PEER_INVALID` — O objeto peer de chamada fornecido é inválido.\n- 400 · `DATA_JSON_INVALID` — Os dados JSON fornecidos são inválidos."}}, "externalDocs": {"description": "Documentação oficial do 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": "Chamada telefônica"}, "debug": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Estatísticas de depuração obtidas de tgcalls"}}, "additionalProperties": false, "required": ["peer", "debug"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | Sim | Chamada telefônica |\n| `debug` | `DataJSON` | Sim | Estatísticas de depuração obtidas 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": ["Chamadas"], "summary": "Envie dados de sinalização VoIP para uma chamada telefônica em andamento.", "description": "Envie VoIP [dados de sinalização](https://core.telegram.org/api/calls.md#signaling-data) para uma chamada telefônica em andamento.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas telefônicas](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CALL_NOT_ACTIVE` — A chamada especificada não está ativa.\n- 400 · `CALL_PEER_INVALID` — O objeto peer de chamada fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Chamada telefônica"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Carga útil de sinalização"}}, "additionalProperties": false, "required": ["peer", "data"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | Sim | Chamada telefônica |\n| `data` | `bytes` | Sim | Carga útil de sinalização |"}, "x-telegram-rpc-errors": ["CALL_NOT_ACTIVE", "CALL_PEER_INVALID"], "x-browser-schema-id": "4286223235"}}, "/catalog/phone.createGroupCall": {"post": {"operationId": "phone.createGroupCall", "tags": ["Chamadas"], "summary": "Crie um chat de vídeo ou transmissão ao vivo, veja aqui » para ver o fluxo completo.", "description": "Crie um chat de vídeo ou transmissão ao vivo, veja [aqui »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) para ver o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](https://core.telegram.org/api/group-calls.md)\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Trabalhando com atualizações](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `CREATE_CALL_FAILED` — Ocorreu um erro ao criar a chamada.\n- 400 · `GROUPCALL_ALREADY_DISCARDED` — A chamada em grupo já foi descartada.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `SCHEDULE_DATE_INVALID` — Data de programação inválida fornecida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Crie a chamada no [RTMP modo de transmissão ao vivo »](https://core.telegram.org/api/group-calls.md#stream-mode), onde um streamer externo publica todo o áudio e vídeo"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Associe a chamada em grupo ou transmissão ao vivo ao [grupo/supergrupo/canal](https://core.telegram.org/api/channel.md) fornecido"}, "random_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "É necessário um ID de mensagem de cliente exclusivo para evitar a criação de chamadas de grupo duplicadas. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID."}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Título da chamada, se não for definido, o padrão é o nome do grupo/canal."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Data agendada, no mínimo 10 segundos e no máximo 8 dias no futuro; a chamada ainda deve ser iniciada manualmente usando [phone.startScheduledGroupCall](https://core.telegram.org/method/phone.startScheduledGroupCall.md)"}}, "additionalProperties": false, "required": ["peer", "random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `rtmp_stream` | `true` | Não | Crie a chamada no [RTMP modo de transmissão ao vivo »](https://core.telegram.org/api/group-calls.md#stream-mode), onde um streamer externo publica todo o áudio e vídeo |\n| `peer` | `InputPeer` | Sim | Associe a chamada em grupo ou transmissão ao vivo ao [grupo/supergrupo/canal](https://core.telegram.org/api/channel.md) fornecido |\n| `random_id` | `int` | Sim | É necessário um ID de mensagem de cliente exclusivo para evitar a criação de chamadas de grupo duplicadas. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID. |\n| `title` | `string` | Não | Título da chamada, se não for definido, o padrão é o nome do grupo/canal. |\n| `schedule_date` | `int` | Não | Data agendada, no mínimo 10 segundos e no máximo 8 dias no futuro; a chamada ainda deve ser iniciada 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": ["Chamadas"], "summary": "Participe de qualquer tipo de chamada em grupo ». As teleconferências também exigem o fluxo de adesão E2E ».", "description": "Participe de qualquer [tipo de chamada em grupo »](https://core.telegram.org/api/group-calls.md#group-call-types). As teleconferências também exigem o [E2E fluxo de adesão »](https://core.telegram.org/api/end-to-end/group-calls.md#joining-a-call).\n\nO campo `params` deve conter uma carga útil de junção gerada pelo mecanismo de chamada de grupo local tgcalls. Ele contém um áudio aleatório diferente de zero `ssrc`, ICE `ufrag` e `pwd`, DTLS `fingerprints` e, ao publicar vídeo, `ssrc-groups`.\n\nPor exemplo, uma carga útil de junção sem vídeo publicado tem o seguinte formato:\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](https://core.telegram.org/api/group-calls.md)\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [E2E Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Você não pode escrever neste chat.\n- 400 · `DATA_JSON_INVALID` — Os dados JSON fornecidos são inválidos.\n- 403 · `GROUPCALL_FORBIDDEN` — A chamada de grupo especificada não pode ser usada neste contexto.\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida.\n- 400 · `GROUPCALL_SSRC_DUPLICATE_MUCH` — O aplicativo precisa tentar ingressar novamente na chamada em grupo com um novo valor SSRC.\n- 400 · `JOIN_AS_PEER_INVALID` — O par especificado não pode ser usado para ingressar em uma chamada em grupo.\n- 400 · `PUBLIC_KEY_INVALID` — A chave pública e2e especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Junte-se silenciado; obrigatório para ouvintes de histórias ao vivo e espectadores no modo RTMP"}, "video_stopped": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Participe com vídeo desativado; obrigatório para ouvintes de histórias ao vivo e espectadores no modo RTMP"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Chamada em grupo para participar"}, "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": "Junte-se à chamada em grupo, apresentando-se como o usuário/canal especificado; esse par também é usado como autor de mensagens de chamada em chats de vídeo/transmissões ao vivo normais. Apenas chats de vídeo/transmissões ao vivo podem usar outro par; este campo deve ser igual a [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) ao ingressar em [histórias ao vivo »](https://core.telegram.org/api/group-calls.md#live-stories) ou [chamadas em conferência »](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": "O hash de convite do [link de convite »](https://core.telegram.org/api/links.md#video-chat-livestream-links), se fornecido, permite falar em uma transmissão ao vivo ou chamada em grupo silenciada (apenas [chats de vídeo/transmissões ao vivo »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams), não pode ser usado por [histórias ao vivo »](https://core.telegram.org/api/group-calls.md#live-stories) ou [chamadas de conferência »](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": "Apenas para [chamadas em conferência »](https://core.telegram.org/api/group-calls.md#conference-calls), sua chave pública."}, "block": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.3?bytes", "description": "O [bloco da cadeia principal que adiciona o usuário ingressante »](https://core.telegram.org/api/end-to-end/group-calls.md#joining-a-call), apenas para [chamadas em conferência »](https://core.telegram.org/api/group-calls.md#conference-calls)."}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Junte-se à carga útil gerada pelo mecanismo de chamada de grupo local tgcalls, conforme descrito acima"}}, "additionalProperties": false, "required": ["call", "join_as", "params"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `muted` | `true` | Não | Junte-se silenciado; obrigatório para ouvintes de histórias ao vivo e espectadores no modo RTMP |\n| `video_stopped` | `true` | Não | Participe com vídeo desativado; obrigatório para ouvintes de histórias ao vivo e espectadores no modo RTMP |\n| `call` | `InputGroupCall` | Sim | Chamada em grupo para participar |\n| `join_as` | `InputPeer` | Sim | Junte-se à chamada em grupo, apresentando-se como o usuário/canal especificado; esse par também é usado como autor de mensagens de chamada em chats de vídeo/transmissões ao vivo normais. Apenas chats de vídeo/transmissões ao vivo podem usar outro par; este campo deve ser igual a [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) ao ingressar em [histórias ao vivo »](https://core.telegram.org/api/group-calls.md#live-stories) ou [chamadas em conferência »](https://core.telegram.org/api/group-calls.md#conference-calls). |\n| `invite_hash` | `string` | Não | O hash de convite do [link de convite »](https://core.telegram.org/api/links.md#video-chat-livestream-links), se fornecido, permite falar em uma transmissão ao vivo ou chamada em grupo silenciada (apenas [chats de vídeo/transmissões ao vivo »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams), não pode ser usado por [histórias ao vivo »](https://core.telegram.org/api/group-calls.md#live-stories) ou [chamadas de conferência »](https://core.telegram.org/api/group-calls.md#conference-calls)). |\n| `public_key` | `int256` | Não | Apenas para [chamadas em conferência »](https://core.telegram.org/api/group-calls.md#conference-calls), sua chave pública. |\n| `block` | `bytes` | Não | O [bloco da cadeia principal que adiciona o usuário ingressante »](https://core.telegram.org/api/end-to-end/group-calls.md#joining-a-call), apenas para [chamadas em conferência »](https://core.telegram.org/api/group-calls.md#conference-calls). |\n| `params` | `DataJSON` | Sim | Junte-se à carga útil gerada pelo mecanismo de chamada de grupo local tgcalls, conforme descrito acima |"}, "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": ["Chamadas"], "summary": "Saia de uma chamada em grupo sem encerrá-la para os outros participantes. Este método pode ser usado com todos os tipos de chamadas em grupo, veja aqui » para mais informações.", "description": "Saia de uma chamada em grupo sem encerrá-la para os outros participantes. Este método pode ser usado com todos os tipos de chamadas em grupo, veja [aqui »](https://core.telegram.org/api/group-calls.md#managing-an-active-group-call) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Chamada em grupo para sair"}, "source": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de origem do fluxo de chamada em grupo principal"}}, "additionalProperties": false, "required": ["call", "source"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Chamada em grupo para sair |\n| `source` | `int` | Sim | ID de origem do fluxo de chamada em grupo principal |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "1342404601"}}, "/catalog/phone.inviteToGroupCall": {"post": {"operationId": "phone.inviteToGroupCall", "tags": ["Chamadas"], "summary": "Convidar um conjunto de usuários para um chat de vídeo/transmissão ao vivo »; não pode ser usado para histórias ao vivo » ou teleconferências ».", "description": "Convide um conjunto de usuários para um [bate-papo por vídeo/transmissão ao vivo »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams); não pode ser usado para [histórias ao vivo »](https://core.telegram.org/api/group-calls.md#live-stories) ou [chamadas em conferência »](https://core.telegram.org/api/group-calls.md#conference-calls).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `CHAT_TYPE_INVALID` — O tipo de usuário especificado é inválido.\n- 403 · `GROUPCALL_FORBIDDEN` — A chamada de grupo especificada não pode ser usada neste contexto.\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida.\n- 400 · `INVITE_FORBIDDEN_WITH_JOINAS` — Se o usuário ingressou anonimamente em uma chamada em grupo como um canal, ele não poderá convidar outros usuários para a chamada em grupo porque isso causaria a desanonimização, porque o convite seria enviado usando o ID do usuário original, não o ID do canal anônimo.\n- 400 · `USER_ALREADY_INVITED` — Você já convidou este usuário.\n- 403 · `USER_NOT_PARTICIPANT` — Você não é membro deste supergrupo/canal."}}, "externalDocs": {"description": "Documentação oficial do 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": "O [bate-papo por vídeo/transmissão ao 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 TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Os usuários a serem convidados."}}, "additionalProperties": false, "required": ["call", "users"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | O [bate-papo por vídeo/transmissão ao vivo »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) |\n| `users` | `Vector<InputUser>` | Sim | Os usuários a serem convidados. |"}, "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": ["Chamadas"], "summary": "Encerre uma chamada em grupo, encerrando a sala para todos os participantes. Este método pode ser usado com todos os tipos de chamadas em grupo, veja aqui » para mais informações.", "description": "Encerre uma chamada em grupo, encerrando a sala para todos os participantes. Este método pode ser usado com todos os tipos de chamadas em grupo, veja [aqui »](https://core.telegram.org/api/group-calls.md#managing-an-active-group-call) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_ALREADY_DISCARDED` — A chamada em grupo já foi descartada.\n- 403 · `GROUPCALL_FORBIDDEN` — A chamada de grupo especificada não pode ser usada neste contexto.\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "A chamada de grupo a ser encerrada"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | A chamada de grupo a ser encerrada |"}, "x-telegram-rpc-errors": ["GROUPCALL_ALREADY_DISCARDED", "GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID"], "x-browser-schema-id": "2054648117"}}, "/catalog/phone.toggleGroupCallSettings": {"post": {"operationId": "phone.toggleGroupCallSettings", "tags": ["Chamadas"], "summary": "Altere as configurações de chamada em grupo. Cada configuração suporta diferentes tipos de chamadas em grupo, veja aqui » para mais informações.", "description": "Altere as configurações de chamada em grupo. Cada configuração suporta diferentes tipos de chamadas em grupo, consulte [aqui »](https://core.telegram.org/api/group-calls.md#managing-an-active-group-call) para obter mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `GROUPCALL_CHANGE_FORBIDDEN` — Você não pode alterar esta configuração de chamada em grupo.\n- 403 · `GROUPCALL_FORBIDDEN` — A chamada de grupo especificada não pode ser usada neste contexto.\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida.\n- 400 · `GROUPCALL_NOT_MODIFIED` — As configurações de chamada em grupo não foram modificadas."}}, "externalDocs": {"description": "Documentação oficial do 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 links de convite existentes para chats de vídeo, transmissões ao vivo e conferências"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Chamada em grupo cujas configurações devem ser alteradas"}, "join_muted": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Se os usuários que participam de um chat de vídeo/transmissão ao vivo que não seja RTMP devem ser silenciados por padrão"}, "messages_enabled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "Ative ou desative a sobreposição de mensagens durante a chamada em chats de vídeo/transmissões ao vivo, conferências e histórias ao vivo, inclusive no modo RTMP"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Defina a doação mínima de Telegram Stars exigida de usuários que não sejam o proprietário da história ao vivo para cada comentário; o proprietário sempre pode comentar sem doar e `0` permite comentários gratuitos para todos", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `reset_invite_hash` | `true` | Não | Invalidar links de convite existentes para chats de vídeo, transmissões ao vivo e conferências |\n| `call` | `InputGroupCall` | Sim | Chamada em grupo cujas configurações devem ser alteradas |\n| `join_muted` | `Bool` | Não | Se os usuários que participam de um chat de vídeo/transmissão ao vivo que não seja RTMP devem ser silenciados por padrão |\n| `messages_enabled` | `Bool` | Não | Ative ou desative a sobreposição de mensagens durante a chamada em chats de vídeo/transmissões ao vivo, conferências e histórias ao vivo, inclusive no modo RTMP |\n| `send_paid_messages_stars` | `long` | Não | Defina a doação mínima de Telegram Stars exigida de usuários que não sejam o proprietário da história ao vivo para cada comentário; o proprietário sempre pode comentar sem doar e `0` permite comentários 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": ["Chamadas"], "summary": "Obtenha informações sobre uma chamada em grupo e seus participantes.", "description": "Obtenha informações sobre uma [chamada em grupo](https://core.telegram.org/api/group-calls.md#getting-info-about-a-group-call) e seus participantes.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 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": "### Erros MTProto (RPC)\n\n- 403 · `GROUPCALL_FORBIDDEN` — A chamada de grupo especificada não pode ser usada neste contexto.\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Chamada em grupo de qualquer tipo para buscar"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de participantes a serem retornados nesta chamada (0 para retornar uma quantidade definida pelo servidor).  Se o número de participantes retornados for menor que [groupCall](https://core.telegram.org/constructor/groupCall.md).`participants_count`, paginar pelos participantes restantes usando [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md), passando para `offset` o [phone.groupCall](https://core.telegram.org/constructor/phone.groupCall.md).`participants_next_offset` retornado por esta chamada.  Este parâmetro se comporta de maneira diferente em comparação com `limit` de [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md), veja [aqui »](https://core.telegram.org/api/group-calls.md#getting-info-about-a-group-call) para mais informações."}}, "additionalProperties": false, "required": ["call", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Chamada em grupo de qualquer tipo para buscar |\n| `limit` | `int` | Sim | Número máximo de participantes a serem retornados nesta chamada (0 para retornar uma quantidade definida pelo servidor).  Se o número de participantes retornados for menor que [groupCall](https://core.telegram.org/constructor/groupCall.md).`participants_count`, paginar pelos participantes restantes usando [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md), passando para `offset` o [phone.groupCall](https://core.telegram.org/constructor/phone.groupCall.md).`participants_next_offset` retornado por esta chamada.  Este parâmetro se comporta de maneira diferente em comparação com `limit` de [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md), veja [aqui »](https://core.telegram.org/api/group-calls.md#getting-info-about-a-group-call) para mais informações. |"}, "x-telegram-rpc-errors": ["GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID"], "x-browser-schema-id": "68699611"}}, "/catalog/phone.getGroupParticipants": {"post": {"operationId": "phone.getGroupParticipants", "tags": ["Chamadas"], "summary": "Obtenha participantes de chamadas em grupo.", "description": "Obtenha [chamada em grupo](https://core.telegram.org/api/group-calls.md#getting-info-about-a-group-call) participantes.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Chamadas em grupo](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 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": "Digite TL: phone.GroupParticipants."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Chamada em grupo cujos participantes devem ser buscados"}, "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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Se especificado, buscará informações dos participantes do grupo sobre os pares especificados"}, "sources": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Se especificado, buscará informações dos participantes do grupo sobre os IDs de origem WebRTC especificados"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento para resultados, retirado do campo `next_offset` de [phone.groupParticipants](https://core.telegram.org/constructor/phone.groupParticipants.md) ou do campo `participants_next_offset` de [phone.groupCall](https://core.telegram.org/constructor/phone.groupCall.md), inicialmente uma string vazia.  Nota: se não houver mais resultados disponíveis, a chamada do método retornará um `next_offset` vazio; portanto, evite fornecer o `next_offset` retornado em [phone.groupParticipants](https://core.telegram.org/constructor/phone.groupParticipants.md) se estiver vazio, para evitar um loop infinito."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["call", "ids", "sources", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Chamada em grupo cujos participantes devem ser buscados |\n| `ids` | `Vector<InputPeer>` | Sim | Se especificado, buscará informações dos participantes do grupo sobre os pares especificados |\n| `sources` | `Vector<int>` | Sim | Se especificado, buscará informações dos participantes do grupo sobre os IDs de origem WebRTC especificados |\n| `offset` | `string` | Sim | Deslocamento para resultados, retirado do campo `next_offset` de [phone.groupParticipants](https://core.telegram.org/constructor/phone.groupParticipants.md) ou do campo `participants_next_offset` de [phone.groupCall](https://core.telegram.org/constructor/phone.groupCall.md), inicialmente uma string vazia.  Nota: se não houver mais resultados disponíveis, a chamada do método retornará um `next_offset` vazio; portanto, evite fornecer o `next_offset` retornado em [phone.groupParticipants](https://core.telegram.org/constructor/phone.groupParticipants.md) se estiver vazio, para evitar um loop infinito. |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Chamadas"], "summary": "Verifique quais dos IDs de origem especificados o servidor ainda reconhece como associados a uma chamada de grupo. Este método pode ser usado com todos os tipos de chamadas em grupo, veja aqui » para mais informações.", "description": "Verifique quais dos IDs de origem especificados o servidor ainda reconhece como associados a uma chamada de grupo. Este método pode ser usado com todos os tipos de chamadas em grupo, veja [aqui »](https://core.telegram.org/api/group-calls.md#maintaining-group-call-connections) para mais informações.\n\nDepois de ingressar na conexão principal com [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md), passe seu ID diferente de zero SSRC/fonte para este método periodicamente. Se uma conexão de apresentação também estiver ativa, inclua a fonte separada registrada usando [phone.joinGroupCallPresentation](https://core.telegram.org/method/phone.joinGroupCallPresentation.md).\n\nO método retorna o subconjunto das fontes fornecidas que ainda estão unidas. Uma fonte ausente significa que a conexão correspondente deve ser recriada e unida novamente; não indica se os pacotes de mídia estão fluindo no momento. Se o método retornar `GROUPCALL_JOIN_MISSING`, a conexão principal deverá ser restabelecida.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Vector<int>`.\n\n[Vetor](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": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida.\n- 400 · `GROUPCALL_JOIN_MISSING` — Você não entrou nesta chamada em grupo."}}, "externalDocs": {"description": "Documentação oficial do 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": "Chamada de grupo cujas conexões WebRTC devem ser verificadas"}, "sources": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Diferente de zero SSRC/IDs de origem das conexões principais e de apresentação do chamador"}}, "additionalProperties": false, "required": ["call", "sources"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Chamada de grupo cujas conexões WebRTC devem ser verificadas |\n| `sources` | `Vector<int>` | Sim | Diferente de zero SSRC/IDs de origem das conexões principais e de apresentação do chamador |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID", "GROUPCALL_JOIN_MISSING"], "x-browser-schema-id": "3046963575"}}, "/catalog/phone.toggleGroupCallRecord": {"post": {"operationId": "phone.toggleGroupCallRecord", "tags": ["Chamadas"], "summary": "Inicie ou pare a gravação de um chat de vídeo/transmissão ao vivo, veja aqui » para mais informações. Os fluxos de áudio e vídeo gravados serão enviados automaticamente para Mensagens Salvas (o bate-papo conosco).", "description": "Inicie ou pare a gravação de um chat de vídeo/transmissão ao vivo, veja [aqui »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) para mais informações. Os fluxos de áudio e vídeo gravados serão enviados automaticamente para Mensagens Salvas (o bate-papo conosco).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `GROUPCALL_FORBIDDEN` — A chamada de grupo especificada não pode ser usada neste contexto.\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida.\n- 400 · `GROUPCALL_NOT_MODIFIED` — As configurações de chamada em grupo não foram modificadas."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve iniciar ou parar a gravação"}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Se também deve gravar streams de vídeo"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Bate-papo por vídeo/transmissão ao vivo para gravar"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Título da gravação"}, "video_portrait": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "Se a gravação de fluxo de vídeo estiver habilitada, seja para gravar no modo retrato ou paisagem"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `start` | `true` | Não | Se deve iniciar ou parar a gravação |\n| `video` | `true` | Não | Se também deve gravar streams de vídeo |\n| `call` | `InputGroupCall` | Sim | Bate-papo por vídeo/transmissão ao vivo para gravar |\n| `title` | `string` | Não | Título da gravação |\n| `video_portrait` | `Bool` | Não | Se a gravação de fluxo de vídeo estiver habilitada, seja para gravar no modo retrato ou paisagem |"}, "x-telegram-rpc-errors": ["GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID", "GROUPCALL_NOT_MODIFIED"], "x-browser-schema-id": "4045981448"}}, "/catalog/phone.editGroupCallParticipant": {"post": {"operationId": "phone.editGroupCallParticipant", "tags": ["Chamadas"], "summary": "Edite informações sobre um participante de um chat de vídeo/transmissão ao vivo ou conferência que não seja RTMP. O campo `raise_hand` é suportado apenas em chats de vídeo/transmissões ao vivo, veja aqui » para mais informações.", "description": "Edite informações sobre um participante de um chat de vídeo/transmissão ao vivo ou conferência que não seja RTMP. O campo `raise_hand` é suportado apenas em chats de vídeo/transmissões ao vivo, veja [aqui »](https://core.telegram.org/api/group-calls.md#managing-an-active-group-call) para mais informações.\n\nNota: Os parâmetros [flags](https://core.telegram.org/mtproto/TL-combinators.md#conditional-fields).N?[Bool](https://core.telegram.org/type/Bool.md) podem ter três valores possíveis:\n\n- Se o [sinalizador TL](https://core.telegram.org/mtproto/TL-combinators.md#conditional-fields) não estiver definido, o valor anterior não será alterado.\n- Se o [sinalizador TL](https://core.telegram.org/mtproto/TL-combinators.md#conditional-fields) estiver definido e contiver um [boolTrue](https://core.telegram.org/constructor/boolTrue.md), o valor anterior será substituído por `true`.\n- Se o [sinalizador TL](https://core.telegram.org/mtproto/TL-combinators.md#conditional-fields) estiver definido e contiver um [boolFalse](https://core.telegram.org/constructor/boolFalse.md), o valor anterior será substituído por `false`.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `GROUPCALL_FORBIDDEN` — A chamada de grupo especificada não pode ser usada neste contexto.\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida.\n- 400 · `PARTICIPANT_JOIN_MISSING` — Tentando habilitar uma apresentação, quando o usuário não entrou no Video Chat com [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md).\n- 400 · `RAISE_HAND_FORBIDDEN` — Você não pode levantar a mão.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido.\n- 400 · `USER_VOLUME_INVALID` — O volume do usuário especificado é inválido.\n- 400 · `VIDEO_PAUSE_FORBIDDEN` — Você não pode pausar a transmissão de vídeo.\n- 400 · `VIDEO_STOP_FORBIDDEN` — Você não pode interromper o fluxo de vídeo."}}, "externalDocs": {"description": "Documentação oficial do 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": "Chat de vídeo/transmissão ao vivo ou conferência não 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": "O participante da chamada em grupo (também pode ser o próprio usuário)"}, "muted": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Altere o estado mudo do participante; permitir que um participante silenciado à força ative o som automaticamente não o ativa imediatamente"}, "volume": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Novo volume, entre `1` e `20000`; `10000` representa 100%. Sem direitos de moderação, alterar o volume de outro participante afeta apenas a reprodução local"}, "raise_hand": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "Levantar ou abaixar a mão; suportado apenas em chats de vídeo/transmissões ao vivo"}, "video_stopped": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool", "description": "Iniciar ou parar o stream de vídeo do usuário atual"}, "video_paused": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.4?Bool", "description": "Pausar ou retomar o stream de vídeo do usuário atual"}, "presentation_paused": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.5?Bool", "description": "Pausar ou retomar o stream de apresentação do usuário atual"}}, "additionalProperties": false, "required": ["call", "participant"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Chat de vídeo/transmissão ao vivo ou conferência não RTMP |\n| `participant` | `InputPeer` | Sim | O participante da chamada em grupo (também pode ser o próprio usuário) |\n| `muted` | `Bool` | Não | Altere o estado mudo do participante; permitir que um participante silenciado à força ative o som automaticamente não o ativa imediatamente |\n| `volume` | `int` | Não | Novo volume, entre `1` e `20000`; `10000` representa 100%. Sem direitos de moderação, alterar o volume de outro participante afeta apenas a reprodução local |\n| `raise_hand` | `Bool` | Não | Levantar ou abaixar a mão; suportado apenas em chats de vídeo/transmissões ao vivo |\n| `video_stopped` | `Bool` | Não | Iniciar ou parar o stream de vídeo do usuário atual |\n| `video_paused` | `Bool` | Não | Pausar ou retomar o stream de vídeo do usuário atual |\n| `presentation_paused` | `Bool` | Não | Pausar ou retomar o stream de apresentação do usuário atual |"}, "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": ["Chamadas"], "summary": "Edite o título de um chat de vídeo ou transmissão ao vivo. Este método não pode ser usado com histórias ao vivo ou conferências, veja aqui » para mais informações.", "description": "Edite o título de um chat de vídeo ou transmissão ao vivo. Este método não pode ser usado com histórias ao vivo ou conferências, veja [aqui »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `GROUPCALL_FORBIDDEN` — A chamada de grupo especificada não pode ser usada neste contexto.\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Bate-papo por vídeo ou transmissão ao vivo cujo título deve ser alterado"}, "title": {"type": "string", "x-tl-type": "string", "description": "Novo título"}}, "additionalProperties": false, "required": ["call", "title"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Bate-papo por vídeo ou transmissão ao vivo cujo título deve ser alterado |\n| `title` | `string` | Sim | Novo título |"}, "x-telegram-rpc-errors": ["GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID"], "x-browser-schema-id": "480685066"}}, "/catalog/phone.getGroupCallJoinAs": {"post": {"operationId": "phone.getGroupCallJoinAs", "tags": ["Chamadas"], "summary": "Obtenha uma lista de pares que podem ser usados para participar de um chat de vídeo ou transmissão ao vivo », apresentando-se como um usuário/canal específico.", "description": "Obtenha uma lista de pares que podem ser usados para participar de um [bate-papo por vídeo ou transmissão ao vivo »](https://core.telegram.org/api/group-calls.md#joining-a-group-call-on-behalf-of-owned-channels), apresentando-se como um usuário/canal específico.\n\nEste método não pode ser usado para histórias ao vivo ou teleconferências. Para comentar ou reagir em uma história ao vivo como outro par, use [channels.getSendAs](https://core.telegram.org/method/channels.getSendAs.md) com `for_live_stories` definido e passe um dos pares retornados para [phone.sendGroupCallMessage](https://core.telegram.org/method/phone.sendGroupCallMessage.md).`send_as`.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 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": "Digite TL: phone.JoinAsPeers."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O grupo básico, supergrupo ou canal em cujo chat de vídeo/transmissão ao vivo estamos tentando entrar; não pode direcionar uma história ao vivo."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O grupo básico, supergrupo ou canal em cujo chat de vídeo/transmissão ao vivo estamos tentando entrar; não pode direcionar uma história ao vivo. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "4017889594"}}, "/catalog/phone.exportGroupCallInvite": {"post": {"operationId": "phone.exportGroupCallInvite", "tags": ["Chamadas"], "summary": "Obtenha um link de convite para um chat de vídeo/transmissão ao vivo público ».", "description": "Obtenha um link de convite para um [bate-papo por vídeo/transmissão ao vivo »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) público.\n\nMembros não administradores ou assinantes podem exportar um link com `can_self_unmute` omitido. Somente administradores de chamadas em grupo podem configurar `can_self_unmute` para exportar um link que permita aos usuários falar.\n\nNão pode ser usado para chats de vídeo/transmissões ao vivo associados a grupos/canais privados, [chamadas em conferência »](https://core.telegram.org/api/group-calls.md#conference-calls) ou [histórias ao vivo »](https://core.telegram.org/api/group-calls.md#live-stories).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 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": "Digite TL: phone.ExportedGroupCallInvite."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida.\n- 403 · `PUBLIC_CHANNEL_MISSING` — Você só pode exportar links de convite para chamadas em grupo para chats ou canais públicos."}}, "externalDocs": {"description": "Documentação oficial do 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 bate-papos/transmissões ao vivo públicas, apenas administradores de chamadas em grupo: permita que os usuários que ingressam usando este link falem sem solicitar permissão explicitamente, por exemplo, levantando a mão."}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "O público [bate-papo por vídeo/transmissão ao vivo »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams)"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `can_self_unmute` | `true` | Não | Para bate-papos/transmissões ao vivo públicas, apenas administradores de chamadas em grupo: permita que os usuários que ingressam usando este link falem sem solicitar permissão explicitamente, por exemplo, levantando a mão. |\n| `call` | `InputGroupCall` | Sim | O público [bate-papo por vídeo/transmissão ao vivo »](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": ["Chamadas"], "summary": "Assine ou cancele a assinatura de uma chamada em grupo agendada.", "description": "Inscreva-se ou cancele a inscrição em uma [chamada em grupo](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) agendada.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `GROUPCALL_ALREADY_STARTED` — A chamada em grupo já começou, você pode entrar diretamente usando [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md).\n- 403 · `GROUPCALL_FORBIDDEN` — A chamada de grupo especificada não pode ser usada neste contexto.\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Chat de vídeo/transmissão ao vivo agendado que ainda não começou"}, "subscribed": {"type": "boolean", "x-tl-type": "Bool", "description": "Se deve receber uma mensagem de notificação de serviço quando a chamada for iniciada"}}, "additionalProperties": false, "required": ["call", "subscribed"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Chat de vídeo/transmissão ao vivo agendado que ainda não começou |\n| `subscribed` | `Bool` | Sim | Se deve receber uma mensagem de notificação de serviço quando a chamada for iniciada |"}, "x-telegram-rpc-errors": ["GROUPCALL_ALREADY_STARTED", "GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID"], "x-browser-schema-id": "563885286"}}, "/catalog/phone.startScheduledGroupCall": {"post": {"operationId": "phone.startScheduledGroupCall", "tags": ["Chamadas"], "summary": "Inicie uma chamada em grupo agendada.", "description": "Inicie uma [chamada em grupo](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) agendada.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `GROUPCALL_ALREADY_STARTED` — A chamada em grupo já começou, você pode entrar diretamente usando [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md).\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Bate-papo por vídeo/transmissão ao vivo agendado para começar, antes ou depois da data agendada"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Bate-papo por vídeo/transmissão ao vivo agendado para começar, antes ou depois da data agendada |"}, "x-telegram-rpc-errors": ["GROUPCALL_ALREADY_STARTED", "GROUPCALL_INVALID"], "x-browser-schema-id": "1451287362"}}, "/catalog/phone.saveDefaultGroupCallJoinAs": {"post": {"operationId": "phone.saveDefaultGroupCallJoinAs", "tags": ["Chamadas"], "summary": "Defina o peer padrão usado para ingressar em um chat de vídeo/transmissão ao vivo » associado a uma caixa de diálogo específica.", "description": "Defina o par padrão usado para ingressar em um [chat de vídeo/transmissão ao vivo »](https://core.telegram.org/api/group-calls.md#joining-a-group-call-on-behalf-of-owned-channels) associado a uma caixa de diálogo específica.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `JOIN_AS_PEER_INVALID` — O par especificado não pode ser usado para ingressar em uma chamada em grupo.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 ou canal cujo padrão de bate-papo por vídeo/transmissão ao vivo deve ser alterado"}, "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 qualificado para usar por padrão ao ingressar nos chats de vídeo/transmissões ao vivo da caixa de diálogo, selecionado em [phone.getGroupCallJoinAs](https://core.telegram.org/method/phone.getGroupCallJoinAs.md)"}}, "additionalProperties": false, "required": ["peer", "join_as"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Grupo básico, supergrupo ou canal cujo padrão de bate-papo por vídeo/transmissão ao vivo deve ser alterado |\n| `join_as` | `InputPeer` | Sim | Par qualificado para usar por padrão ao ingressar nos chats de vídeo/transmissões ao vivo da caixa de diálogo, selecionado em [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": ["Chamadas"], "summary": "Inicie o compartilhamento de tela em um chat de vídeo/transmissão ao vivo ou conferência que não seja RTMP. As apresentações não são suportadas em histórias ao vivo ou chats de vídeo/transmissões ao vivo no modo RTMP, veja aqui » para mais informações.", "description": "Inicie o compartilhamento de tela em um chat de vídeo/transmissão ao vivo ou conferência que não seja RTMP. As apresentações não são suportadas em histórias ao vivo ou chats de vídeo/transmissões ao vivo no modo RTMP, veja [aqui »](https://core.telegram.org/api/group-calls.md#presentations) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida.\n- 403 · `PARTICIPANT_JOIN_MISSING` — Tentando habilitar uma apresentação, quando o usuário não entrou no Video Chat com [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md)."}}, "externalDocs": {"description": "Documentação oficial do 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": "Participou de chat de vídeo/transmissão ao vivo ou conferência não RTMP para começar a apresentar"}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Junte-se à carga útil gerada por uma instância separada do mecanismo de chamada local para a apresentação"}}, "additionalProperties": false, "required": ["call", "params"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Participou de chat de vídeo/transmissão ao vivo ou conferência não RTMP para começar a apresentar |\n| `params` | `DataJSON` | Sim | Junte-se à carga útil gerada por uma instância separada do mecanismo de chamada local para a apresentação |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID", "PARTICIPANT_JOIN_MISSING"], "x-browser-schema-id": "3421137860"}}, "/catalog/phone.leaveGroupCallPresentation": {"post": {"operationId": "phone.leaveGroupCallPresentation", "tags": ["Chamadas"], "summary": "Interrompa o compartilhamento de tela em um chat de vídeo/transmissão ao vivo ou conferência que não seja RTMP. As apresentações não são suportadas em histórias ao vivo ou chats de vídeo/transmissões ao vivo no modo RTMP, veja aqui » para mais informações.", "description": "Interrompa o compartilhamento de tela em um chat de vídeo/transmissão ao vivo ou conferência que não seja RTMP. As apresentações não são suportadas em histórias ao vivo ou chats de vídeo/transmissões ao vivo no modo RTMP, veja [aqui »](https://core.telegram.org/api/group-calls.md#presentations) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Chamada em grupo cuja conexão de apresentação deve ser interrompida"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Chamada em grupo cuja conexão de apresentação deve ser interrompida |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "475058500"}}, "/catalog/phone.getGroupCallStreamChannels": {"post": {"operationId": "phone.getGroupCallStreamChannels", "tags": ["Chamadas"], "summary": "Obtenha os canais de transmissão disponíveis e o carimbo de data/hora de reprodução atual de um chat de vídeo, transmissão ao vivo ou história ao vivo no modo RTMP, veja aqui » para o fluxo completo.", "description": "Obtenha os canais de transmissão disponíveis e o carimbo de data/hora de reprodução atual de um chat de vídeo no modo RTMP, transmissão ao vivo ou história ao vivo, veja [aqui »](https://core.telegram.org/api/group-calls.md#rtmp-mode) para o fluxo completo.\nA chamada de grupo deve ser ingressada antes de invocar este método. Envie a solicitação para o DC de mídia especificado por [groupCall](https://core.telegram.org/constructor/groupCall.md).`stream_dc_id`.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 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": "Digite TL: phone.GroupCallStreamChannels."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida.\n- 400 · `GROUPCALL_JOIN_MISSING` — Você não entrou nesta chamada em grupo."}}, "externalDocs": {"description": "Documentação oficial do 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": "Chat de vídeo no modo RTMP, transmissão ao vivo ou história ao vivo"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Chat de vídeo no modo RTMP, transmissão ao vivo ou história ao vivo |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID", "GROUPCALL_JOIN_MISSING"], "x-browser-schema-id": "447879488"}}, "/catalog/phone.getGroupCallStreamRtmpUrl": {"post": {"operationId": "phone.getGroupCallStreamRtmpUrl", "tags": ["Chamadas"], "summary": "Obtenha o RTMP URL e a chave de transmissão usada pelo único streamer externo que publica todo o áudio e vídeo para um chat de vídeo, transmissão ao vivo ou história ao vivo no modo RTMP.", "description": "Obtenha o RTMP URL e a chave de transmissão usada pelo único streamer externo que publica todo o áudio e vídeo para um chat de vídeo, transmissão ao vivo ou história ao vivo no modo RTMP.\n\nVeja [aqui »](https://core.telegram.org/api/group-calls.md#creating-and-publishing-an-rtmp-livestream) para o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 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": "Digite TL: phone.GroupCallStreamRtmpUrl."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Obtenha credenciais para uma história ao vivo RTMP em vez de um bate-papo por vídeo/transmissão ao 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": "Ponto que hospedará o bate-papo por vídeo RTMP, a transmissão ao vivo ou a história ao vivo"}, "revoke": {"type": "boolean", "x-tl-type": "Bool", "description": "Se deve ser invalidada a chave de stream anterior e gerada uma nova, em vez de retornar a chave existente"}}, "additionalProperties": false, "required": ["peer", "revoke"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `live_story` | `true` | Não | Obtenha credenciais para uma história ao vivo RTMP em vez de um bate-papo por vídeo/transmissão ao vivo |\n| `peer` | `InputPeer` | Sim | Ponto que hospedará o bate-papo por vídeo RTMP, a transmissão ao vivo ou a história ao vivo |\n| `revoke` | `Bool` | Sim | Se deve ser invalidada a chave de stream anterior e gerada uma nova, em vez de retornar a chave existente |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "PEER_ID_INVALID"], "x-browser-schema-id": "1525991226"}}, "/catalog/phone.saveCallLog": {"post": {"operationId": "phone.saveCallLog", "tags": ["Chamadas"], "summary": "Obsoleto: enviar informações de depuração de chamada telefônica libtgvoip", "description": "Obsoleto: enviar informações de depuração de chamada telefônica libtgvoip\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CALL_PEER_INVALID` — O objeto peer de chamada fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Chamada telefônica"}, "file": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "Registros Libtgvoip"}}, "additionalProperties": false, "required": ["peer", "file"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | Sim | Chamada telefônica |\n| `file` | `InputFile` | Sim | Registros Libtgvoip |"}, "x-telegram-rpc-errors": ["CALL_PEER_INVALID"], "x-browser-schema-id": "1092913030"}}, "/catalog/phone.createConferenceCall": {"post": {"operationId": "phone.createConferenceCall", "tags": ["Chamadas"], "summary": "Crie e opcionalmente participe de uma nova teleconferência ».", "description": "Crie e, opcionalmente, participe de uma nova [chamada em conferência »](https://core.telegram.org/api/group-calls.md#conference-calls).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, silencia nosso microfone ao entrar na chamada (só pode ser usado se `join` estiver definido)."}, "video_stopped": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Se definido, nosso stream de vídeo será desativado (só pode ser usado se `join` estiver definido)."}, "join": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Se definido, participe também da chamada, caso contrário, basta criar o link da chamada."}, "random_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "É necessário um ID de mensagem de cliente exclusivo para evitar a criação de chamadas de grupo duplicadas. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID."}, "public_key": {"type": "string", "format": "byte", "x-tl-type": "int256", "x-tl-flag": "flags.3?int256", "description": "Nova chave pública E2E para o criador (só pode ser usada se `join` estiver definida)."}, "block": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.3?bytes", "description": "Bloco inicial da cadeia principal para a subcadeia `0` (só pode ser usado se `join` estiver definido)."}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Junte-se à carga útil gerada pelo mecanismo de chamada local (só pode ser usado se `join` estiver definido).", "x-tl-flag": "flags.3?DataJSON"}}, "additionalProperties": false, "required": ["random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `muted` | `true` | Não | Se definido, silencia nosso microfone ao entrar na chamada (só pode ser usado se `join` estiver definido). |\n| `video_stopped` | `true` | Não | Se definido, nosso stream de vídeo será desativado (só pode ser usado se `join` estiver definido). |\n| `join` | `true` | Não | Se definido, participe também da chamada, caso contrário, basta criar o link da chamada. |\n| `random_id` | `int` | Sim | É necessário um ID de mensagem de cliente exclusivo para evitar a criação de chamadas de grupo duplicadas. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID. |\n| `public_key` | `int256` | Não | Nova chave pública E2E para o criador (só pode ser usada se `join` estiver definida). |\n| `block` | `bytes` | Não | Bloco inicial da cadeia principal para a subcadeia `0` (só pode ser usado se `join` estiver definido). |\n| `params` | `DataJSON` | Não | Junte-se à carga útil gerada pelo mecanismo de chamada local (só pode ser usado se `join` estiver definido). |"}, "x-browser-schema-id": "2097431739"}}, "/catalog/phone.deleteConferenceCallParticipants": {"post": {"operationId": "phone.deleteConferenceCallParticipants", "tags": ["Chamadas"], "summary": "Remover participantes de uma teleconferência ».", "description": "Remova os participantes de uma [chamada em conferência »](https://core.telegram.org/api/end-to-end/group-calls.md#removing-a-participant).\n\nExatamente um dos sinalizadores `only_left` e `kick` deve ser definido.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [E2E Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se se trata de uma remoção de membros que já saíram da teleconferência."}, "kick": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Se esta é uma remoção forçada de membros ativos em uma teleconferência."}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Conferência da qual remover participantes"}, "ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "IDs de usuário para remover da conferência e E2E blockchain"}, "block": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Bloco da cadeia principal removendo os usuários especificados e estabelecendo uma nova chave compartilhada, consulte [removendo um participante »](https://core.telegram.org/api/end-to-end/group-calls.md#removing-a-participant)"}}, "additionalProperties": false, "required": ["call", "ids", "block"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `only_left` | `true` | Não | Se se trata de uma remoção de membros que já saíram da teleconferência. |\n| `kick` | `true` | Não | Se esta é uma remoção forçada de membros ativos em uma teleconferência. |\n| `call` | `InputGroupCall` | Sim | Conferência da qual remover participantes |\n| `ids` | `Vector<long>` | Sim | IDs de usuário para remover da conferência e E2E blockchain |\n| `block` | `bytes` | Sim | Bloco da cadeia principal removendo os usuários especificados e estabelecendo uma nova chave compartilhada, consulte [removendo um 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": ["Chamadas"], "summary": "Envie uma mensagem de verificação para a subcadeia de teleconferência `1`, consulte subcadeias ».", "description": "Envie uma mensagem de verificação para a subcadeia de teleconferência `1`, consulte [subcadeias »](https://core.telegram.org/api/end-to-end/group-calls.md#subchains).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [E2E Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Conferência cuja subcadeia de verificação deve receber a mensagem"}, "block": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Mensagem de verificação `e2e.chain.GroupBroadcast` serializada."}}, "additionalProperties": false, "required": ["call", "block"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Conferência cuja subcadeia de verificação deve receber a mensagem |\n| `block` | `bytes` | Sim | Mensagem de verificação `e2e.chain.GroupBroadcast` serializada. |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "3329235200"}}, "/catalog/phone.inviteConferenceCallParticipant": {"post": {"operationId": "phone.inviteConferenceCallParticipant", "tags": ["Chamadas"], "summary": "Convide um usuário para uma teleconferência.", "description": "Convide um usuário para uma [teleconferência](https://core.telegram.org/api/group-calls.md#conference-calls).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se este é um convite de videoconferência"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "A teleconferência."}, "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": "O usuário a ser convidado."}}, "additionalProperties": false, "required": ["call", "user_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `video` | `true` | Não | Se este é um convite de videoconferência |\n| `call` | `InputGroupCall` | Sim | A teleconferência. |\n| `user_id` | `InputUser` | Sim | O usuário a ser convidado. |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "3169986181"}}, "/catalog/phone.declineConferenceCallInvite": {"post": {"operationId": "phone.declineConferenceCallInvite", "tags": ["Chamadas"], "summary": "Recusar um convite para teleconferência.", "description": "Recusar um convite para [teleconferência](https://core.telegram.org/api/group-calls.md#conference-calls).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O ID do [messageActionConferenceCall](https://core.telegram.org/constructor/messageActionConferenceCall.md) a ser recusado."}}, "additionalProperties": false, "required": ["msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `msg_id` | `int` | Sim | O ID do [messageActionConferenceCall](https://core.telegram.org/constructor/messageActionConferenceCall.md) a ser recusado. |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID"], "x-browser-schema-id": "1011325297"}}, "/catalog/phone.getGroupCallChainBlocks": {"post": {"operationId": "phone.getGroupCallChainBlocks", "tags": ["Chamadas"], "summary": "Buscar blocos de uma subcadeia de teleconferência »; manipule os updateGroupCallChainBlocks retornados conforme especificado aqui ».", "description": "Buscar blocos de uma teleconferência [subcadeia »](https://core.telegram.org/api/end-to-end/group-calls.md#subchains); manipule o [updateGroupCallChainBlocks](https://core.telegram.org/constructor/updateGroupCallChainBlocks.md) retornado como [especificado aqui »](https://core.telegram.org/api/end-to-end/group-calls.md#handling-updates).\n\nSe o número de blocos retornados por *qualquer* chamada para este método for igual a `limit`, este método deverá ser invocado novamente imediatamente após o processamento do [updateGroupCallChainBlocks](https://core.telegram.org/constructor/updateGroupCallChainBlocks.md) retornado, com o `offset` recém-confirmado (geralmente igual ao `next_offset` retornado).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [E2E Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Conferência cujos blocos de subcadeias devem ser buscados"}, "sub_chain_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "`0` para o blockchain do estado principal, `1` para a subcadeia de verificação de chamada"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Busque blocos a partir desta altura; passe `-1` para buscar o bloco mais recente"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de blocos a serem retornados nesta chamada, [ver paginação](https://core.telegram.org/api/offsets.md), máximo 100."}}, "additionalProperties": false, "required": ["call", "sub_chain_id", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Conferência cujos blocos de subcadeias devem ser buscados |\n| `sub_chain_id` | `int` | Sim | `0` para o blockchain do estado principal, `1` para a subcadeia de verificação de chamada |\n| `offset` | `int` | Sim | Busque blocos a partir desta altura; passe `-1` para buscar o bloco mais recente |\n| `limit` | `int` | Sim | Número máximo de blocos a serem retornados nesta chamada, [ver paginação](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": ["Chamadas"], "summary": "Envie uma mensagem durante a chamada para todos os participantes de um chat de vídeo/transmissão ao vivo ou história ao vivo, inclusive no modo RTMP, veja aqui » para mais informações.", "description": "Envie uma mensagem durante a chamada para todos os participantes de um chat de vídeo/transmissão ao vivo ou história ao vivo, inclusive no modo RTMP, veja [aqui »](https://core.telegram.org/api/group-calls.md#in-call-messages) para mais informações.\n\nO campo `send_as` só pode ser preenchido para histórias ao vivo, onde opcionalmente seleciona o autor exibido. Se omitido, o servidor seleciona automaticamente o autor apropriado. Não o preencha para chats de vídeo/transmissões ao vivo.\n\nSuporte para chats de vídeo/transmissões ao vivo e histórias ao vivo [reações de emoji animadas »](https://core.telegram.org/api/group-calls.md#in-call-reactions), codificadas como mensagens contendo apenas um emoji de reação padrão disponível ou uma única entidade de emoji personalizada.\n\nPara um comentário de história ao vivo pago, passe o valor da doação confirmado pelo usuário em `allow_paid_stars`. Para comentaristas que não sejam o proprietário da história ao vivo, esse valor deve ser pelo menos o mínimo atual de [groupCall](https://core.telegram.org/constructor/groupCall.md).`send_paid_messages_stars`. Uma quantia maior poderá ser doada para destacar o comentário. O proprietário da história ao vivo pode comentar sem preencher `allow_paid_stars`. Para enviar uma doação de história ao vivo paga e independente, passe um valor `allow_paid_stars` positivo e um `message` vazio, veja [aqui »](https://core.telegram.org/api/group-calls.md#paid-live-story-donations) para o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida.\n- 400 · `GROUPCALL_JOIN_MISSING` — Você não entrou nesta chamada em grupo."}}, "externalDocs": {"description": "Documentação oficial do 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": "Bate-papo por vídeo/transmissão ao vivo ou história ao vivo que deve receber a mensagem, reação ou doação"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Novo ID aleatório gerado pelo cliente usado para desduplicar a mensagem ou doação. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID.", "x-tl-type": "long"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Texto de mensagem ou reação de emoji; passe um valor vazio ao enviar uma doação de história ao vivo paga e independente"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Número de estrelas do Telegram confirmado pelo usuário para doar com um comentário de história ao vivo ou doação independente", "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 exibir como autor de uma mensagem ou reação de história ao vivo; só pode ser usado para histórias ao vivo", "x-tl-flag": "flags.1?InputPeer"}}, "additionalProperties": false, "required": ["call", "random_id", "message"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Bate-papo por vídeo/transmissão ao vivo ou história ao vivo que deve receber a mensagem, reação ou doação |\n| `random_id` | `long` | Sim | Novo ID aleatório gerado pelo cliente usado para desduplicar a mensagem ou doação. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID. |\n| `message` | `TextWithEntities` | Sim | Texto de mensagem ou reação de emoji; passe um valor vazio ao enviar uma doação de história ao vivo paga e independente |\n| `allow_paid_stars` | `long` | Não | Número de estrelas do Telegram confirmado pelo usuário para doar com um comentário de história ao vivo ou doação independente |\n| `send_as` | `InputPeer` | Não | Par opcional para exibir como autor de uma mensagem ou reação de história ao vivo; só pode ser usado para histórias ao vivo |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID", "GROUPCALL_JOIN_MISSING"], "x-browser-schema-id": "2983269392"}}, "/catalog/phone.sendGroupCallEncryptedMessage": {"post": {"operationId": "phone.sendGroupCallEncryptedMessage", "tags": ["Chamadas"], "summary": "Envie uma mensagem criptografada E2E ou uma reação emoji a todos os participantes de uma teleconferência. Este método só pode ser usado em conferências; veja aqui » para o processo de serialização e criptografia.", "description": "Envie uma mensagem criptografada E2E ou uma reação emoji a todos os participantes de uma teleconferência. Este método só pode ser usado em conferências; veja [aqui »](https://core.telegram.org/api/end-to-end/group-calls.md#conference-in-call-messages) para o processo de serialização e criptografia.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [E2E Chamadas em grupo](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Teleconferência que deve receber a mensagem ou reação criptografada"}, "encrypted_message": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Mensagem criptografada completa ou pacote de reação produzido conforme especificado [aqui »](https://core.telegram.org/api/end-to-end/group-calls.md#encrypting-and-sending-a-message)"}}, "additionalProperties": false, "required": ["call", "encrypted_message"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Teleconferência que deve receber a mensagem ou reação criptografada |\n| `encrypted_message` | `bytes` | Sim | Mensagem criptografada completa ou pacote de reação produzido conforme especificado [aqui »](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": ["Chamadas"], "summary": "Exclua mensagens específicas da sobreposição de mensagens durante a chamada » de um bate-papo por vídeo/transmissão ao vivo ou história ao vivo, inclusive no modo RTMP.", "description": "Exclua mensagens específicas da [sobreposição de mensagens durante a chamada »](https://core.telegram.org/api/group-calls.md#in-call-messages) de um bate-papo por vídeo/transmissão ao vivo ou história ao vivo, inclusive no modo RTMP.\n\nOs participantes não administradores podem excluir as mensagens que enviaram; os administradores podem excluir qualquer mensagem.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Ao moderar as mensagens de outro participante, denuncie-as também como spam"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Bate-papo por vídeo/transmissão ao vivo ou história ao vivo contendo as mensagens"}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs das mensagens a serem excluídas"}}, "additionalProperties": false, "required": ["call", "messages"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `report_spam` | `true` | Não | Ao moderar as mensagens de outro participante, denuncie-as também como spam |\n| `call` | `InputGroupCall` | Sim | Bate-papo por vídeo/transmissão ao vivo ou história ao vivo contendo as mensagens |\n| `messages` | `Vector<int>` | Sim | IDs das mensagens a serem excluídas |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "4132394231"}}, "/catalog/phone.deleteGroupCallParticipantMessages": {"post": {"operationId": "phone.deleteGroupCallParticipantMessages", "tags": ["Chamadas"], "summary": "Como administrador, exclua todas as mensagens de um participante específico na sobreposição de mensagens na chamada » de um bate-papo por vídeo/transmissão ao vivo ou história ao vivo, inclusive no modo RTMP.", "description": "Como administrador, exclua todas as mensagens de um participante específico na [sobreposição de mensagens durante a chamada »](https://core.telegram.org/api/group-calls.md#in-call-messages) de um bate-papo por vídeo/transmissão ao vivo ou história ao vivo, inclusive no modo RTMP.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Denuncie também as mensagens do participante como spam"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Bate-papo por vídeo/transmissão ao vivo ou história ao vivo contendo as mensagens"}, "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": "O participante cujas mensagens devem ser excluídas"}}, "additionalProperties": false, "required": ["call", "participant"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `report_spam` | `true` | Não | Denuncie também as mensagens do participante como spam |\n| `call` | `InputGroupCall` | Sim | Bate-papo por vídeo/transmissão ao vivo ou história ao vivo contendo as mensagens |\n| `participant` | `InputPeer` | Sim | O participante cujas mensagens devem ser excluídas |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "499117216"}}, "/catalog/phone.getGroupCallStars": {"post": {"operationId": "phone.getGroupCallStars", "tags": ["Chamadas"], "summary": "Obtenha o total de doações e os principais doadores de uma história ao vivo, veja as doações pagas para histórias ao vivo ».", "description": "Obtenha o total de doações e os principais doadores de uma história ao vivo, consulte [doações pagas para histórias ao vivo »](https://core.telegram.org/api/group-calls.md#paid-live-story-donations).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 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": "Digite TL: phone.GroupCallStars."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Chamada em grupo de história ao vivo"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Chamada em grupo de história ao vivo |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "1868784386"}}, "/catalog/phone.saveDefaultSendAs": {"post": {"operationId": "phone.saveDefaultSendAs", "tags": ["Chamadas"], "summary": "Salve o par padrão exibido como autor dos comentários e reações da história ao vivo, veja as mensagens na chamada ».", "description": "Salve o par padrão exibido como o autor dos comentários e reações da história ao vivo, consulte [mensagens durante a chamada »](https://core.telegram.org/api/group-calls.md#in-call-messages).\n\nEle não pode ser usado para chats de vídeo/transmissões ao vivo normais, onde as mensagens durante a chamada são enviadas como o par usado para ingressar na chamada (`join_as`).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID` — A chamada de grupo especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Chamada em grupo de história ao 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 exibir como autor de comentários e reações subsequentes"}}, "additionalProperties": false, "required": ["call", "send_as"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Sim | Chamada em grupo de história ao vivo |\n| `send_as` | `InputPeer` | Sim | Peer para exibir como autor de comentários e reações subsequentes |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "1097313745"}}, "/catalog/langpack.getLangPack": {"post": {"operationId": "langpack.getLangPack", "tags": ["Traduções"], "summary": "Obtenha strings de pacote de localização", "description": "Obtenha strings de pacote de localização\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 MTProto · `LangPackDifference`.\n\n[LangPackDiferença](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": "### Erros MTProto (RPC)\n\n- 400 · `LANGUAGE_INVALID` — O lang_code especificado é inválido.\n- 400 · `LANG_CODE_NOT_SUPPORTED` — O código de idioma especificado não é suportado.\n- 400 · `LANG_PACK_INVALID` — O pacote de idiomas fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Um código de idioma ISO 639-1 ou um nome de pacote de idiomas obtido de um [link do pacote de idiomas](https://core.telegram.org/api/links.md#language-pack-links)."}}, "additionalProperties": false, "required": ["lang_pack", "lang_code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | Sim | Identificador de plataforma (i.e. `android`, `tdesktop`, etc). |\n| `lang_code` | `string` | Sim | Um código de idioma ISO 639-1 ou um nome de pacote de idiomas obtido de um [link do pacote de idiomas](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": ["Traduções"], "summary": "Obtenha strings de um pacote de idiomas", "description": "Obtenha strings de um pacote de idiomas\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 MTProto · `Vector<LangPackString>`.\n\n[Vetor](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": "### Erros MTProto (RPC)\n\n- 400 · `LANG_CODE_NOT_SUPPORTED` — O código de idioma especificado não é suportado.\n- 400 · `LANG_PACK_INVALID` — O pacote de idiomas fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Um código de idioma ISO 639-1 ou um nome de pacote de idiomas obtido de um [link do pacote de idiomas](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": "Cordas para obter"}}, "additionalProperties": false, "required": ["lang_pack", "lang_code", "keys"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | Sim | Identificador de plataforma (i.e. `android`, `tdesktop`, etc). |\n| `lang_code` | `string` | Sim | Um código de idioma ISO 639-1 ou um nome de pacote de idiomas obtido de um [link do pacote de idiomas](https://core.telegram.org/api/links.md#language-pack-links). |\n| `keys` | `Vector<string>` | Sim | Cordas para obter |"}, "x-telegram-rpc-errors": ["LANG_CODE_NOT_SUPPORTED", "LANG_PACK_INVALID"], "x-browser-schema-id": "4025104387"}}, "/catalog/langpack.getDifference": {"post": {"operationId": "langpack.getDifference", "tags": ["Traduções"], "summary": "Obtenha novas strings no pacote de idiomas", "description": "Obtenha novas strings no pacote de idiomas\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 MTProto · `LangPackDifference`.\n\n[LangPackDiferença](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": "### Erros MTProto (RPC)\n\n- 400 · `LANG_PACK_INVALID` — O pacote de idiomas fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Um código de idioma ISO 639-1 ou um nome de pacote de idiomas obtido de um [link do pacote de idiomas](https://core.telegram.org/api/links.md#language-pack-links)."}, "from_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Versão anterior do pacote de localização"}}, "additionalProperties": false, "required": ["lang_pack", "lang_code", "from_version"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | Sim | Identificador de plataforma (i.e. `android`, `tdesktop`, etc). |\n| `lang_code` | `string` | Sim | Um código de idioma ISO 639-1 ou um nome de pacote de idiomas obtido de um [link do pacote de idiomas](https://core.telegram.org/api/links.md#language-pack-links). |\n| `from_version` | `int` | Sim | Versão anterior do pacote de localização |"}, "x-telegram-rpc-errors": ["LANG_PACK_INVALID"], "x-browser-schema-id": "3449309861"}}, "/catalog/langpack.getLanguages": {"post": {"operationId": "langpack.getLanguages", "tags": ["Traduções"], "summary": "Obtenha informações sobre todos os idiomas em um pacote de localização", "description": "Obtenha informações sobre todos os idiomas em um pacote de localização\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Vector<LangPackLanguage>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[LangPackLanguage](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": "### Erros MTProto (RPC)\n\n- 400 · `LANG_PACK_INVALID` — O pacote de idiomas fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | Sim | 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": ["Traduções"], "summary": "Obtenha informações sobre um idioma em um pacote de localização", "description": "Obtenha informações sobre um idioma em um pacote de localização\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 MTProto · `LangPackLanguage`.\n\n[LangPackLanguage](https://core.telegram.org/type/LangPackLanguage.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "LangPackLanguage", "oneOf": [{"$ref": "#/components/schemas/langPackLanguage"}], "description": "Tipo TL: LangPackLanguage."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `LANG_CODE_NOT_SUPPORTED` — O código de idioma especificado não é suportado.\n- 400 · `LANG_PACK_INVALID` — O pacote de idiomas fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Um código de idioma ISO 639-1 ou um nome de pacote de idiomas obtido de um [link do pacote de idiomas](https://core.telegram.org/api/links.md#language-pack-links)."}}, "additionalProperties": false, "required": ["lang_pack", "lang_code"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | Sim | Identificador de plataforma (i.e. `android`, `tdesktop`, etc). |\n| `lang_code` | `string` | Sim | Um código de idioma ISO 639-1 ou um nome de pacote de idiomas obtido de um [link do pacote de idiomas](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": ["Pastas"], "summary": "Editar pares na pasta de pares", "description": "Edite pares em [pasta de pares](https://core.telegram.org/api/folders.md#peer-folders)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Pastas 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHAT_ID_INVALID` — O ID do chat fornecido é inválido.\n- 400 · `FOLDER_ID_INVALID` — ID de pasta inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 TL:InputFolderPeer."}, "x-tl-type": "Vector<InputFolderPeer>", "description": "Nova lista de pares"}}, "additionalProperties": false, "required": ["folder_peers"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `folder_peers` | `Vector<InputFolderPeer>` | Sim | Nova 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": ["Estatísticas"], "summary": "Obtenha estatísticas do canal", "description": "Obter [estatísticas do canal](https://core.telegram.org/api/stats.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estatísticas do 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 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": "Digite TL: stats.BroadcastStats."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BROADCAST_REQUIRED` — Este método só pode ser chamado em um canal, use stats.getMegagroupStats para supergrupos.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve ativar o tema escuro para cores do gráfico"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "O canal"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `dark` | `true` | Não | Se deve ativar o tema escuro para cores do gráfico |\n| `channel` | `InputChannel` | Sim | O 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": ["Estatísticas"], "summary": "Carregar gráfico de estatísticas do canal de forma assíncrona", "description": "Carregar [gráfico de estatísticas do canal](https://core.telegram.org/api/stats.md) de forma assíncrona\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estatísticas do 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 MTProto · `StatsGraph`.\n\n[Gráfico de estatí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: StatsGraph."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `GRAPH_EXPIRED_RELOAD` — Este gráfico expirou, obtenha um novo token de gráfico.\n- 400 · `GRAPH_INVALID_RELOAD` — Token de gráfico fornecido inválido, recarregue as estatísticas e forneça o token atualizado.\n- 400 · `GRAPH_OUTDATED_RELOAD` — O gráfico está desatualizado, obtenha um novo token assíncrono usando stats.getBroadcastStats."}}, "externalDocs": {"description": "Documentação oficial do 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 de gráfico do construtor [statsGraphAsync](https://core.telegram.org/constructor/statsGraphAsync.md)"}, "x": {"type": "string", "pattern": "^-?\\d+$", "description": "Valor de zoom, se necessário", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "additionalProperties": false, "required": ["token"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `token` | `string` | Sim | Token de gráfico do construtor [statsGraphAsync](https://core.telegram.org/constructor/statsGraphAsync.md) |\n| `x` | `long` | Não | Valor de zoom, se necessário |"}, "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": ["Estatísticas"], "summary": "Obtenha estatísticas de supergrupos", "description": "Obtenha [estatísticas de supergrupo](https://core.telegram.org/api/stats.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Estatísticas do 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 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": "Digite TL: stats.MegagroupStats."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 403 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `MEGAGROUP_REQUIRED` — Você só pode usar este método em um supergrupo."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve ativar o tema escuro para cores do gráfico"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "[ID do supergrupo](https://core.telegram.org/api/channel.md)"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `dark` | `true` | Não | Se deve ativar o tema escuro para cores do gráfico |\n| `channel` | `InputChannel` | Sim | [ID do 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": ["Estatísticas"], "summary": "Obtém uma lista de mensagens, indicando para quais outros canais públicos uma mensagem do canal foi encaminhada.", "description": "Obtém uma lista de mensagens, indicando para quais outros canais públicos uma mensagem do canal foi encaminhada.\nRetornará uma lista de [mensagens](https://core.telegram.org/constructor/message.md) com `peer_id` igual ao canal público para o qual esta mensagem foi encaminhada.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no 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 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": "Digite TL: stats.PublicForwards."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 de origem"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem de origem"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento para [pagination](https://core.telegram.org/api/offsets.md), string vazia na primeira chamada e, em seguida, use o campo `next_offset` do construtor retornado (se presente, caso contrário, não haverá mais resultados disponíveis)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["channel", "msg_id", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Sim | Canal de origem |\n| `msg_id` | `int` | Sim | ID da mensagem de origem |\n| `offset` | `string` | Sim | Deslocamento para [pagination](https://core.telegram.org/api/offsets.md), string vazia na primeira chamada e, em seguida, use o campo `next_offset` do construtor retornado (se presente, caso contrário, não haverá mais resultados disponíveis). |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Estatísticas"], "summary": "Obtenha estatísticas de mensagens", "description": "Obtenha [estatísticas de mensagens](https://core.telegram.org/api/stats.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estatísticas do 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 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": "Digite TL: stats.MessageStats."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `MESSAGE_ID_INVALID` — O ID da mensagem fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve ativar o tema escuro para cores do gráfico"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "ID do canal"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem"}}, "additionalProperties": false, "required": ["channel", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `dark` | `true` | Não | Se deve ativar o tema escuro para cores do gráfico |\n| `channel` | `InputChannel` | Sim | ID do canal |\n| `msg_id` | `int` | Sim | ID da mensagem |"}, "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": ["Estatísticas"], "summary": "Obtenha estatísticas para uma determinada história.", "description": "Obtenha [estatísticas](https://core.telegram.org/api/stats.md) para uma determinada [história](https://core.telegram.org/api/stories.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estatísticas do canal](https://core.telegram.org/api/stats.md)\n- [Histórias de telegrama](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 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": "Digite TL: stats.StoryStats."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `STORIES_NEVER_CREATED` — Este colega nunca postou nenhuma história."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve ativar o tema escuro para cores do 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": "O colega que postou a história"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da história"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `dark` | `true` | Não | Se deve ativar o tema escuro para cores do gráfico |\n| `peer` | `InputPeer` | Sim | O colega que postou a história |\n| `id` | `int` | Sim | ID da história |"}, "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": ["Estatísticas"], "summary": "Obtenha encaminhamentos de uma história como uma mensagem para bate-papos públicos e repostagens por canais públicos.", "description": "Obtenha encaminhamentos de uma [story](https://core.telegram.org/api/stories.md) como uma mensagem para bate-papos públicos e repostagens por canais públicos.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](https://core.telegram.org/api/stories.md)\n- [Paginação no 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 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": "Digite TL: stats.PublicForwards."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde a história foi postada originalmente"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[História](https://core.telegram.org/api/stories.md) ID"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento para paginação, de [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 serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "id", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde a história foi postada originalmente |\n| `id` | `int` | Sim | [História](https://core.telegram.org/api/stories.md) ID |\n| `offset` | `string` | Sim | Deslocamento para paginação, de [stats.PublicForwards](https://core.telegram.org/constructor/stats.publicForwards.md).`next_offset`. |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Estatísticas"], "summary": "Obtenha estatísticas de uma enquete enviada em uma mensagem.", "description": "Obtenha [estatísticas](https://core.telegram.org/api/stats.md#poll-statistics) para uma enquete enviada em uma mensagem.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Estatísticas do 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 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": "Digite TL: stats.PollStats."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve ativar o tema escuro para cores do 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": "O par para onde a enquete foi enviada"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem que contém a enquete"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `dark` | `true` | Não | Se deve ativar o tema escuro para cores do gráfico |\n| `peer` | `InputPeer` | Sim | O par para onde a enquete foi enviada |\n| `msg_id` | `int` | Sim | ID da mensagem que contém a enquete |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3263036008"}}, "/catalog/chatlists.exportChatlistInvite": {"post": {"operationId": "chatlists.exportChatlistInvite", "tags": ["Pastas de bate-papo"], "summary": "Exportar uma pasta », criando um link direto para a pasta de bate-papo ».", "description": "Exporte uma [pasta »](https://core.telegram.org/api/folders.md), criando um [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Canais, supergrupos, gigagrupos e grupos básicos](https://core.telegram.org/api/channel.md)\n- [Pastas de diálogo](https://core.telegram.org/api/folders.md)\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [Configuração do 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 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": "Digite TL: chatlists.ExportedChatlistInvite."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `CHATLISTS_TOO_MUCH` — Você criou muitos links de pasta, atingindo os `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [limites »](https://core.telegram.org/api/config.md#chatlist-invites-limit-default).\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `FILTER_ID_INVALID` — O ID do filtro especificado é inválido.\n- 400 · `FILTER_NOT_SUPPORTED` — O filtro especificado não pode ser usado neste contexto.\n- 400 · `INVITES_TOO_MUCH` — O número máximo de convites por pasta especificado pelos `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [parâmetros de configuração do cliente »](https://core.telegram.org/api/config.md#chatlist-invites-limit-default) foi atingido.\n- 400 · `PEERS_LIST_EMPTY` — A lista de peers especificada está vazia."}}, "externalDocs": {"description": "Documentação oficial do 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": "A pasta a exportar"}, "title": {"type": "string", "x-tl-type": "string", "description": "Um nome opcional para o link"}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Tipo TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "A lista de canais, grupos e supergrupos para compartilhar com o link. Os grupos básicos serão automaticamente [convertidos em supergrupos](https://core.telegram.org/api/channel.md#migration) ao invocar o método."}}, "additionalProperties": false, "required": ["chatlist", "title", "peers"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Sim | A pasta a exportar |\n| `title` | `string` | Sim | Um nome opcional para o link |\n| `peers` | `Vector<InputPeer>` | Sim | A lista de canais, grupos e supergrupos para compartilhar com o link. Os grupos básicos serão automaticamente [convertidos em supergrupos](https://core.telegram.org/api/channel.md#migration) ao invocar o 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": ["Pastas de bate-papo"], "summary": "Exclua um link direto de uma pasta de bate-papo criada anteriormente ».", "description": "Exclua um [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links) criado anteriormente.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `FILTER_ID_INVALID` — O ID do filtro especificado é inválido.\n- 400 · `FILTER_NOT_SUPPORTED` — O filtro especificado não pode ser usado neste contexto.\n- 400 · `INVITE_SLUG_EXPIRED` — O link da pasta de bate-papo especificada expirou.\n- 400 · `INVITE_SLUG_INVALID` — O slug de convite especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "A pasta relacionada"}, "slug": {"type": "string", "x-tl-type": "string", "description": "`slug` obtido no [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links)."}}, "additionalProperties": false, "required": ["chatlist", "slug"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Sim | A pasta relacionada |\n| `slug` | `string` | Sim | `slug` obtido no [link direto da pasta de bate-papo »](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": ["Pastas de bate-papo"], "summary": "Editar um link direto da pasta de bate-papo ».", "description": "Edite um [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 MTProto · `ExportedChatlistInvite`.\n\n[Convite de lista de bate-papo exportado](https://core.telegram.org/type/ExportedChatlistInvite.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ExportedChatlistInvite", "oneOf": [{"$ref": "#/components/schemas/exportedChatlistInvite"}], "description": "Tipo TL: ExportedChatlistInvite."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `FILTER_ID_INVALID` — O ID do filtro especificado é inválido.\n- 400 · `FILTER_NOT_SUPPORTED` — O filtro especificado não pode ser usado neste contexto.\n- 400 · `INVITE_SLUG_EMPTY` — O slug de convite especificado está vazio.\n- 400 · `INVITE_SLUG_EXPIRED` — O link da pasta de bate-papo especificada expirou.\n- 400 · `PEERS_LIST_EMPTY` — A lista de peers especificada está vazia."}}, "externalDocs": {"description": "Documentação oficial do 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 da pasta"}, "slug": {"type": "string", "x-tl-type": "string", "description": "`slug` obtido no [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links)."}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Se definido, define um novo nome para o link"}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Tipo TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "x-tl-flag": "flags.2?Vector<InputPeer>", "description": "Se definido, altera a lista de pares compartilhados com o link"}}, "additionalProperties": false, "required": ["chatlist", "slug"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Sim | ID da pasta |\n| `slug` | `string` | Sim | `slug` obtido no [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links). |\n| `title` | `string` | Não | Se definido, define um novo nome para o link |\n| `peers` | `Vector<InputPeer>` | Não | Se definido, altera a lista de pares compartilhados com o link |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "FILTER_ID_INVALID", "FILTER_NOT_SUPPORTED", "INVITE_SLUG_EMPTY", "INVITE_SLUG_EXPIRED", "PEERS_LIST_EMPTY"], "x-browser-schema-id": "1698543165"}}, "/catalog/chatlists.getExportedInvites": {"post": {"operationId": "chatlists.getExportedInvites", "tags": ["Pastas de bate-papo"], "summary": "Listar todos os links diretos da pasta de bate-papo » associados a uma pasta", "description": "Listar todos os [links diretos da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links) associados a uma pasta\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 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": "### Erros MTProto (RPC)\n\n- 400 · `FILTER_ID_INVALID` — O ID do filtro especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "A pasta"}}, "additionalProperties": false, "required": ["chatlist"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Sim | A pasta |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID"], "x-browser-schema-id": "3456359043"}}, "/catalog/chatlists.checkChatlistInvite": {"post": {"operationId": "chatlists.checkChatlistInvite", "tags": ["Pastas de bate-papo"], "summary": "Obtenha informações sobre um link direto de uma pasta de bate-papo ».", "description": "Obtenha informações sobre um [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 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": "### Erros MTProto (RPC)\n\n- 400 · `INVITE_SLUG_EMPTY` — O slug de convite especificado está vazio.\n- 400 · `INVITE_SLUG_EXPIRED` — O link da pasta de bate-papo especificada expirou."}}, "externalDocs": {"description": "Documentação oficial do 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` obtido no [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links)"}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `slug` | `string` | Sim | `slug` obtido no [link direto da pasta de bate-papo »](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": ["Pastas de bate-papo"], "summary": "Importe um link direto da pasta de bate-papo », juntando-se a alguns ou todos os bate-papos da pasta.", "description": "Importe um [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links), juntando-se a alguns ou todos os bate-papos da pasta.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [Pastas de diálogo](https://core.telegram.org/api/folders.md)\n- [Configuração do 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` — Você entrou em muitos canais/supergrupos.\n- 400 · `CHATLISTS_TOO_MUCH` — Você criou muitos links de pasta, atingindo os `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [limites »](https://core.telegram.org/api/config.md#chatlist-invites-limit-default).\n- 400 · `FILTER_INCLUDE_EMPTY` — O vetor include_peers do filtro está vazio.\n- 400 · `INVITE_SLUG_EMPTY` — O slug de convite especificado está vazio.\n- 400 · `INVITE_SLUG_EXPIRED` — O link da pasta de bate-papo especificada expirou."}}, "externalDocs": {"description": "Documentação oficial do 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` obtido de um [link direto da pasta de bate-papo »](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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Lista de novos chats para entrar, obtida usando [chatlists.checkChatlistInvite](https://core.telegram.org/method/chatlists.checkChatlistInvite.md) e filtrada conforme especificado na [documentação »](https://core.telegram.org/api/folders.md#shared-folders)."}}, "additionalProperties": false, "required": ["slug", "peers"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `slug` | `string` | Sim | `slug` obtido de um [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links). |\n| `peers` | `Vector<InputPeer>` | Sim | Lista de novos chats para entrar, obtida usando [chatlists.checkChatlistInvite](https://core.telegram.org/method/chatlists.checkChatlistInvite.md) e filtrada conforme especificado na [documentação »](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": ["Pastas de bate-papo"], "summary": "Obtenha novos bate-papos associados a um link direto de pasta de bate-papo importado ». Deve ser invocado no máximo a cada `chatlist_update_period` segundos (conforme o parâmetro de configuração do cliente relacionado »).", "description": "Busque novos bate-papos associados a um [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links) importado. Deve ser invocado no máximo a cada `chatlist_update_period` segundos (conforme o [parâmetro de configuração do cliente »](https://core.telegram.org/api/config.md#chatlist-update-period) relacionado).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](https://core.telegram.org/api/links.md)\n- [Configuração do 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 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": "### Erros MTProto (RPC)\n\n- 400 · `FILTER_ID_INVALID` — O ID do filtro especificado é inválido.\n- 400 · `FILTER_NOT_SUPPORTED` — O filtro especificado não pode ser usado neste contexto.\n- 400 · `INPUT_CHATLIST_INVALID` — A pasta especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "A pasta"}}, "additionalProperties": false, "required": ["chatlist"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Sim | A pasta |"}, "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": ["Pastas de bate-papo"], "summary": "Junte-se a canais e supergrupos adicionados recentemente a um link direto de uma pasta de bate-papo ».", "description": "Junte-se a canais e supergrupos adicionados recentemente a um [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Pastas de diálogo](https://core.telegram.org/api/folders.md)\n- [Links diretos](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `FILTER_ID_INVALID` — O ID do filtro especificado é inválido.\n- 400 · `FILTER_INCLUDE_EMPTY` — O vetor include_peers do filtro está vazio."}}, "externalDocs": {"description": "Documentação oficial do 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": "A pasta"}, "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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Lista de novos chats para entrar, obtida usando [chatlists.getChatlistUpdates](https://core.telegram.org/method/chatlists.getChatlistUpdates.md) e filtrada conforme especificado na [documentação »](https://core.telegram.org/api/folders.md#shared-folders)."}}, "additionalProperties": false, "required": ["chatlist", "peers"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Sim | A pasta |\n| `peers` | `Vector<InputPeer>` | Sim | Lista de novos chats para entrar, obtida usando [chatlists.getChatlistUpdates](https://core.telegram.org/method/chatlists.getChatlistUpdates.md) e filtrada conforme especificado na [documentação »](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": ["Pastas de bate-papo"], "summary": "Dispensar novos pares pendentes adicionados recentemente a um link direto de uma pasta de bate-papo ».", "description": "Dispensar novos pares pendentes adicionados recentemente a um [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `FILTER_ID_INVALID` — O ID do filtro especificado é inválido.\n- 400 · `FILTER_NOT_SUPPORTED` — O filtro especificado não pode ser usado neste contexto."}}, "externalDocs": {"description": "Documentação oficial do 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": "A pasta"}}, "additionalProperties": false, "required": ["chatlist"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Sim | A pasta |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID", "FILTER_NOT_SUPPORTED"], "x-browser-schema-id": "1726252795"}}, "/catalog/chatlists.getLeaveChatlistSuggestions": {"post": {"operationId": "chatlists.getLeaveChatlistSuggestions", "tags": ["Pastas de bate-papo"], "summary": "Retorna identificadores de bate-papos fixados ou sempre incluídos de uma pasta de bate-papo importada usando um link direto da pasta de bate-papo », que é sugerido que sejam deixados quando a pasta de bate-papo for excluída.", "description": "Retorna identificadores de bate-papos fixados ou sempre incluídos de uma pasta de bate-papo importada usando um [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links), que é sugerido para ser deixado quando a pasta de bate-papo for excluída.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 MTProto · `Vector<Peer>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[Peer](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": "### Erros MTProto (RPC)\n\n- 400 · `FILTER_ID_INVALID` — O ID do filtro especificado é inválido.\n- 400 · `FILTER_NOT_SUPPORTED` — O filtro especificado não pode ser usado neste contexto."}}, "externalDocs": {"description": "Documentação oficial do 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 da pasta"}}, "additionalProperties": false, "required": ["chatlist"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Sim | ID da pasta |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID", "FILTER_NOT_SUPPORTED"], "x-browser-schema-id": "4257011476"}}, "/catalog/chatlists.leaveChatlist": {"post": {"operationId": "chatlists.leaveChatlist", "tags": ["Pastas de bate-papo"], "summary": "Excluir uma pasta importada usando um link direto da pasta de bate-papo »", "description": "Exclua uma pasta importada usando um [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `FILTER_ID_INVALID` — O ID do filtro especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 da pasta"}, "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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Deixe também os canais e grupos especificados"}}, "additionalProperties": false, "required": ["chatlist", "peers"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Sim | ID da pasta |\n| `peers` | `Vector<InputPeer>` | Sim | Deixe também os canais e grupos especificados |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID"], "x-browser-schema-id": "1962598714"}}, "/catalog/stories.canSendStory": {"post": {"operationId": "stories.canSendStory", "tags": ["Histórias"], "summary": "Verifique se podemos postar histórias como o par especificado.", "description": "Verifique se podemos postar histórias como o par especificado.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Aumentos de canal e supergrupo](https://core.telegram.org/api/boost.md)\n- [Configuração do 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 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": "Digite TL: stories.CanSendStoryCount."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOOSTS_REQUIRED` — O canal especificado deve primeiro ser [impulsionado por seus usuários](https://core.telegram.org/api/boost.md) para executar esta ação.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação.\n- 400 · `STORIES_TOO_MUCH` — Você atingiu o limite máximo de histórias ativas conforme especificado pelos [`story_expiring_limit_*` parâmetros de configuração do cliente](https://core.telegram.org/api/config.md#story-expiring-limit-default): você deve comprar uma assinatura [Premium](https://core.telegram.org/api/premium.md), excluir uma história ativa ou esperar que a história mais antiga expire.\n- 400 · `STORY_SEND_FLOOD_MONTHLY_%d` — Você atingiu o limite mensal de histórias conforme especificado pelos [`stories_sent_monthly_limit_*` parâmetros de configuração do cliente](https://core.telegram.org/api/config.md#stories-sent-monthly-limit-default): espere %d segundos antes de postar uma nova história.\n- 400 · `STORY_SEND_FLOOD_WEEKLY_%d` — Você atingiu o limite semanal de histórias conforme especificado pelos [`stories_sent_weekly_limit_*` parâmetros de configuração do cliente](https://core.telegram.org/api/config.md#stories-sent-weekly-limit-default): aguarde %d segundos antes de postar uma nova história."}}, "externalDocs": {"description": "Documentação oficial do 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": "O par do qual desejamos postar histórias."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O par do qual desejamos postar histórias. |"}, "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": ["Histórias"], "summary": "Carrega uma história do Telegram.", "description": "Carrega uma [História do Telegram](https://core.telegram.org/api/stories.md).\n\nTambém pode ser usado em uma [conexão comercial](https://core.telegram.org/api/bots/connected-business-bots.md), *não* envolvendo a consulta em [invokeWithBusinessConnection »](https://core.telegram.org/method/invokeWithBusinessConnection.md), mas especificando o ID de um usuário comercial controlado em `peer`.\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](https://core.telegram.org/api/stories.md)\n- [Texto estilizado com entidades de mensagem](https://core.telegram.org/api/entities.md)\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Configurações de privacidade](https://core.telegram.org/api/privacy.md)\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Bots de negócios conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Aumentos de canal e supergrupo](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOOSTS_REQUIRED` — O canal especificado deve primeiro ser [impulsionado por seus usuários](https://core.telegram.org/api/boost.md) para executar esta ação.\n- 403 · `BOT_ACCESS_FORBIDDEN` — O método especificado *pode* ser usado em uma [conexão comercial](https://core.telegram.org/api/bots/connected-business-bots.md) para algumas operações, mas a consulta especificada tentou uma operação que não é permitida em uma conexão comercial.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `IMAGE_PROCESS_FAILED` — Falha no processamento da imagem.\n- 400 · `MEDIA_CAPTION_TOO_LONG` — A legenda é muito longa.\n- 400 · `MEDIA_EMPTY` — O objeto de mídia fornecido é inválido.\n- 400 · `MEDIA_FILE_INVALID` — O arquivo de mídia especificado é inválido.\n- 400 · `MEDIA_TYPE_INVALID` — O tipo de mídia especificado não pode ser usado em histórias.\n- 400 · `MEDIA_VIDEO_STORY_MISSING` — Um vídeo que não seja uma história não pode ser republicado como uma história (emitido ao tentar reenviar um vídeo que não seja uma história como uma história usando inputDocument).\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `PHOTO_INVALID_DIMENSIONS` — As dimensões da foto são inválidas.\n- 400 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação.\n- 400 · `REACTION_INVALID` — A reação especificada é inválida.\n- 400 · `STORIES_TOO_MUCH` — Você atingiu o limite máximo de histórias ativas conforme especificado pelos [`story_expiring_limit_*` parâmetros de configuração do cliente](https://core.telegram.org/api/config.md#story-expiring-limit-default): você deve comprar uma assinatura [Premium](https://core.telegram.org/api/premium.md), excluir uma história ativa ou esperar que a história mais antiga expire.\n- 400 · `STORY_PERIOD_INVALID` — O período da história especificado é inválido para esta conta.\n- 400 · `VENUE_ID_INVALID` — O ID do local especificado é inválido.\n- 400 · `VIDEO_DURATION_INVALID` — A duração do vídeo especificado é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se a história deve ser adicionada ao perfil automaticamente após a expiração. Se não for definido, a história será apenas adicionada ao arquivo, veja [aqui »](https://core.telegram.org/api/stories.md) para mais informações."}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Se definido, desativa encaminhamentos, capturas de tela e downloads."}, "fwd_modified": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Defina este sinalizador ao repassar histórias com `fwd_from_id`+`fwd_from_story`, se o `media` foi modificado antes de repassar."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "O par para o qual enviar a história."}, "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": "A mídia da história."}, "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 TL: MediaArea."}, "x-tl-type": "Vector<MediaArea>", "x-tl-flag": "flags.5?Vector<MediaArea>", "description": "[Áreas de mídia](https://core.telegram.org/api/stories.md#media-areas) associadas à história, veja [aqui »](https://core.telegram.org/api/stories.md#media-areas) para mais informações."}, "caption": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Legenda da história."}, "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado](https://core.telegram.org/api/entities.md), se permitido pelo [`stories_entities` parâmetro de configuração do 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 TL: InputPrivacyRule."}, "x-tl-type": "Vector<InputPrivacyRule>", "description": "[Regras de privacidade](https://core.telegram.org/api/privacy.md) para a história, indicando quem pode ou não ver a história."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "É necessário um ID exclusivo da mensagem do cliente para evitar o reenvio de mensagens. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID.", "x-tl-type": "long"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int", "description": "Período após o qual a história é movida para arquivo (e para o perfil se `pinned` estiver definido), em segundos; deve ser `6 * 3600`, `12 * 3600`, `86400` ou `2 * 86400` para usuários do Telegram Premium e `86400` caso contrário."}, "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": "Se definido, indica que esta história é uma repostagem da história com ID `fwd_from_story` postada pelo colega em `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": "Se definido, indica que esta história é uma repostagem da história com ID `fwd_from_story` postada pelo colega em `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": "Se definido, adiciona a história aos álbuns especificados."}, "music": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Se definida, a trilha de áudio será reproduzida como música de fundo da história.", "x-tl-flag": "flags.9?InputDocument"}}, "additionalProperties": false, "required": ["peer", "media", "privacy_rules", "random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `pinned` | `true` | Não | Se a história deve ser adicionada ao perfil automaticamente após a expiração. Se não for definido, a história será apenas adicionada ao arquivo, veja [aqui »](https://core.telegram.org/api/stories.md) para mais informações. |\n| `noforwards` | `true` | Não | Se definido, desativa encaminhamentos, capturas de tela e downloads. |\n| `fwd_modified` | `true` | Não | Defina este sinalizador ao repassar histórias com `fwd_from_id`+`fwd_from_story`, se o `media` foi modificado antes de repassar. |\n| `peer` | `InputPeer` | Sim | O par para o qual enviar a história. |\n| `media` | `InputMedia` | Sim | A mídia da história. |\n| `media_areas` | `Vector<MediaArea>` | Não | [Áreas de mídia](https://core.telegram.org/api/stories.md#media-areas) associadas à história, veja [aqui »](https://core.telegram.org/api/stories.md#media-areas) para mais informações. |\n| `caption` | `string` | Não | Legenda da história. |\n| `entities` | `Vector<MessageEntity>` | Não | [Entidades de mensagem para texto estilizado](https://core.telegram.org/api/entities.md), se permitido pelo [`stories_entities` parâmetro de configuração do cliente »](https://core.telegram.org/api/config.md#stories-entities). |\n| `privacy_rules` | `Vector<InputPrivacyRule>` | Sim | [Regras de privacidade](https://core.telegram.org/api/privacy.md) para a história, indicando quem pode ou não ver a história. |\n| `random_id` | `long` | Sim | É necessário um ID exclusivo da mensagem do cliente para evitar o reenvio de mensagens. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID. |\n| `period` | `int` | Não | Período após o qual a história é movida para arquivo (e para o perfil se `pinned` estiver definido), em segundos; deve ser `6 * 3600`, `12 * 3600`, `86400` ou `2 * 86400` para usuários do Telegram Premium e `86400` caso contrário. |\n| `fwd_from_id` | `InputPeer` | Não | Se definido, indica que esta história é uma repostagem da história com ID `fwd_from_story` postada pelo colega em `fwd_from_id`. |\n| `fwd_from_story` | `int` | Não | Se definido, indica que esta história é uma repostagem da história com ID `fwd_from_story` postada pelo colega em `fwd_from_id`. |\n| `albums` | `Vector<int>` | Não | Se definido, adiciona a história aos álbuns especificados. |\n| `music` | `InputDocument` | Não | Se definida, a trilha de áudio será reproduzida como música de fundo da história. |"}, "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": ["Histórias"], "summary": "Editar uma história enviada", "description": "Edite uma [história](https://core.telegram.org/api/stories.md) enviada\n\nTambém pode ser usado em uma [conexão comercial](https://core.telegram.org/api/bots/connected-business-bots.md), *não* envolvendo a consulta em [invokeWithBusinessConnection »](https://core.telegram.org/method/invokeWithBusinessConnection.md), mas especificando o ID de um usuário comercial controlado em `peer`: neste contexto, o método só pode ser usado para editar histórias postadas pelo mesmo bot comercial em nome do usuário com [stories.sendStory](https://core.telegram.org/method/stories.sendStory.md).\n\n**Quem pode chamar esse método** · Usuários e bots do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](https://core.telegram.org/api/stories.md)\n- [Texto estilizado com entidades de mensagem](https://core.telegram.org/api/entities.md)\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Configurações de privacidade](https://core.telegram.org/api/privacy.md)\n- [Bots de negócios 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `STORY_NOT_MODIFIED` — As informações da nova história que você passou são iguais às informações da história anterior, portanto não foram modificadas."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde a história foi postada."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da história a ser editada."}, "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": "Se especificado, substitui a mídia da história.", "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 TL: MediaArea."}, "x-tl-type": "Vector<MediaArea>", "x-tl-flag": "flags.3?Vector<MediaArea>", "description": "[Áreas de mídia](https://core.telegram.org/api/stories.md#media-areas) associadas à história, veja [aqui »](https://core.telegram.org/api/stories.md#media-areas) para mais informações."}, "caption": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Se especificado, substitui a legenda da história."}, "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado na legenda](https://core.telegram.org/api/entities.md), se permitido pelo [`stories_entities` parâmetro de configuração do 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 TL: InputPrivacyRule."}, "x-tl-type": "Vector<InputPrivacyRule>", "x-tl-flag": "flags.2?Vector<InputPrivacyRule>", "description": "Se especificado, altera as [configurações de privacidade »](https://core.telegram.org/api/privacy.md) da história, alterando quem pode ou não ver a história."}, "music": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Se definida, a nova faixa de áudio será reproduzida como música de fundo da história.", "x-tl-flag": "flags.4?InputDocument"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde a história foi postada. |\n| `id` | `int` | Sim | ID da história a ser editada. |\n| `media` | `InputMedia` | Não | Se especificado, substitui a mídia da história. |\n| `media_areas` | `Vector<MediaArea>` | Não | [Áreas de mídia](https://core.telegram.org/api/stories.md#media-areas) associadas à história, veja [aqui »](https://core.telegram.org/api/stories.md#media-areas) para mais informações. |\n| `caption` | `string` | Não | Se especificado, substitui a legenda da história. |\n| `entities` | `Vector<MessageEntity>` | Não | [Entidades de mensagem para texto estilizado na legenda](https://core.telegram.org/api/entities.md), se permitido pelo [`stories_entities` parâmetro de configuração do cliente »](https://core.telegram.org/api/config.md#stories-entities). |\n| `privacy_rules` | `Vector<InputPrivacyRule>` | Não | Se especificado, altera as [configurações de privacidade »](https://core.telegram.org/api/privacy.md) da história, alterando quem pode ou não ver a história. |\n| `music` | `InputDocument` | Não | Se definida, a nova faixa de áudio será reproduzida como música de fundo da história. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "STORY_NOT_MODIFIED"], "x-browser-schema-id": "744728363"}}, "/catalog/stories.deleteStories": {"post": {"operationId": "stories.deleteStories", "tags": ["Histórias"], "summary": "Exclui algumas histórias postadas.", "description": "Exclui algumas [histórias](https://core.telegram.org/api/stories.md) postadas.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](https://core.telegram.org/api/stories.md)\n- [Bots de negócios conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Negócio de telegrama](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 MTProto · `Vector<int>`.\n\n[Vetor](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": "### Erros MTProto (RPC)\n\n- 403 · `BOT_ACCESS_FORBIDDEN` — O método especificado *pode* ser usado em uma [conexão comercial](https://core.telegram.org/api/bots/connected-business-bots.md) para algumas operações, mas a consulta especificada tentou uma operação que não é permitida em uma conexão comercial.\n- 400 · `BUSINESS_CONNECTION_INVALID` — O `connection_id` passado para a chamada de encapsulamento [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) é inválido.\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `STORY_ID_EMPTY` — Você não especificou nenhum ID de história."}}, "externalDocs": {"description": "Documentação oficial do 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/usuário de onde excluir histórias."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de histórias a serem excluídas."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Canal/usuário de onde excluir histórias. |\n| `id` | `Vector<int>` | Sim | IDs de histórias a serem excluídas. |"}, "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": ["Histórias"], "summary": "Fixar ou desafixar uma ou mais histórias", "description": "Fixar ou desafixar uma ou mais histórias\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Vector<int>`.\n\n[Vetor](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": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde fixar ou desafixar histórias"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de histórias para fixar ou desafixar"}, "pinned": {"type": "boolean", "x-tl-type": "Bool", "description": "Seja para fixar ou desafixar as histórias"}}, "additionalProperties": false, "required": ["peer", "id", "pinned"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde fixar ou desafixar histórias |\n| `id` | `Vector<int>` | Sim | IDs de histórias para fixar ou desafixar |\n| `pinned` | `Bool` | Sim | Seja para fixar ou desafixar as histórias |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2591400431"}}, "/catalog/stories.getAllStories": {"post": {"operationId": "stories.getAllStories", "tags": ["Histórias"], "summary": "Obtenha a lista de histórias ativas (ou ativas e ocultas), veja aqui » para mais informações sobre como assistir histórias.", "description": "Obtenha a lista de histórias ativas (ou ativas e ocultas), veja [aqui »](https://core.telegram.org/api/stories.md#watching-stories) para mais informações sobre como assistir histórias.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](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 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": "Digite TL: stories.AllStories."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Se `next` e `state` estiverem definidos, usa o `state` passado para paginar para os próximos resultados; se nem `state` nem `next` estiverem definidos, busca a página inicial; se `state` estiver definido e `next` não estiver definido, verifique se há alterações no peerset ativo/oculto, consulte [aqui »](https://core.telegram.org/api/stories.md#watching-stories) para obter mais informações sobre o fluxo completo."}, "hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Se definido, busca a lista de histórias ativas ocultas, caso contrário, busca a lista de histórias ativas, veja [aqui »](https://core.telegram.org/api/stories.md#watching-stories) para mais informações sobre o fluxo completo."}, "state": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Se `next` e `state` estiverem definidos, usa o `state` passado para paginar para os próximos resultados; se nem `state` nem `next` estiverem definidos, busca a página inicial; se `state` estiver definido e `next` não estiver definido, verifique se há alterações no peerset ativo/oculto, consulte [aqui »](https://core.telegram.org/api/stories.md#watching-stories) para obter mais informações sobre o fluxo completo."}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `next` | `true` | Não | Se `next` e `state` estiverem definidos, usa o `state` passado para paginar para os próximos resultados; se nem `state` nem `next` estiverem definidos, busca a página inicial; se `state` estiver definido e `next` não estiver definido, verifique se há alterações no peerset ativo/oculto, consulte [aqui »](https://core.telegram.org/api/stories.md#watching-stories) para obter mais informações sobre o fluxo completo. |\n| `hidden` | `true` | Não | Se definido, busca a lista de histórias ativas ocultas, caso contrário, busca a lista de histórias ativas, veja [aqui »](https://core.telegram.org/api/stories.md#watching-stories) para mais informações sobre o fluxo completo. |\n| `state` | `string` | Não | Se `next` e `state` estiverem definidos, usa o `state` passado para paginar para os próximos resultados; se nem `state` nem `next` estiverem definidos, busca a página inicial; se `state` estiver definido e `next` não estiver definido, verifique se há alterações no peerset ativo/oculto, consulte [aqui »](https://core.telegram.org/api/stories.md#watching-stories) para obter mais informações sobre o fluxo completo. |"}, "x-browser-schema-id": "4004566565"}}, "/catalog/stories.getPinnedStories": {"post": {"operationId": "stories.getPinnedStories", "tags": ["Histórias"], "summary": "Busque as histórias fixadas no perfil de um colega.", "description": "Busque as [stories](https://core.telegram.org/api/stories.md#pinned-or-archived-stories) fixadas no perfil de um colega.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Histórias de telegrama](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `USER_ID_INVALID` — O ID de usuário fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Peer cujas histórias fixadas devem ser buscadas"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset_id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Peer cujas histórias fixadas devem ser buscadas |\n| `offset_id` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Histórias"], "summary": "Busque o arquivo de histórias » de um colega que controlamos.", "description": "Busque o [arquivo de histórias »](https://core.telegram.org/api/stories.md#pinned-or-archived-stories) de um par que controlamos.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Histórias de telegrama](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Peer cujas histórias arquivadas devem ser buscadas"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset_id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Peer cujas histórias arquivadas devem ser buscadas |\n| `offset_id` | `int` | Sim | [Deslocamentos para paginação, para mais informações clique aqui](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Histórias"], "summary": "Obtenha informações completas sobre um conjunto de histórias por meio de seus IDs.", "description": "Obtenha informações completas sobre um conjunto de [stories](https://core.telegram.org/api/stories.md) por seus IDs.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `STORIES_NEVER_CREATED` — Este colega nunca postou nenhuma história.\n- 400 · `STORY_ID_EMPTY` — Você não especificou nenhum ID de história."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde as histórias foram postadas"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de histórias"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde as histórias foram postadas |\n| `id` | `Vector<int>` | Sim | IDs de histórias |"}, "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": ["Histórias"], "summary": "Oculte as histórias ativas de um peer específico, evitando que sejam exibidas na barra de ações da tela inicial.", "description": "Oculte as histórias ativas de um peer específico, evitando que sejam exibidas na barra de ações da tela inicial.", "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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja ocultar ou exibir todas as histórias ativas do par"}}, "additionalProperties": false, "required": ["hidden"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hidden` | `Bool` | Sim | Se deseja ocultar ou exibir todas as histórias ativas do par |"}, "x-browser-schema-id": "2082822084"}}, "/catalog/stories.readStories": {"post": {"operationId": "stories.readStories", "tags": ["Histórias"], "summary": "Marcar todas as histórias até um determinado ID como lidas, para um determinado par; emitirá uma atualização updateReadStories para todas as sessões logadas.", "description": "Marcar todas as histórias até um determinado ID como lidas, para um determinado par; emitirá uma atualização [updateReadStories](https://core.telegram.org/constructor/updateReadStories.md) para todas as sessões logadas.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Vector<int>`.\n\n[Vetor](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": "### Erros MTProto (RPC)\n\n- 400 · `MAX_ID_INVALID` — O ID máximo fornecido é inválido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `STORIES_NEVER_CREATED` — Este colega nunca postou nenhuma história."}}, "externalDocs": {"description": "Documentação oficial do 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": "O colega cujas histórias devem ser marcadas como lidas."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Marcar todas as histórias até e incluindo este ID como lidas"}}, "additionalProperties": false, "required": ["peer", "max_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O colega cujas histórias devem ser marcadas como lidas. |\n| `max_id` | `int` | Sim | Marcar todas as histórias até e incluindo este ID como lidas |"}, "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": ["Histórias"], "summary": "Aumente o contador de visualizações de uma ou mais histórias.", "description": "Aumente o contador de visualizações de uma ou mais histórias.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `STORY_ID_EMPTY` — Você não especificou nenhum ID de história."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde as histórias foram postadas."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs das histórias (máximo 200 por vez)."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde as histórias foram postadas. |\n| `id` | `Vector<int>` | Sim | IDs das histórias (máximo 200 por vez). |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "STORY_ID_EMPTY"], "x-browser-schema-id": "2986511099"}}, "/catalog/stories.getStoryViewsList": {"post": {"operationId": "stories.getStoryViewsList", "tags": ["Histórias"], "summary": "Obtenha a lista de usuários que visualizaram uma história específica que postamos", "description": "Obtenha a lista de usuários que visualizaram uma [história que postamos](https://core.telegram.org/api/stories.md) específica\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Lista de contatos](https://core.telegram.org/api/contacts.md)\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Histórias de telegrama](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 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": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `STORY_ID_INVALID` — O ID da história especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja buscar apenas reações/visualizações feitas por nossos [contatos](https://core.telegram.org/api/contacts.md)"}, "reactions_first": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Se deve retornar informações de [storyView](https://core.telegram.org/constructor/storyView.md) sobre os usuários que reagiram à história (i.e. se definido, o servidor primeiro classificará os resultados por data de visualização como de costume e, em seguida, também classificará a lista colocando [storyView](https://core.telegram.org/constructor/storyView.md)s com uma reação associada primeiro na lista). Ignorado se `forwards_first` estiver definido."}, "forwards_first": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Se definido, retorna primeiro os encaminhamentos e repostagens, depois as reações e depois outras visualizações; caso contrário, retorna interações classificadas apenas por data de interação."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Veja onde a história foi postada"}, "q": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Procure por pares específicos"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da história"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento para paginação, obtido 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 serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "id", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `just_contacts` | `true` | Não | Se deseja buscar apenas reações/visualizações feitas por nossos [contatos](https://core.telegram.org/api/contacts.md) |\n| `reactions_first` | `true` | Não | Se deve retornar informações de [storyView](https://core.telegram.org/constructor/storyView.md) sobre os usuários que reagiram à história (i.e. se definido, o servidor primeiro classificará os resultados por data de visualização como de costume e, em seguida, também classificará a lista colocando [storyView](https://core.telegram.org/constructor/storyView.md)s com uma reação associada primeiro na lista). Ignorado se `forwards_first` estiver definido. |\n| `forwards_first` | `true` | Não | Se definido, retorna primeiro os encaminhamentos e repostagens, depois as reações e depois outras visualizações; caso contrário, retorna interações classificadas apenas por data de interação. |\n| `peer` | `InputPeer` | Sim | Veja onde a história foi postada |\n| `q` | `string` | Não | Procure por pares específicos |\n| `id` | `int` | Sim | ID da história |\n| `offset` | `string` | Sim | Deslocamento para paginação, obtido de [stories.storyViewsList](https://core.telegram.org/constructor/stories.storyViewsList.md).`next_offset` |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Histórias"], "summary": "Obtenha informações sobre a contagem de visualizações, contagem futura, reações e espectadores recentes de uma ou mais histórias.", "description": "Obtenha informações sobre a contagem de visualizações, contagem futura, reações e espectadores recentes de uma ou mais [stories](https://core.telegram.org/api/stories.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](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 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": "Digite TL: stories.StoryViews."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `STORY_ID_EMPTY` — Você não especificou nenhum ID de história."}}, "externalDocs": {"description": "Documentação oficial do 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": "Par cujas histórias devem ser buscadas"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de histórias"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par cujas histórias devem ser buscadas |\n| `id` | `Vector<int>` | Sim | IDs de histórias |"}, "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": ["Histórias"], "summary": "Gere um link direto de história para uma história específica", "description": "Gere um [link direto da história](https://core.telegram.org/api/links.md#story-links) para uma história específica\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Links diretos](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 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 TL: ExportedStoryLink."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `STORY_ID_EMPTY` — Você não especificou nenhum ID de história.\n- 400 · `USER_PUBLIC_MISSING` — Não é possível gerar um link para histórias postadas por um colega sem nome de usuário."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde a história foi postada"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da história"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde a história foi postada |\n| `id` | `int` | Sim | ID da história |"}, "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": ["Histórias"], "summary": "Relate uma história.", "description": "Relate uma história.\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `ReportResult`.\n\n[Resultado do Relatório](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 TL: ReportResult."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O colega que carregou a história."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs das histórias a serem relatadas."}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Opção de menu, inicialmente vazia"}, "message": {"type": "string", "x-tl-type": "string", "description": "Comentário para moderação do relatório"}}, "additionalProperties": false, "required": ["peer", "id", "option", "message"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O colega que carregou a história. |\n| `id` | `Vector<int>` | Sim | IDs das histórias a serem relatadas. |\n| `option` | `bytes` | Sim | Opção de menu, inicialmente vazia |\n| `message` | `string` | Sim | Comentário para moderação do relatório |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "433646405"}}, "/catalog/stories.activateStealthMode": {"post": {"operationId": "stories.activateStealthMode", "tags": ["Histórias"], "summary": "Ativa o modo furtivo de histórias, veja aqui » para mais informações.", "description": "Ativa [modo furtivo de histórias](https://core.telegram.org/api/stories.md#stealth-mode), veja [aqui »](https://core.telegram.org/api/stories.md#stealth-mode) para mais informações.\n\nRetornará um [updateStoriesStealthMode](https://core.telegram.org/constructor/updateStoriesStealthMode.md).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Histórias de telegrama](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PREMIUM_ACCOUNT_REQUIRED` — É necessária uma conta premium para executar esta ação."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja apagar visualizações de quaisquer histórias abertas nos últimos [`stories_stealth_past_period` segundos »](https://core.telegram.org/api/config.md#stories-stealth-past-period), conforme especificado pela [configuração do 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": "Se deseja ocultar visualizações futuras de histórias pelos próximos [`stories_stealth_future_period` segundos »](https://core.telegram.org/api/config.md#stories-stealth-future-period), conforme especificado pela [configuração do cliente](https://core.telegram.org/api/config.md#client-configuration)."}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `past` | `true` | Não | Se deseja apagar visualizações de quaisquer histórias abertas nos últimos [`stories_stealth_past_period` segundos »](https://core.telegram.org/api/config.md#stories-stealth-past-period), conforme especificado pela [configuração do cliente](https://core.telegram.org/api/config.md#client-configuration). |\n| `future` | `true` | Não | Se deseja ocultar visualizações futuras de histórias pelos próximos [`stories_stealth_future_period` segundos »](https://core.telegram.org/api/config.md#stories-stealth-future-period), conforme especificado pela [configuração do 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": ["Histórias"], "summary": "Reaja a uma história.", "description": "Reaja a uma história.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Reações de mensagens](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `REACTION_INVALID` — A reação especificada é inválida.\n- 400 · `STORIES_NEVER_CREATED` — Este colega nunca postou nenhuma história.\n- 400 · `STORY_ID_EMPTY` — Você não especificou nenhum ID de história.\n- 400 · `STORY_ID_INVALID` — O ID da história especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se esta reação deve ser adicionada à [lista de reações recentes »](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": "O colega que enviou a história"}, "story_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da história para reagir"}, "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": "Reação"}}, "additionalProperties": false, "required": ["peer", "story_id", "reaction"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `add_to_recent` | `true` | Não | Se esta reação deve ser adicionada à [lista de reações recentes »](https://core.telegram.org/api/reactions.md#recent-reactions). |\n| `peer` | `InputPeer` | Sim | O colega que enviou a história |\n| `story_id` | `int` | Sim | ID da história para reagir |\n| `reaction` | `Reaction` | Sim | Reação |"}, "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": ["Histórias"], "summary": "Obtenha a lista completa de histórias ativas de um par específico.", "description": "Obtenha a [lista de histórias](https://core.telegram.org/api/stories.md#watching-stories) ativa completa de um par específico.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](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 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": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `MSG_ID_INVALID` — ID de mensagem inválido fornecido.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Par cujas histórias devem ser buscadas"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par cujas histórias devem ser buscadas |"}, "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": ["Histórias"], "summary": "Obtenha o ID da história lida mais recente para todos os pares ao fazer login pela primeira vez, retornado como uma lista de atualizações de updateReadStories, veja aqui » para mais informações.", "description": "Obtenha o ID da história lida mais recente para todos os pares ao fazer login pela primeira vez, retornado como uma lista de atualizações [updateReadStories](https://core.telegram.org/constructor/updateReadStories.md), consulte [aqui »](https://core.telegram.org/api/stories.md#watching-stories) para obter mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}}, "externalDocs": {"description": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/stories.getAllReadPeerStories"}, "x-browser-schema-id": "2606426105"}}, "/catalog/stories.getPeerMaxIDs": {"post": {"operationId": "stories.getPeerMaxIDs", "tags": ["Histórias"], "summary": "Obtenha resumos compactos de histórias ativas » para um conjunto de colegas.", "description": "Obtenha [resumos de histórias ativas »](https://core.telegram.org/api/stories.md#recent-story-summaries) compactos para um conjunto de colegas.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](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 MTProto · `Vector<RecentStory>`.\n\n[Vetor](https://core.telegram.org/type/Vector%20t)<[História recente](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 TL: RecentStory."}, "x-tl-type": "Vector<RecentStory>"}}}}}, "externalDocs": {"description": "Documentação oficial do 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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Pares cujos [resumos de histórias ativas »](https://core.telegram.org/api/stories.md#recent-story-summaries) devem ser buscados."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputPeer>` | Sim | Pares cujos [resumos de histórias ativas »](https://core.telegram.org/api/stories.md#recent-story-summaries) devem ser buscados. |"}, "x-browser-schema-id": "2018087280"}}, "/catalog/stories.getChatsToSend": {"post": {"operationId": "stories.getChatsToSend", "tags": ["Histórias"], "summary": "Obtenha uma lista de canais onde o usuário pode postar histórias", "description": "Obtenha uma lista de canais onde o usuário pode postar [stories](https://core.telegram.org/api/stories.md)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](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 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": "Documentação oficial do Telegram", "url": "https://core.telegram.org/method/stories.getChatsToSend"}, "x-browser-schema-id": "2775223136"}}, "/catalog/stories.togglePeerStoriesHidden": {"post": {"operationId": "stories.togglePeerStoriesHidden", "tags": ["Histórias"], "summary": "Ocultar as histórias ativas de um usuário, evitando que sejam exibidas na barra de ações da tela inicial, veja aqui » para mais informações.", "description": "Ocultar as histórias ativas de um usuário, evitando que sejam exibidas na barra de ação da tela inicial, veja [aqui »](https://core.telegram.org/api/stories.md#hiding-stories-of-other-users) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Pares cujas histórias devem ser (des)ocultadas."}, "hidden": {"type": "boolean", "x-tl-type": "Bool", "description": "Seja para ocultar ou reexibir histórias."}}, "additionalProperties": false, "required": ["peer", "hidden"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Pares cujas histórias devem ser (des)ocultadas. |\n| `hidden` | `Bool` | Sim | Seja para ocultar ou reexibir histórias. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3171161540"}}, "/catalog/stories.getStoryReactionsList": {"post": {"operationId": "stories.getStoryReactionsList", "tags": ["Histórias"], "summary": "Obtenha a lista de reações e interações de uma história postada em um canal, junto com o remetente de cada reação.", "description": "Obtenha a [reação](https://core.telegram.org/api/reactions.md) e a lista de interações de uma [story](https://core.telegram.org/api/stories.md) postada em um canal, junto com o remetente de cada reação.\n\nSó pode ser usado por administradores de canal.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](https://core.telegram.org/api/stories.md)\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Reações de mensagens](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 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": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, retorna primeiro os encaminhamentos e repostagens, depois as reações e depois outras visualizações; caso contrário, retorna interações classificadas apenas por data de interação."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/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": "[História](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": "Obtenha apenas reações deste tipo", "x-tl-flag": "flags.0?Reaction"}, "offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Offset para paginação (retirado do campo `next_offset` do retornado [stories.StoryReactionsList](https://core.telegram.org/type/stories.StoryReactionsList.md)); vazio na primeira solicitação."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "id", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `forwards_first` | `true` | Não | Se definido, retorna primeiro os encaminhamentos e repostagens, depois as reações e depois outras visualizações; caso contrário, retorna interações classificadas apenas por data de interação. |\n| `peer` | `InputPeer` | Sim | Canal |\n| `id` | `int` | Sim | [História](https://core.telegram.org/api/stories.md) ID |\n| `reaction` | `Reaction` | Não | Obtenha apenas reações deste tipo |\n| `offset` | `string` | Não | Offset para paginação (retirado do campo `next_offset` do retornado [stories.StoryReactionsList](https://core.telegram.org/type/stories.StoryReactionsList.md)); vazio na primeira solicitação. |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Histórias"], "summary": "Fixe algumas histórias no topo do perfil, veja aqui » para mais informações.", "description": "Fixe algumas histórias no topo do perfil, veja [aqui »](https://core.telegram.org/api/stories.md#pinned-or-archived-stories) para mais informações.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Histórias de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `STORY_ID_INVALID` — O ID da história especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde fixar histórias."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs das histórias a serem fixadas (máx. [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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde fixar histórias. |\n| `id` | `Vector<int>` | Sim | IDs das histórias a serem fixadas (máx. [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": ["Histórias"], "summary": "Pesquise histórias globalmente usando uma hashtag ou uma área de mídia de localização, veja aqui » para mais informações sobre o fluxo completo.", "description": "Pesquise globalmente por [histórias](https://core.telegram.org/api/stories.md) usando uma hashtag ou uma [área de mídia de localização](https://core.telegram.org/api/stories.md#location-tags), veja [aqui »](https://core.telegram.org/api/stories.md#searching-stories) para obter mais informações sobre o fluxo completo.\n\nOu `hashtag` **ou** `area` **deve** ser definido ao invocar o método.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Histórias de telegrama](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 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": "### Erros MTProto (RPC)\n\n- 400 · `HASHTAG_INVALID` — A hashtag especificada é inválida."}}, "externalDocs": {"description": "Documentação oficial do 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 (sem o `#`)"}, "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": "Um [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md) ou um [mediaAreaVenue](https://core.telegram.org/constructor/mediaAreaVenue.md).   Nota As áreas [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md) podem ser pesquisadas apenas se tiverem um `address` associado.", "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": "Se definido, retorna apenas histórias postadas por este par.", "x-tl-flag": "flags.2?InputPeer"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento para [paginação](https://core.telegram.org/api/offsets.md): inicialmente uma string vazia, depois o `next_offset` do [stories.foundStories](https://core.telegram.org/constructor/stories.foundStories.md) retornado anteriormente."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hashtag` | `string` | Não | Hashtag (sem o `#`) |\n| `area` | `MediaArea` | Não | Um [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md) ou um [mediaAreaVenue](https://core.telegram.org/constructor/mediaAreaVenue.md).   Nota As áreas [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md) podem ser pesquisadas apenas se tiverem um `address` associado. |\n| `peer` | `InputPeer` | Não | Se definido, retorna apenas histórias postadas por este par. |\n| `offset` | `string` | Sim | Deslocamento para [paginação](https://core.telegram.org/api/offsets.md): inicialmente uma string vazia, depois o `next_offset` do [stories.foundStories](https://core.telegram.org/constructor/stories.foundStories.md) retornado anteriormente. |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Histórias"], "summary": "Cria um álbum de histórias.", "description": "Cria um [álbum de histórias](https://core.telegram.org/api/stories.md#story-albums).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](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 MTProto · `StoryAlbum`.\n\n[Álbum de histórias](https://core.telegram.org/type/StoryAlbum.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StoryAlbum", "oneOf": [{"$ref": "#/components/schemas/storyAlbum"}], "description": "Digite TL: StoryAlbum."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O peer de propriedade onde criar o álbum."}, "title": {"type": "string", "x-tl-type": "string", "description": "Nome do álbum."}, "stories": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Histórias para adicionar ao álbum."}}, "additionalProperties": false, "required": ["peer", "title", "stories"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O peer de propriedade onde criar o álbum. |\n| `title` | `string` | Sim | Nome do álbum. |\n| `stories` | `Vector<int>` | Sim | Histórias para adicionar ao álbum. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2741212901"}}, "/catalog/stories.updateAlbum": {"post": {"operationId": "stories.updateAlbum", "tags": ["Histórias"], "summary": "Renomeie um álbum de histórias » ou adicione, exclua ou reordene histórias nele.", "description": "Renomeie um [álbum de histórias »](https://core.telegram.org/api/stories.md#story-albums) ou adicione, exclua ou reordene histórias nele.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](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 MTProto · `StoryAlbum`.\n\n[Álbum de histórias](https://core.telegram.org/type/StoryAlbum.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StoryAlbum", "oneOf": [{"$ref": "#/components/schemas/storyAlbum"}], "description": "Digite TL: StoryAlbum."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde o álbum está postado."}, "album_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID do álbum."}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Título do novo á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": "Se definido, exclui as histórias especificadas do á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": "Se definido, adiciona as histórias especificadas ao á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": "Se definido, reordena as histórias do álbum por seus IDs."}}, "additionalProperties": false, "required": ["peer", "album_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde o álbum está postado. |\n| `album_id` | `int` | Sim | ID do álbum. |\n| `title` | `string` | Não | Título do novo álbum. |\n| `delete_stories` | `Vector<int>` | Não | Se definido, exclui as histórias especificadas do álbum. |\n| `add_stories` | `Vector<int>` | Não | Se definido, adiciona as histórias especificadas ao álbum. |\n| `order` | `Vector<int>` | Não | Se definido, reordena as histórias do álbum por seus IDs. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1582455222"}}, "/catalog/stories.reorderAlbums": {"post": {"operationId": "stories.reorderAlbums", "tags": ["Histórias"], "summary": "Reordene álbuns de histórias em um perfil ».", "description": "Reordene [álbuns de histórias em um perfil »](https://core.telegram.org/api/stories.md#story-albums).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde os álbuns estão localizados."}, "order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Nova ordem dos álbuns."}}, "additionalProperties": false, "required": ["peer", "order"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde os álbuns estão localizados. |\n| `order` | `Vector<int>` | Sim | Nova ordem dos álbuns. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2234907609"}}, "/catalog/stories.deleteAlbum": {"post": {"operationId": "stories.deleteAlbum", "tags": ["Histórias"], "summary": "Exclua um álbum de histórias.", "description": "Exclua um [álbum de histórias](https://core.telegram.org/api/stories.md#story-albums).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 propriedade onde o álbum está localizado."}, "album_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID do álbum a ser excluído."}}, "additionalProperties": false, "required": ["peer", "album_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Par de propriedade onde o álbum está localizado. |\n| `album_id` | `int` | Sim | ID do álbum a ser excluído. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2369017552"}}, "/catalog/stories.getAlbums": {"post": {"operationId": "stories.getAlbums", "tags": ["Histórias"], "summary": "Obtenha álbuns de histórias criados por um colega.", "description": "Obtenha [álbuns de histórias](https://core.telegram.org/api/stories.md#story-albums) criados por um colega.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Histórias de telegrama](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 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": "Digite TL: stories.Albums."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O par."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "O `hash` de um [stories.albums](https://core.telegram.org/constructor/stories.albums.md) retornado anteriormente, para evitar o retorno de quaisquer resultados se eles não tiverem sido alterados.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O par. |\n| `hash` | `long` | Sim | O `hash` de um [stories.albums](https://core.telegram.org/constructor/stories.albums.md) retornado anteriormente, para evitar o retorno de quaisquer resultados se eles não tiverem sido alterados. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "632548039"}}, "/catalog/stories.getAlbumStories": {"post": {"operationId": "stories.getAlbumStories", "tags": ["Histórias"], "summary": "Obtenha histórias em um álbum de histórias ».", "description": "Obtenha histórias em um [álbum de histórias »](https://core.telegram.org/api/stories.md#story-albums).\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Paginação no API](https://core.telegram.org/api/offsets.md)\n- [Histórias de telegrama](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 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": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Veja onde o álbum está postado."}, "album_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID do álbum."}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Deslocamento para [paginação](https://core.telegram.org/api/offsets.md)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "album_id", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Veja onde o álbum está postado. |\n| `album_id` | `int` | Sim | ID do álbum. |\n| `offset` | `int` | Sim | Deslocamento para [paginação](https://core.telegram.org/api/offsets.md). |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": ["Histórias"], "summary": "Comece uma história ao vivo, opcionalmente usando o modo de transmissão ao vivo RTMP, veja aqui » para o fluxo completo.", "description": "Comece uma história ao vivo, opcionalmente usando o modo de transmissão ao vivo RTMP, veja [aqui »](https://core.telegram.org/api/group-calls.md#live-stories) para o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Chamadas em grupo](https://core.telegram.org/api/group-calls.md)\n- [Texto estilizado com entidades de mensagem](https://core.telegram.org/api/entities.md)\n- [Trabalhando com atualizações](https://core.telegram.org/api/updates.md)\n- [Canais, supergrupos, gigagrupos e 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 MTProto · `Updates`.\n\n[Atualizações](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/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: Atualizações."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) não suporta este recurso.\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `STORY_LIVE_ALREADY_%d` — Este peer já possui uma live story ativa e seu ID é igual a %d."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deseja fixar a história ao vivo no perfil do colega"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Se os espectadores devem ser impedidos de encaminhar ou salvar a história ao vivo"}, "rtmp_stream": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Crie a história ao vivo no [RTMP modo de transmissão ao vivo »](https://core.telegram.org/api/group-calls.md#stream-mode), onde um streamer externo publica todo o áudio e vídeo"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Usuário, supergrupo ou canal que será o dono da história ao vivo; grupos básicos não podem postar histórias ao vivo"}, "caption": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Legenda da história ao 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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado](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 TL: InputPrivacyRule."}, "x-tl-type": "Vector<InputPrivacyRule>", "description": "Regras de privacidade que definem quem pode ver a história ao vivo"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatório gerado pelo cliente usado para evitar histórias ao vivo duplicadas. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID.", "x-tl-type": "long"}, "messages_enabled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.6?Bool", "description": "Se a [sobreposição de mensagem na chamada »](https://core.telegram.org/api/group-calls.md#in-call-messages) deve ser habilitada"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Doação mínima de Telegram Stars exigida de usuários que não sejam o proprietário da história ao vivo para cada comentário; o proprietário sempre pode comentar sem doar e `0` permite comentários gratuitos para todos", "x-tl-type": "long", "x-tl-flag": "flags.7?long"}}, "additionalProperties": false, "required": ["peer", "privacy_rules", "random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `pinned` | `true` | Não | Se deseja fixar a história ao vivo no perfil do colega |\n| `noforwards` | `true` | Não | Se os espectadores devem ser impedidos de encaminhar ou salvar a história ao vivo |\n| `rtmp_stream` | `true` | Não | Crie a história ao vivo no [RTMP modo de transmissão ao vivo »](https://core.telegram.org/api/group-calls.md#stream-mode), onde um streamer externo publica todo o áudio e vídeo |\n| `peer` | `InputPeer` | Sim | Usuário, supergrupo ou canal que será o dono da história ao vivo; grupos básicos não podem postar histórias ao vivo |\n| `caption` | `string` | Não | Legenda da história ao vivo |\n| `entities` | `Vector<MessageEntity>` | Não | [Entidades de mensagem para texto estilizado](https://core.telegram.org/api/entities.md) |\n| `privacy_rules` | `Vector<InputPrivacyRule>` | Sim | Regras de privacidade que definem quem pode ver a história ao vivo |\n| `random_id` | `long` | Sim | ID aleatório gerado pelo cliente usado para evitar histórias ao vivo duplicadas. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID. |\n| `messages_enabled` | `Bool` | Não | Se a [sobreposição de mensagem na chamada »](https://core.telegram.org/api/group-calls.md#in-call-messages) deve ser habilitada |\n| `send_paid_messages_stars` | `long` | Não | Doação mínima de Telegram Stars exigida de usuários que não sejam o proprietário da história ao vivo para cada comentário; o proprietário sempre pode comentar sem doar e `0` permite comentários 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": "Obtém informações sobre os reforços que foram aplicados a um determinado canal ou supergrupo (somente administradores)", "description": "Obtém informações sobre os reforços que foram aplicados a um determinado canal ou supergrupo (somente administradores)\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Brindes e presentes](https://core.telegram.org/api/giveaways.md)\n- [Paginação no 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 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": "Digite TL: premium.BoostsList."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Você deve ser um administrador neste chat para fazer isso.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se deve retornar apenas informações sobre incentivos recebidos de [códigos de presente e brindes criados pelo 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": "O canal/supergrupo"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento para paginação, obtido 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 serem retornados, [ver paginação](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `gifts` | `true` | Não | Se deve retornar apenas informações sobre incentivos recebidos de [códigos de presente e brindes criados pelo canal/supergrupo »](https://core.telegram.org/api/giveaways.md) |\n| `peer` | `InputPeer` | Sim | O canal/supergrupo |\n| `offset` | `string` | Sim | Deslocamento para paginação, obtido de [premium.boostsList](https://core.telegram.org/constructor/premium.boostsList.md).`next_offset` |\n| `limit` | `int` | Sim | Número máximo de resultados a serem retornados, [ver paginação](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": "Obtenha quais peers estamos impulsionando no momento e quantos slots de boost ainda nos restam.", "description": "Obtenha quais pares estamos atualmente [boosting](https://core.telegram.org/api/boost.md) e quantos [boost slots](https://core.telegram.org/api/boost.md) ainda nos restam.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Aumentos de canal e supergrupo](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 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": "Digite TL: premium.MyBoosts."}}}}}, "externalDocs": {"description": "Documentação oficial do 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": "Aplique um ou mais reforços » a um par.", "description": "Aplique um ou mais [boosts »](https://core.telegram.org/api/boost.md) a um peer.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Aumentos de canal e supergrupo](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 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": "Digite TL: premium.MyBoosts."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `BOOSTS_EMPTY` — Nenhum slot de boost foi especificado.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido.\n- 400 · `SLOTS_EMPTY` — A lista de slots especificada está vazia."}}, "externalDocs": {"description": "Documentação oficial do 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": "Quais [boost slots](https://core.telegram.org/api/boost.md) atribuir 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": "O par a ser impulsionado."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `slots` | `Vector<int>` | Não | Quais [boost slots](https://core.telegram.org/api/boost.md) atribuir a este par. |\n| `peer` | `InputPeer` | Sim | O par a ser impulsionado. |"}, "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": "Obtém o número atual de reforços de um canal/supergrupo.", "description": "Obtém o [número de boosts](https://core.telegram.org/api/boost.md) atual de um canal/supergrupo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Aumentos de canal e supergrupo](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 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 de TL: premium.BoostsStatus."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID` — O canal fornecido é inválido.\n- 400 · `CHANNEL_PRIVATE` — Você não entrou neste canal/supergrupo.\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O par."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O 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": "Retorna as listas de boost que foram aplicadas a um canal/supergrupo por um usuário específico (somente administradores)", "description": "Retorna as listas de boost que foram aplicadas a um canal/supergrupo por um usuário específico (somente administradores)\n\n**Quem pode chamar esse método** · Usuários e bots do 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 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": "Digite TL: premium.BoostsList."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID` — O ID do peer fornecido é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O 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": "O usuário"}}, "additionalProperties": false, "required": ["peer", "user_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | O canal/supergrupo |\n| `user_id` | `InputUser` | Sim | O usuário |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "965037343"}}, "/catalog/smsjobs.isEligibleToJoin": {"post": {"operationId": "smsjobs.isEligibleToJoin", "tags": ["SMS"], "summary": "Verifique se podemos processar SMS jobs (somente clientes oficiais).", "description": "Verifique se podemos processar SMS jobs (somente clientes oficiais).\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: smsjobs.EligibilityToJoin."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 403 · `NOT_ELIGIBLE` — O usuário atual não é elegível para ingressar no Programa de login ponto a ponto."}}, "externalDocs": {"description": "Documentação oficial do 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 jobs SMS (somente clientes oficiais).", "description": "Habilite jobs SMS (somente clientes oficiais).\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `NOT_ELIGIBLE` — O usuário atual não é elegível para ingressar no Programa de login ponto a ponto."}}, "externalDocs": {"description": "Documentação oficial do 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": "Desative os trabalhos SMS (somente clientes oficiais).", "description": "Desative os trabalhos SMS (somente clientes oficiais).\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `NOT_JOINED` — O usuário atual não aderiu ao programa de login ponto a ponto."}}, "externalDocs": {"description": "Documentação oficial do 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": "Atualize as configurações do trabalho SMS (somente clientes oficiais).", "description": "Atualize as configurações do trabalho SMS (somente clientes oficiais).\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `NOT_JOINED` — O usuário atual não aderiu ao programa de login ponto a ponto."}}, "externalDocs": {"description": "Documentação oficial do 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 internacionais?"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `allow_international` | `true` | Não | Permitir números internacionais? |"}, "x-telegram-rpc-errors": ["NOT_JOINED"], "x-browser-schema-id": "155164863"}}, "/catalog/smsjobs.getStatus": {"post": {"operationId": "smsjobs.getStatus", "tags": ["SMS"], "summary": "Obtenha status de empregos SMS (somente clientes oficiais).", "description": "Obtenha status de empregos SMS (somente clientes oficiais).\n\n**Quem pode chamar esse método** · Somente usuários do 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 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": "Digite TL: smsjobs.Status."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `NOT_JOINED` — O usuário atual não aderiu ao programa de login ponto a ponto."}}, "externalDocs": {"description": "Documentação oficial do 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": "Obtenha informações sobre um trabalho SMS (somente clientes oficiais).", "description": "Obtenha informações sobre um trabalho SMS (somente clientes oficiais).\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `SmsJob`.\n\n[SmsJob](https://core.telegram.org/type/SmsJob.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "SmsJob", "oneOf": [{"$ref": "#/components/schemas/smsJob"}], "description": "Tipo de TL: SMSJob."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `SMSJOB_ID_INVALID` — O ID do trabalho especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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 do trabalho"}}, "additionalProperties": false, "required": ["job_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `job_id` | `string` | Sim | ID do trabalho |"}, "x-telegram-rpc-errors": ["SMSJOB_ID_INVALID"], "x-browser-schema-id": "2005766191"}}, "/catalog/smsjobs.finishJob": {"post": {"operationId": "smsjobs.finishJob", "tags": ["SMS"], "summary": "Conclua um trabalho SMS (somente clientes oficiais).", "description": "Conclua um trabalho SMS (somente clientes oficiais).\n\n**Quem pode chamar esse método** · Somente usuários do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `SMSJOB_ID_INVALID` — O ID do trabalho especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "ID do trabalho."}, "error": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Se falhar, o erro."}}, "additionalProperties": false, "required": ["job_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `job_id` | `string` | Sim | ID do trabalho. |\n| `error` | `string` | Não | Se falhar, o erro. |"}, "x-telegram-rpc-errors": ["SMSJOB_ID_INVALID"], "x-browser-schema-id": "1327415076"}}, "/catalog/fragment.getCollectibleInfo": {"post": {"operationId": "fragment.getCollectibleInfo", "tags": ["Fragment"], "summary": "Obtenha informações sobre um fragmento colecionável, veja aqui » para mais informações sobre o fluxo completo.", "description": "Obtenha informações sobre um [fragmento colecionável, veja aqui »](https://core.telegram.org/api/fragment.md#fetching-info-about-fragment-collectibles) para mais informações sobre o fluxo completo.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Fragmentos colecionáveis](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 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": "Digite TL: fragment.CollectibleInfo."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `COLLECTIBLE_INVALID` — O colecionável especificado é inválido.\n- 400 · `COLLECTIBLE_NOT_FOUND` — O colecionável especificado não foi encontrado."}}, "externalDocs": {"description": "Documentação oficial do 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": "Colecionável para buscar informações."}}, "additionalProperties": false, "required": ["collectible"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `collectible` | `InputCollectible` | Sim | Colecionável para buscar informações. |"}, "x-telegram-rpc-errors": ["COLLECTIBLE_INVALID", "COLLECTIBLE_NOT_FOUND"], "x-browser-schema-id": "3189671354"}}, "/catalog/aicompose.createTone": {"post": {"operationId": "aicompose.createTone", "tags": ["Editor com IA"], "summary": "Crie um novo tom de compositor de IA personalizado ».", "description": "Crie um novo [tom do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) personalizado.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Recursos 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 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 TL: AiComposeTone."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `AICOMPOSE_TONE_TITLE_INVALID` — O título do tom especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "Se definido, o usuário atual será creditado publicamente como o autor do tom"}, "emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[ID de emoji personalizado](https://core.telegram.org/api/custom-emoji.md) do ícone do tom", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string", "description": "Nome do tom legível por humanos, com até [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 caracteres de comprimento"}, "prompt": {"type": "string", "x-tl-type": "string", "description": "O prompt que descreve como a IA deve reformular as mensagens usando este tom, com até [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 caracteres"}}, "additionalProperties": false, "required": ["emoji_id", "title", "prompt"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `display_author` | `true` | Não | Se definido, o usuário atual será creditado publicamente como o autor do tom |\n| `emoji_id` | `long` | Sim | [ID de emoji personalizado](https://core.telegram.org/api/custom-emoji.md) do ícone do tom |\n| `title` | `string` | Sim | Nome do tom legível por humanos, com até [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 caracteres de comprimento |\n| `prompt` | `string` | Sim | O prompt que descreve como a IA deve reformular as mensagens usando este tom, com até [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 caracteres |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_TITLE_INVALID"], "x-browser-schema-id": "1252538643"}}, "/catalog/aicompose.updateTone": {"post": {"operationId": "aicompose.updateTone", "tags": ["Editor com IA"], "summary": "Edite um tom de composição de IA personalizado » criado anteriormente pelo usuário atual. Somente os campos cuja flag estiver definida serão modificados.", "description": "Edite um [tom do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) personalizado criado anteriormente pelo usuário atual. Somente os campos cuja flag estiver definida serão modificados.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Recursos 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 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 TL: AiComposeTone."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` — O tom especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O tom para editar"}, "display_author": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Se definido, altera se o usuário atual é creditado publicamente como o autor do tom (valor ternário, pode ser não definido, definido e verdadeiro, definido e falso)."}, "emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Se definido, o novo [ID de emoji personalizado](https://core.telegram.org/api/custom-emoji.md) do ícone do tom", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Se definido, o novo nome do tom legível por humanos, com até [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 caracteres"}, "prompt": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Se definido, o novo prompt que descreve como a IA deve reformular as mensagens usando este tom, com até [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 caracteres"}}, "additionalProperties": false, "required": ["tone"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | Sim | O tom para editar |\n| `display_author` | `Bool` | Não | Se definido, altera se o usuário atual é creditado publicamente como o autor do tom (valor ternário, pode ser não definido, definido e verdadeiro, definido e falso). |\n| `emoji_id` | `long` | Não | Se definido, o novo [ID de emoji personalizado](https://core.telegram.org/api/custom-emoji.md) do ícone do tom |\n| `title` | `string` | Não | Se definido, o novo nome do tom legível por humanos, com até [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 caracteres |\n| `prompt` | `string` | Não | Se definido, o novo prompt que descreve como a IA deve reformular as mensagens usando este tom, com até [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 caracteres |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "2419838809"}}, "/catalog/aicompose.saveTone": {"post": {"operationId": "aicompose.saveTone", "tags": ["Editor com IA"], "summary": "Instale ou desinstale um tom do compositor AI », adicionando-o ou removendo-o da lista de tons salvos do usuário atual.", "description": "Instale ou desinstale um [tom do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones), adicionando-o ou removendo-o da lista de tons salvos do usuário atual.\n\nUsuários não [Premium](https://core.telegram.org/api/premium.md) podem instalar até [aicompose\\_tone\\_saved\\_limit\\_default »](https://core.telegram.org/api/config.md#aicompose-tone-saved-limit-default) tons, usuários [Premium](https://core.telegram.org/api/premium.md) até [aicompose\\_tone\\_saved\\_limit\\_premium »](https://core.telegram.org/api/config.md#aicompose-tone-saved-limit-premium) tons.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Recursos de IA](https://core.telegram.org/api/ai.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Configuração do 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` — O tom especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O tom para salvar ou cancelar o salvamento"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Se `false`, instala (salva) o tom; se `true`, desinstala (dessalva)"}}, "additionalProperties": false, "required": ["tone", "unsave"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | Sim | O tom para salvar ou cancelar o salvamento |\n| `unsave` | `Bool` | Sim | Se `false`, instala (salva) o tom; se `true`, desinstala (dessalva) |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "394447793"}}, "/catalog/aicompose.deleteTone": {"post": {"operationId": "aicompose.deleteTone", "tags": ["Editor com IA"], "summary": "Exclua permanentemente um tom de composição de IA personalizado »criado pelo usuário atual.", "description": "Exclua permanentemente um [tom do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) personalizado criado pelo usuário atual.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Recursos 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 MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` — O tom especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O tom a ser excluído"}}, "additionalProperties": false, "required": ["tone"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | Sim | O tom a ser excluído |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "3711512938"}}, "/catalog/aicompose.getTone": {"post": {"operationId": "aicompose.getTone", "tags": ["Editor com IA"], "summary": "Busque informações sobre um único tom do compositor de IA », por exemplo, para resolver um link direto de tom compartilhado.", "description": "Busque informações sobre um único [tom do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones), por exemplo, para resolver um link direto de tom compartilhado.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Recursos 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 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": "Digite TL: aicompose.Tones."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` — O tom especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O tom a ser buscado"}}, "additionalProperties": false, "required": ["tone"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | Sim | O tom a ser buscado |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "3001596419"}}, "/catalog/aicompose.getTones": {"post": {"operationId": "aicompose.getTones", "tags": ["Editor com IA"], "summary": "Obtenha a lista de tons do compositor AI salvos »do usuário atual.", "description": "Obtenha a lista de [tons do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) salvos do usuário atual.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Recursos 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 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": "Digite TL: aicompose.Tones."}}}}}, "externalDocs": {"description": "Documentação oficial do 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 um [aicompose.tones](https://core.telegram.org/constructor/aicompose.tones.md).`hash` armazenado em cache anteriormente para evitar a nova busca da lista se ela não tiver sido alterada; inicialmente 0.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | Hash de um [aicompose.tones](https://core.telegram.org/constructor/aicompose.tones.md).`hash` armazenado em cache anteriormente para evitar a nova busca da lista se ela não tiver sido alterada; inicialmente 0. |"}, "x-browser-schema-id": "2882900481"}}, "/catalog/aicompose.getToneExample": {"post": {"operationId": "aicompose.getToneExample", "tags": ["Editor com IA"], "summary": "Obtenha um exemplo que mostre como um tom de compositor de IA » reformula uma mensagem de amostra, usada como uma prévia no seletor de tom.", "description": "Obtenha um exemplo mostrando como um [tom do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) reformula uma mensagem de exemplo, usada como uma prévia no seletor de tom.\n\n**Quem pode chamar esse método** · Somente usuários do Telegram.\n\n**Documentação relacionada**\n\n- [Configuração do cliente](https://core.telegram.org/api/config.md)\n- [Recursos 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 MTProto · `AiComposeToneExample`.\n\n[AiComposeToneExemplo](https://core.telegram.org/type/AiComposeToneExample.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "AiComposeToneExample", "oneOf": [{"$ref": "#/components/schemas/aiComposeToneExample"}], "description": "Tipo TL: AiComposeToneExample."}}}}, "default": {"description": "### Erros MTProto (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` — O tom especificado é inválido."}}, "externalDocs": {"description": "Documentação oficial do 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": "O tom para visualizar"}, "num": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Índice baseado em 0 do exemplo a ser buscado, para percorrer os exemplos disponíveis (existem [aicompose_tone_examples_num »](https://core.telegram.org/api/config.md#aicompose-tone-examples-num) exemplos por tom)"}}, "additionalProperties": false, "required": ["tone", "num"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | Sim | O tom para visualizar |\n| `num` | `int` | Sim | Índice baseado em 0 do exemplo a ser buscado, para percorrer os exemplos disponíveis (existem [aicompose_tone_examples_num »](https://core.telegram.org/api/config.md#aicompose-tone-examples-num) exemplos por tom) |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "3518278420"}}, "/catalog/aicompose.setChatStyle": {"post": {"operationId": "aicompose.setChatStyle", "tags": ["Editor com IA"], "summary": "aicompose.setChatStyle", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |\n| `style` | `InputAiComposeStyle` | Não | Тип TL: InputAiComposeStyle. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do 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 da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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: Atualizações."}}}}}, "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 do tipo TL `true`."}, "title": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "about": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor do 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 TL:InputPeer."}}, "additionalProperties": false, "required": ["title", "peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hidden` | `true` | Não | Valor do tipo TL `true`. |\n| `title` | `string` | Sim | Valor do tipo TL `string`. |\n| `about` | `string` | Não | Valor do tipo TL `string`. |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do 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 da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 do tipo TL `true`."}, "hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Valor do tipo TL `true`."}, "deleted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Valor do 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: InputChannel."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Tipo TL:InputPeer."}}, "additionalProperties": false, "required": ["community", "peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `visible` | `true` | Não | Valor do tipo TL `true`. |\n| `hidden` | `true` | Não | Valor do tipo TL `true`. |\n| `deleted` | `true` | Não | Valor do tipo TL `true`. |\n| `community` | `InputChannel` | Sim | Tipo TL: InputChannel. |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do 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 da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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": "Não foi encontrada uma página oficial do 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 da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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: Atualizações."}}}}}, "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 do 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: InputChannel."}}, "additionalProperties": false, "required": ["community"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `collapsed` | `true` | Não | Valor do tipo TL `true`. |\n| `community` | `InputChannel` | Sim | Tipo TL: InputChannel. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do 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 da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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: InputChannel."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}}, "additionalProperties": false, "required": ["community", "offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `community` | `InputChannel` | Sim | Tipo TL: InputChannel. |\n| `offset` | `string` | Sim | Valor do tipo TL `string`. |\n| `limit` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do 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 da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 do 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: InputChannel."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Tipo TL:InputPeer."}}, "additionalProperties": false, "required": ["community", "peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `reject` | `true` | Não | Valor do tipo TL `true`. |\n| `community` | `InputChannel` | Sim | Tipo TL: InputChannel. |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do 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 da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 do 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: InputChannel."}}, "additionalProperties": false, "required": ["community"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `reject` | `true` | Não | Valor do tipo TL `true`. |\n| `community` | `InputChannel` | Sim | Tipo TL: InputChannel. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do 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 da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 do 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: InputChannel."}, "participant": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Tipo TL:InputPeer."}}, "additionalProperties": false, "required": ["community", "participant"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `unban` | `true` | Não | Valor do tipo TL `true`. |\n| `community` | `InputChannel` | Sim | Tipo TL: InputChannel. |\n| `participant` | `InputPeer` | Sim | Tipo TL:InputPeer. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do 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 da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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: InputChannel."}, "participant": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Tipo TL:InputPeer."}}, "additionalProperties": false, "required": ["community", "participant"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `community` | `InputChannel` | Sim | Tipo TL: InputChannel. |\n| `participant` | `InputPeer` | Sim | Tipo TL:InputPeer. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "4169051051"}}, "/catalog/ephemeral.sendMessage": {"post": {"operationId": "ephemeral.sendMessage", "tags": ["Mensagens temporárias"], "summary": "ephemeral.sendMessage", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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: Atualizações."}}}}}, "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 do tipo TL `true`."}, "welcome": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Valor do tipo TL `true`."}, "anchor": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true", "description": "Valor do tipo TL `true`."}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true", "description": "Valor do 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 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 TL: InputUser."}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "message": {"type": "string", "x-tl-type": "string", "description": "Valor do 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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "Valor do 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 TL: InputMedia.", "x-tl-flag": "flags.2?InputMedia"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "oneOf": [{"$ref": "#/components/schemas/replyKeyboardHide"}, {"$ref": "#/components/schemas/replyKeyboardForceReply"}, {"$ref": "#/components/schemas/replyKeyboardMarkup"}, {"$ref": "#/components/schemas/replyInlineMarkup"}], "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.3?ReplyMarkup"}, "rich_message": {"type": "object", "x-tl-type": "InputRichMessage", "oneOf": [{"$ref": "#/components/schemas/inputRichMessage"}, {"$ref": "#/components/schemas/inputRichMessageHTML"}, {"$ref": "#/components/schemas/inputRichMessageMarkdown"}], "description": "Тип TL: InputRichMessage.", "x-tl-flag": "flags.4?InputRichMessage"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "reply_to": {"type": "object", "x-tl-type": "InputReplyTo", "oneOf": [{"$ref": "#/components/schemas/inputReplyToMessage"}, {"$ref": "#/components/schemas/inputReplyToStory"}, {"$ref": "#/components/schemas/inputReplyToMonoForum"}, {"$ref": "#/components/schemas/inputReplyToEphemeralMessage"}], "description": "Tipo TL: InputReplyTo.", "x-tl-flag": "flags.5?InputReplyTo"}}, "additionalProperties": false, "required": ["receiver_id", "message", "random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `invert_media` | `true` | Não | Valor do tipo TL `true`. |\n| `welcome` | `true` | Não | Valor do tipo TL `true`. |\n| `anchor` | `true` | Não | Valor do tipo TL `true`. |\n| `noforwards` | `true` | Não | Valor do tipo TL `true`. |\n| `peer` | `InputPeer` | Não | Tipo TL:InputPeer. |\n| `receiver_id` | `InputUser` | Sim | Tipo TL: InputUser. |\n| `query_id` | `long` | Não | 64-битное целое в десятичной записи. |\n| `message` | `string` | Sim | Valor do tipo TL `string`. |\n| `entities` | `Vector<MessageEntity>` | Não | Valor do tipo TL `Vector<MessageEntity>`. |\n| `media` | `InputMedia` | Não | Tipo TL: InputMedia. |\n| `reply_markup` | `ReplyMarkup` | Não | Tipo TL: ReplyMarkup. |\n| `rich_message` | `InputRichMessage` | Não | Тип TL: InputRichMessage. |\n| `random_id` | `long` | Sim | 64-битное целое в десятичной записи. |\n| `reply_to` | `InputReplyTo` | Não | Tipo TL: InputReplyTo. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3129827125"}}, "/catalog/ephemeral.deleteMessage": {"post": {"operationId": "ephemeral.deleteMessage", "tags": ["Mensagens temporárias"], "summary": "ephemeral.deleteMessage", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 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 TL: InputUser."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}}, "additionalProperties": false, "required": ["receiver_id", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Não | Tipo TL:InputPeer. |\n| `receiver_id` | `InputUser` | Sim | Tipo TL: InputUser. |\n| `id` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2465654679"}}, "/catalog/ephemeral.reportMessage": {"post": {"operationId": "ephemeral.reportMessage", "tags": ["Mensagens temporárias"], "summary": "ephemeral.reportMessage", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL: ReportResult."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Tipo TL:InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor do tipo TL `bytes`."}, "message": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["peer", "id", "option", "message"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |\n| `id` | `int` | Sim | Valor do tipo TL `int`. |\n| `option` | `bytes` | Sim | Valor do tipo TL `bytes`. |\n| `message` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2265248447"}}, "/catalog/ephemeral.getCallbackAnswer": {"post": {"operationId": "ephemeral.getCallbackAnswer", "tags": ["Mensagens temporárias"], "summary": "ephemeral.getCallbackAnswer", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL:InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.1?bytes", "description": "Valor do tipo TL `bytes`."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |\n| `id` | `int` | Sim | Valor do tipo TL `int`. |\n| `data` | `bytes` | Não | Valor do tipo TL `bytes`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1067738312"}}, "/catalog/ephemeral.editMessage": {"post": {"operationId": "ephemeral.editMessage", "tags": ["Mensagens temporárias"], "summary": "ephemeral.editMessage", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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: Atualizações."}}}}}, "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 do tipo TL `true`."}, "welcome": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Valor do 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 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 TL: InputUser."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}, "message": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor do 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 TL: InputMedia.", "x-tl-flag": "flags.3?InputMedia"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "oneOf": [{"$ref": "#/components/schemas/messageEntityUnknown"}, {"$ref": "#/components/schemas/messageEntityMention"}, {"$ref": "#/components/schemas/messageEntityHashtag"}, {"$ref": "#/components/schemas/messageEntityBotCommand"}, {"$ref": "#/components/schemas/messageEntityUrl"}, {"$ref": "#/components/schemas/messageEntityEmail"}, {"$ref": "#/components/schemas/messageEntityBold"}, {"$ref": "#/components/schemas/messageEntityItalic"}, {"$ref": "#/components/schemas/messageEntityCode"}, {"$ref": "#/components/schemas/messageEntityPre"}, {"$ref": "#/components/schemas/messageEntityTextUrl"}, {"$ref": "#/components/schemas/messageEntityMentionName"}, {"$ref": "#/components/schemas/inputMessageEntityMentionName"}, {"$ref": "#/components/schemas/messageEntityPhone"}, {"$ref": "#/components/schemas/messageEntityCashtag"}, {"$ref": "#/components/schemas/messageEntityUnderline"}, {"$ref": "#/components/schemas/messageEntityStrike"}, {"$ref": "#/components/schemas/messageEntityBankCard"}, {"$ref": "#/components/schemas/messageEntitySpoiler"}, {"$ref": "#/components/schemas/messageEntityCustomEmoji"}, {"$ref": "#/components/schemas/messageEntityBlockquote"}, {"$ref": "#/components/schemas/messageEntityFormattedDate"}, {"$ref": "#/components/schemas/messageEntityDiffInsert"}, {"$ref": "#/components/schemas/messageEntityDiffReplace"}, {"$ref": "#/components/schemas/messageEntityDiffDelete"}, {"$ref": "#/components/schemas/messageEntityTonAddress"}], "description": "Tipo TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "Valor do 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 TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}, "rich_message": {"type": "object", "x-tl-type": "InputRichMessage", "oneOf": [{"$ref": "#/components/schemas/inputRichMessage"}, {"$ref": "#/components/schemas/inputRichMessageHTML"}, {"$ref": "#/components/schemas/inputRichMessageMarkdown"}], "description": "Тип TL: InputRichMessage.", "x-tl-flag": "flags.4?InputRichMessage"}}, "additionalProperties": false, "required": ["receiver_id", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `invert_media` | `true` | Não | Valor do tipo TL `true`. |\n| `welcome` | `true` | Não | Valor do tipo TL `true`. |\n| `peer` | `InputPeer` | Não | Tipo TL:InputPeer. |\n| `receiver_id` | `InputUser` | Sim | Tipo TL: InputUser. |\n| `id` | `int` | Sim | Valor do tipo TL `int`. |\n| `message` | `string` | Não | Valor do tipo TL `string`. |\n| `media` | `InputMedia` | Não | Tipo TL: InputMedia. |\n| `entities` | `Vector<MessageEntity>` | Não | Valor do tipo TL `Vector<MessageEntity>`. |\n| `reply_markup` | `ReplyMarkup` | Não | Tipo TL: ReplyMarkup. |\n| `rich_message` | `InputRichMessage` | Não | Тип TL: InputRichMessage. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3483136603"}}, "/catalog/ephemeral.deleteWelcomeMessage": {"post": {"operationId": "ephemeral.deleteWelcomeMessage", "tags": ["Mensagens temporárias"], "summary": "ephemeral.deleteWelcomeMessage", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL:InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |\n| `id` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3900877281"}}, "/catalog/ephemeral.deleteAllWelcomeMessages": {"post": {"operationId": "ephemeral.deleteAllWelcomeMessages", "tags": ["Mensagens temporárias"], "summary": "ephemeral.deleteAllWelcomeMessages", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL:InputPeer."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1934595873"}}, "/catalog/ephemeral.getWelcomeMessages": {"post": {"operationId": "ephemeral.getWelcomeMessages", "tags": ["Mensagens temporárias"], "summary": "ephemeral.getWelcomeMessages", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 TL:InputPeer."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |\n| `hash` | `long` | Sim | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do 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 da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `true`."}, "endpoint": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "query": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Valor do tipo TL `string`."}, "payload": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["endpoint"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `post` | `true` | Não | Valor do tipo TL `true`. |\n| `endpoint` | `string` | Sim | Valor do tipo TL `string`. |\n| `query` | `string` | Não | Valor do tipo TL `string`. |\n| `payload` | `string` | Não | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do 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 da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3450823623"}}, "/catalog/wallet.getState": {"post": {"operationId": "wallet.getState", "tags": ["Carteira"], "summary": "wallet.getState", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2877535034"}}, "/catalog/wallet.getUserAddresses": {"post": {"operationId": "wallet.getUserAddresses", "tags": ["Carteira"], "summary": "wallet.getUserAddresses", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do 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 TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Valor do tipo TL `Vector<InputUser>`."}, "addresses": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Valor do tipo TL `Vector<string>`."}}, "additionalProperties": false, "required": ["id", "addresses"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `force` | `true` | Não | Valor do tipo TL `true`. |\n| `id` | `Vector<InputUser>` | Sim | Valor do tipo TL `Vector<InputUser>`. |\n| `addresses` | `Vector<string>` | Sim | Valor do tipo TL `Vector<string>`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1383456733"}}, "/catalog/wallet.getTransactions": {"post": {"operationId": "wallet.getTransactions", "tags": ["Carteira"], "summary": "wallet.getTransactions", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `true`."}, "outbound": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Valor do tipo TL `true`."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `inbound` | `true` | Não | Valor do tipo TL `true`. |\n| `outbound` | `true` | Não | Valor do tipo TL `true`. |\n| `offset` | `string` | Sim | Valor do tipo TL `string`. |\n| `limit` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2827160195"}}, "/catalog/wallet.getTransactionsByIDs": {"post": {"operationId": "wallet.getTransactionsByIDs", "tags": ["Carteira"], "summary": "wallet.getTransactionsByIDs", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `Vector<string>`."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `id` | `Vector<string>` | Sim | Valor do tipo TL `Vector<string>`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2166155958"}}, "/catalog/wallet.getTransactionsByMsgHash": {"post": {"operationId": "wallet.getTransactionsByMsgHash", "tags": ["Carteira"], "summary": "wallet.getTransactionsByMsgHash", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `Vector<string>`."}}, "additionalProperties": false, "required": ["msg_hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `msg_hash` | `Vector<string>` | Sim | Valor do tipo TL `Vector<string>`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2797304157"}}, "/catalog/wallet.exportSecretPhrase": {"post": {"operationId": "wallet.exportSecretPhrase", "tags": ["Carteira"], "summary": "wallet.exportSecretPhrase", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | Não | Тип TL: InputCheckPasswordSRP. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2423769516"}}, "/catalog/wallet.fetchEncryptedSecretPhrasePart": {"post": {"operationId": "wallet.fetchEncryptedSecretPhrasePart", "tags": ["Carteira"], "summary": "wallet.fetchEncryptedSecretPhrasePart", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `string`."}, "public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor do tipo TL `bytes`."}}, "additionalProperties": false, "required": ["token", "public_key"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `token` | `string` | Sim | Valor do tipo TL `string`. |\n| `public_key` | `bytes` | Sim | Valor do tipo TL `bytes`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "4114163151"}}, "/catalog/wallet.replaceWallet": {"post": {"operationId": "wallet.replaceWallet", "tags": ["Carteira"], "summary": "wallet.replaceWallet", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `wallet` | `InputWalletReplacement` | Sim | Тип TL: InputWalletReplacement. |\n| `password` | `InputCheckPasswordSRP` | Não | Тип TL: InputCheckPasswordSRP. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3636932332"}}, "/catalog/wallet.disableBackup": {"post": {"operationId": "wallet.disableBackup", "tags": ["Carteira"], "summary": "wallet.disableBackup", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do 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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | Não | Тип TL: InputCheckPasswordSRP. |\n| `new_public_key` | `bytes` | Não | Valor do tipo TL `bytes`. |\n| `proof` | `WalletOwnershipProof` | Não | Тип TL: WalletOwnershipProof. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "185331930"}}, "/catalog/wallet.getBackupHolderDcs": {"post": {"operationId": "wallet.getBackupHolderDcs", "tags": ["Carteira"], "summary": "wallet.getBackupHolderDcs", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3514422420"}}, "/catalog/wallet.enableBackup": {"post": {"operationId": "wallet.enableBackup", "tags": ["Carteira"], "summary": "wallet.enableBackup", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `Vector<bytes>`."}, "new_public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.1?bytes", "description": "Valor do 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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `parts` | `Vector<bytes>` | Sim | Valor do tipo TL `Vector<bytes>`. |\n| `new_public_key` | `bytes` | Não | Valor do tipo TL `bytes`. |\n| `proof` | `WalletOwnershipProof` | Não | Тип TL: WalletOwnershipProof. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1157678373"}}, "/catalog/wallet.getProofChallenge": {"post": {"operationId": "wallet.getProofChallenge", "tags": ["Carteira"], "summary": "wallet.getProofChallenge", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "539354775"}}, "/catalog/wallet.sendTransfer": {"post": {"operationId": "wallet.sendTransfer", "tags": ["Carteira"], "summary": "wallet.sendTransfer", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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: Atualizações."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"data_normal": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor do tipo TL `bytes`."}, "data_gasless": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "Valor do 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 TL: InputUser."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["data_normal", "user_id", "random_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `data_normal` | `bytes` | Sim | Valor do tipo TL `bytes`. |\n| `data_gasless` | `bytes` | Não | Valor do tipo TL `bytes`. |\n| `user_id` | `InputUser` | Sim | Tipo TL: InputUser. |\n| `random_id` | `long` | Sim | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3655719394"}}, "/catalog/wallet.getGaslessInfo": {"post": {"operationId": "wallet.getGaslessInfo", "tags": ["Carteira"], "summary": "wallet.getGaslessInfo", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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: Atualizações."}}}}}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1949167777"}}, "/catalog/wallet.getExistingWaltBalance": {"post": {"operationId": "wallet.getExistingWaltBalance", "tags": ["Carteira"], "summary": "wallet.getExistingWaltBalance", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1763656544"}}, "/catalog/wallet.getNfts": {"post": {"operationId": "wallet.getNfts", "tags": ["Carteira"], "summary": "wallet.getNfts", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `offset` | `string` | Sim | Valor do tipo TL `string`. |\n| `limit` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2350052260"}}, "/catalog/wallet.tonConnectCreateSession": {"post": {"operationId": "wallet.tonConnectCreateSession", "tags": ["Carteira"], "summary": "wallet.tonConnectCreateSession", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `string`."}, "manifest_url": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["dapp_client_id", "manifest_url"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `dapp_client_id` | `string` | Sim | Valor do tipo TL `string`. |\n| `manifest_url` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3432190022"}}, "/catalog/wallet.tonConnectRegisterKey": {"post": {"operationId": "wallet.tonConnectRegisterKey", "tags": ["Carteira"], "summary": "wallet.tonConnectRegisterKey", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "client_id": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["session_id", "client_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `session_id` | `long` | Sim | 64-битное целое в десятичной записи. |\n| `client_id` | `string` | Sim | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "864800540"}}, "/catalog/wallet.tonConnectSubmitConnectResult": {"post": {"operationId": "wallet.tonConnectSubmitConnectResult", "tags": ["Carteira"], "summary": "wallet.tonConnectSubmitConnectResult", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 do tipo TL `true`."}, "session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "challenge_answer": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor do tipo TL `bytes`."}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor do tipo TL `bytes`."}, "trace_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["session_id", "challenge_answer", "body"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `error` | `true` | Não | Valor do tipo TL `true`. |\n| `session_id` | `long` | Sim | 64-битное целое в десятичной записи. |\n| `challenge_answer` | `bytes` | Sim | Valor do tipo TL `bytes`. |\n| `body` | `bytes` | Sim | Valor do tipo TL `bytes`. |\n| `trace_id` | `string` | Não | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3267364729"}}, "/catalog/wallet.tonConnectGetPending": {"post": {"operationId": "wallet.tonConnectGetPending", "tags": ["Carteira"], "summary": "wallet.tonConnectGetPending", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `string`."}, "session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `dapp_client_id` | `string` | Não | Valor do tipo TL `string`. |\n| `session_id` | `long` | Não | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "296673381"}}, "/catalog/wallet.tonConnectClaimRequest": {"post": {"operationId": "wallet.tonConnectClaimRequest", "tags": ["Carteira"], "summary": "wallet.tonConnectClaimRequest", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 do tipo TL `true`."}, "session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}, "app_request_id": {"type": "string", "x-tl-type": "string", "description": "Valor do tipo TL `string`."}, "challenge_answer": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "Valor do tipo TL `bytes`."}}, "additionalProperties": false, "required": ["session_id", "msg_id", "app_request_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `declined` | `true` | Não | Valor do tipo TL `true`. |\n| `session_id` | `long` | Sim | 64-битное целое в десятичной записи. |\n| `msg_id` | `int` | Sim | Valor do tipo TL `int`. |\n| `app_request_id` | `string` | Sim | Valor do tipo TL `string`. |\n| `challenge_answer` | `bytes` | Não | Valor do tipo TL `bytes`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1723169601"}}, "/catalog/wallet.tonConnectSubmitResponse": {"post": {"operationId": "wallet.tonConnectSubmitResponse", "tags": ["Carteira"], "summary": "wallet.tonConnectSubmitResponse", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor do tipo TL `bytes`."}, "trace_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["session_id", "msg_id", "body"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `session_id` | `long` | Sim | 64-битное целое в десятичной записи. |\n| `msg_id` | `int` | Sim | Valor do tipo TL `int`. |\n| `body` | `bytes` | Sim | Valor do tipo TL `bytes`. |\n| `trace_id` | `string` | Não | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "4207312188"}}, "/catalog/wallet.tonConnectNextEventId": {"post": {"operationId": "wallet.tonConnectNextEventId", "tags": ["Carteira"], "summary": "wallet.tonConnectNextEventId", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["session_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `session_id` | `long` | Sim | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2002612804"}}, "/catalog/wallet.tonConnectCloseSession": {"post": {"operationId": "wallet.tonConnectCloseSession", "tags": ["Carteira"], "summary": "wallet.tonConnectCloseSession", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "Valor do tipo TL `bytes`."}}, "additionalProperties": false, "required": ["session_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `session_id` | `long` | Sim | 64-битное целое в десятичной записи. |\n| `body` | `bytes` | Não | Valor do tipo TL `bytes`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3594478030"}}, "/catalog/wallet.tonConnectGetSessions": {"post": {"operationId": "wallet.tonConnectGetSessions", "tags": ["Carteira"], "summary": "wallet.tonConnectGetSessions", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2818553198"}}, "/catalog/wallet.setCardStickers": {"post": {"operationId": "wallet.setCardStickers", "tags": ["Carteira"], "summary": "wallet.setCardStickers", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `Vector<InputWalletCardSticker>`."}, "bg_nft_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor do tipo TL `string`."}}, "additionalProperties": false, "required": ["stickers"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stickers` | `Vector<InputWalletCardSticker>` | Sim | Valor do tipo TL `Vector<InputWalletCardSticker>`. |\n| `bg_nft_address` | `string` | Não | Valor do tipo TL `string`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "109382060"}}, "/catalog/wallet.getStakingInfo": {"post": {"operationId": "wallet.getStakingInfo", "tags": ["Carteira"], "summary": "wallet.getStakingInfo", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2807927035"}}, "/catalog/wallet.stake": {"post": {"operationId": "wallet.stake", "tags": ["Carteira"], "summary": "wallet.stake", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `true`."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["amount"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `stake_all` | `true` | Não | Valor do tipo TL `true`. |\n| `amount` | `long` | Sim | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "840788815"}}, "/catalog/wallet.unstake": {"post": {"operationId": "wallet.unstake", "tags": ["Carteira"], "summary": "wallet.unstake", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `true`."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["amount"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `withdraw_all` | `true` | Não | Valor do tipo TL `true`. |\n| `amount` | `long` | Sim | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "4100932396"}}, "/catalog/feed.getFeed": {"post": {"operationId": "feed.getFeed", "tags": ["Feed"], "summary": "feed.getFeed", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `true`."}, "filter_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do 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 do tipo TL `int`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do 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-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["filter_id", "add_offset", "limit", "hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `offset_to_max_read` | `true` | Não | Valor do tipo TL `true`. |\n| `filter_id` | `int` | Sim | Valor do tipo TL `int`. |\n| `offset_position` | `FeedPosition` | Não | Тип TL: FeedPosition. |\n| `add_offset` | `int` | Sim | Valor do tipo TL `int`. |\n| `limit` | `int` | Sim | Valor do tipo TL `int`. |\n| `max_position` | `FeedPosition` | Não | Тип TL: FeedPosition. |\n| `min_position` | `FeedPosition` | Não | Тип TL: FeedPosition. |\n| `hash` | `long` | Sim | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2121717715"}}, "/catalog/feed.readFeed": {"post": {"operationId": "feed.readFeed", "tags": ["Feed"], "summary": "feed.readFeed", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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: Atualizações."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"filter_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do 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": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `filter_id` | `int` | Sim | Valor do tipo TL `int`. |\n| `max_position` | `FeedPosition` | Sim | Тип TL: FeedPosition. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3023487487"}}, "/catalog/feed.getForYou": {"post": {"operationId": "feed.getForYou", "tags": ["Feed"], "summary": "feed.getForYou", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 do tipo TL `true`."}, "query": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor do tipo TL `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}}, "additionalProperties": false, "required": ["limit"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `refresh` | `true` | Não | Valor do tipo TL `true`. |\n| `query` | `string` | Não | Valor do tipo TL `string`. |\n| `limit` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "867755499"}}, "/catalog/feed.getInterestCategories": {"post": {"operationId": "feed.getInterestCategories", "tags": ["Feed"], "summary": "feed.getInterestCategories", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `hash` | `long` | Sim | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "3128565178"}}, "/catalog/feed.setInterestCategories": {"post": {"operationId": "feed.setInterestCategories", "tags": ["Feed"], "summary": "feed.setInterestCategories", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 do tipo TL `Vector<int>`."}}, "additionalProperties": false, "required": ["category_ids"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `category_ids` | `Vector<int>` | Sim | Valor do tipo TL `Vector<int>`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "2670287068"}}, "/catalog/feed.likePost": {"post": {"operationId": "feed.likePost", "tags": ["Feed"], "summary": "feed.likePost", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL:InputPeer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |\n| `msg_id` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "457925246"}}, "/catalog/feed.dislikePost": {"post": {"operationId": "feed.dislikePost", "tags": ["Feed"], "summary": "feed.dislikePost", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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 TL:InputPeer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor do tipo TL `int`."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Sim | Tipo TL:InputPeer. |\n| `msg_id` | `int` | Sim | Valor do tipo TL `int`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do Telegram para este método.", "x-browser-schema-id": "1299191644"}}, "/catalog/feed.getSponsoredMessages": {"post": {"operationId": "feed.getSponsoredMessages", "tags": ["Feed"], "summary": "feed.getSponsoredMessages", "description": "Método da API cliente do Telegram. Este cartão mostra seus argumentos e sua resposta TL.\n\nNão foi encontrada uma página oficial do 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 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": "Digite 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 do tipo TL `true`."}}, "additionalProperties": false}}}, "description": "| Nome | Tipo | Obrigatório | Descrição |\n| --- | --- | --- | --- |\n| `for_you` | `true` | Não | Valor do tipo TL `true`. |"}, "x-telegram-docs-note": "Não foi encontrada uma página oficial do 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": "boolVerdadeiro", "type": "object", "properties": {"_": {"type": "string", "enum": ["boolTrue"]}}, "required": ["_"], "additionalProperties": false}, "true": {"title": "verdade", "type": "object", "properties": {"_": {"type": "string", "enum": ["true"]}}, "required": ["_"], "additionalProperties": false}, "vector": {"title": "vetor", "type": "object", "properties": {"_": {"type": "string", "enum": ["vector"]}}, "required": ["_"], "additionalProperties": false}, "error": {"title": "erro", "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": "entradaPeerEmpty", "description": "Um construtor vazio, nenhum usuário ou chat está definido.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputPeerSelf": {"title": "entradaPeerSelf", "description": "Define o usuário atual.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerSelf"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerSelf"]}}, "required": ["_"], "additionalProperties": false}, "inputPeerChat": {"title": "entradaPeerChat", "description": "Define um bate-papo para maior interação.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerChat"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerChat"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de bate-papo", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "chat_id"], "additionalProperties": false}, "inputPeerUser": {"title": "entradaPeerUser", "description": "Define um usuário para interação posterior.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerUser"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador do usuário", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** valor do construtor [user](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": "inputPeerChannel", "description": "Define um canal para interação posterior.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerChannel"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador do canal", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** valor do construtor [channel](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": "inputPeerUserFromMessage", "description": "Define um usuário [min](https://core.telegram.org/api/min.md) que foi visto em uma determinada mensagem de um 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": "O chat onde o usuário foi visto", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O ID da mensagem", "x-telegram-field-docs": true}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "O identificador do usuário que foi visto", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id", "user_id"], "additionalProperties": false}, "inputPeerChannelFromMessage": {"title": "inputPeerChannelFromMessage", "description": "Define um canal [min](https://core.telegram.org/api/min.md) que foi visto em uma determinada mensagem de um 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": "O chat onde a mensagem do canal foi vista", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O ID da mensagem", "x-telegram-field-docs": true}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "O identificador do canal que foi visto", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id", "channel_id"], "additionalProperties": false}, "inputUserEmpty": {"title": "inputUserEmpty", "description": "Construtor vazio, não define um usuário.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputUserEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputUserEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputUserSelf": {"title": "inputUserSelf", "description": "Define o usuário atual.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputUserSelf"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputUserSelf"]}}, "required": ["_"], "additionalProperties": false}, "inputUser": {"title": "usuário de entrada", "description": "Define um usuário para interação posterior.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputUser"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador do usuário", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** valor do construtor [user](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": "inputUserFromMessage", "description": "Define um usuário [min](https://core.telegram.org/api/min.md) que foi visto em uma determinada mensagem de um 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": "O chat onde o usuário foi visto", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O ID da mensagem", "x-telegram-field-docs": true}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "O identificador do usuário que foi visto", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id", "user_id"], "additionalProperties": false}, "inputPhoneContact": {"title": "entradaTelefoneContato", "description": "Contato telefônico.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPhoneContact"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPhoneContact"]}, "client_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Um número inteiro arbitrário de 64 bits: deve ser definido, por exemplo, para um número incremental ao usar [contacts.importContacts](https://core.telegram.org/method/contacts.importContacts.md), para tentar importar novamente apenas os contatos que não foram importados com sucesso, de acordo com o client_ids retornado em [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 telefone", "x-telegram-field-docs": true}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Nome do contato", "x-telegram-field-docs": true}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Sobrenome do contato", "x-telegram-field-docs": true}, "note": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Uma nota privada para este contacto, visível apenas para nós; veja [aqui »](https://core.telegram.org/api/contacts.md#private-notes-for-contacts) para mais informações sobre notas de contato.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?TextWithEntities"}}, "required": ["_", "client_id", "phone", "first_name", "last_name"], "additionalProperties": false}, "inputFile": {"title": "arquivo de entrada", "description": "Define um arquivo salvo em partes usando o 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 arquivo aleatório criado pelo cliente", "x-tl-type": "long", "x-telegram-field-docs": true}, "parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de peças salvas", "x-telegram-field-docs": true}, "name": {"type": "string", "x-tl-type": "string", "description": "Nome completo do arquivo", "x-telegram-field-docs": true}, "md5_checksum": {"type": "string", "x-tl-type": "string", "description": "Caso o [md5-hash](https://en.wikipedia.org/wiki/MD5#MD5_hashes) do arquivo tenha sido passado, o conteúdo do arquivo será verificado antes do uso", "x-telegram-field-docs": true}}, "required": ["_", "id", "parts", "name", "md5_checksum"], "additionalProperties": false}, "inputFileBig": {"title": "inputFileBig", "description": "Atribui um arquivo grande (com mais de 10 MB), salvo em parte usando o 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 arquivo aleatório, criado pelo cliente", "x-tl-type": "long", "x-telegram-field-docs": true}, "parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de peças salvas", "x-telegram-field-docs": true}, "name": {"type": "string", "x-tl-type": "string", "description": "Nome completo do arquivo", "x-telegram-field-docs": true}}, "required": ["_", "id", "parts", "name"], "additionalProperties": false}, "inputFileStoryDocument": {"title": "inputFileStoryDocument", "description": "Usado para [editar a miniatura/visualização estática de uma história, veja aqui »](https://core.telegram.org/api/stories.md#editing-stories) para mais informações sobre o fluxo 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": "O velho vídeo da história.", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputMediaEmpty": {"title": "inputMediaEmpty", "description": "Conteúdo de mídia vazio de uma mensagem.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputMediaUploadedPhoto": {"title": "inputMediaUploadedFoto", "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": "Se esta mídia deve ser escondida atrás de um aviso de spoiler", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "live_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Quer seja uma foto ao vivo, i.e. uma foto emparelhada com o pequeno clipe `video` capturado ao lado dela", "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": "O [arquivo enviado](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: InputDocument."}, "x-tl-type": "Vector<InputDocument>", "description": "Adesivos de máscara anexados", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<InputDocument>"}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O tempo de vida da foto autodestrutiva pode ser `0` para desativar a autodestruição, `0x7FFFFFFF` para autodestruir a foto imediatamente após ela ser reproduzida; caso contrário, se autodestrói `ttl_seconds` após ser reproduzido.", "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": "O pequeno videoclipe da foto ao vivo", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?InputDocument"}}, "required": ["_", "file"], "additionalProperties": false}, "inputMediaPhoto": {"title": "inputMediaFoto", "description": "Foto encaminhada", "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": "Se esta mídia deve ser escondida atrás de um aviso de spoiler", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "live_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Quer seja uma foto ao vivo, i.e. uma foto emparelhada com o pequeno clipe `video` capturado ao lado dela", "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 ser encaminhada", "x-telegram-field-docs": true}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O tempo de vida da foto autodestrutiva pode ser `0` para desativar a autodestruição, `0x7FFFFFFF` para autodestruir o documento imediatamente após ser reproduzido; caso contrário, se autodestrói `ttl_seconds` após ser reproduzido.", "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": "O pequeno videoclipe da foto ao vivo", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InputDocument"}}, "required": ["_", "id"], "additionalProperties": false}, "inputMediaGeoPoint": {"title": "inputMediaGeoPoint", "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": "GeoPonto", "x-telegram-field-docs": true}}, "required": ["_", "geo_point"], "additionalProperties": false}, "inputMediaContact": {"title": "inputMediaContato", "description": "Contato da 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 telefone", "x-telegram-field-docs": true}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Nome do contato", "x-telegram-field-docs": true}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Sobrenome do contato", "x-telegram-field-docs": true}, "vcard": {"type": "string", "x-tl-type": "string", "description": "Entre em contato com vcard", "x-telegram-field-docs": true}}, "required": ["_", "phone_number", "first_name", "last_name", "vcard"], "additionalProperties": false}, "inputMediaUploadedDocument": {"title": "inputMediaUploadedDocument", "description": "Novo 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": "Se deseja enviar o arquivo como um vídeo mesmo que não tenha uma trilha de áudio (i.e. se definido, o atributo [documentAttributeAnimated](https://core.telegram.org/constructor/documentAttributeAnimated.md) **não** será definido mesmo para vídeos sem áudio)", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "force_file": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Forçar o upload do arquivo de mídia como documento", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se esta mídia deve ser escondida atrás de um aviso 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": "O [arquivo enviado](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 do documento, carregado como no arquivo", "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 TL: DocumentAttribute."}, "x-tl-type": "Vector<DocumentAttribute>", "description": "Atributos que especificam o tipo do documento (vídeo, áudio, voz, adesivo, 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: InputDocument."}, "x-tl-type": "Vector<InputDocument>", "description": "Adesivos anexados", "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": "Comece a reproduzir o vídeo no carimbo de data/hora especificado (segundos).", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?InputPhoto"}, "video_timestamp": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Comece a reproduzir o vídeo no carimbo de data/hora especificado (segundos).", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?int"}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O tempo de vida do documento autodestrutivo pode ser `0` para desativar a autodestruição, `0x7FFFFFFF` para autodestruir o documento imediatamente após ser reproduzido; caso contrário, se autodestrói `ttl_seconds` após ser reproduzido.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "file", "mime_type", "attributes"], "additionalProperties": false}, "inputMediaDocument": {"title": "inputMediaDocument", "description": "Documento encaminhado", "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": "Se esta mídia deve ser escondida atrás de um aviso 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": "O documento a ser encaminhado.", "x-telegram-field-docs": true}, "video_cover": {"type": "object", "x-tl-type": "InputPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty", "inputPhoto"]}}, "description": "Capa 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": "Comece a reproduzir o vídeo no carimbo de data/hora especificado (segundos).", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O tempo de vida do documento autodestrutivo pode ser `0` para desativar a autodestruição, `0x7FFFFFFF` para autodestruir o documento imediatamente após ser reproduzido; caso contrário, se autodestrói `ttl_seconds` após ser reproduzido.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "query": {"type": "string", "x-tl-type": "string", "description": "Consulta de texto ou emoji que foi usado pelo usuário para encontrar este adesivo ou GIF: usado para melhorar a relevância do resultado da pesquisa.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}}, "required": ["_", "id"], "additionalProperties": false}, "inputMediaVenue": {"title": "inputMediaVenue", "description": "Pode ser usado para enviar a geolocalização do local.", "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": "Geolocalização", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nome do local", "x-telegram-field-docs": true}, "address": {"type": "string", "x-tl-type": "string", "description": "Endereço físico do local", "x-telegram-field-docs": true}, "provider": {"type": "string", "x-tl-type": "string", "description": "Provedor de local: atualmente apenas \"foursquare\" e \"gplaces\" (Google Places) precisam ser suportados", "x-telegram-field-docs": true}, "venue_id": {"type": "string", "x-tl-type": "string", "description": "ID do local no banco de dados do provedor", "x-telegram-field-docs": true}, "venue_type": {"type": "string", "x-tl-type": "string", "description": "Tipo de local no banco de dados do provedor", "x-telegram-field-docs": true}}, "required": ["_", "geo_point", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "inputMediaPhotoExternal": {"title": "inputMediaPhotoExterno", "description": "Nova foto que será carregada pelo servidor usando o 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": "Se esta mídia deve ser escondida atrás de um aviso de spoiler", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "url": {"type": "string", "x-tl-type": "string", "description": "URL da foto", "x-telegram-field-docs": true}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O tempo de vida da foto autodestrutiva pode ser `0` para desativar a autodestruição, `0x7FFFFFFF` para autodestruir a foto imediatamente após ela ser reproduzida; caso contrário, se autodestrói `ttl_seconds` após ser reproduzido.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "url"], "additionalProperties": false}, "inputMediaDocumentExternal": {"title": "inputMediaDocumentExterno", "description": "Documento que será baixado pelos servidores do 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": "Se esta mídia deve ser escondida atrás de um aviso de spoiler", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "url": {"type": "string", "x-tl-type": "string", "description": "URL do documento", "x-telegram-field-docs": true}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O tempo de vida do documento autodestrutivo pode ser `0` para desativar a autodestruição, `0x7FFFFFFF` para autodestruir o documento imediatamente após ser reproduzido; caso contrário, se autodestrói `ttl_seconds` após ser reproduzido.", "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": "Capa 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": "Comece a reproduzir o vídeo no carimbo de data/hora especificado (segundos).", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}}, "required": ["_", "url"], "additionalProperties": false}, "inputMediaGame": {"title": "inputMediaGame", "description": "Um jogo", "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": "O jogo para avançar", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputMediaInvoice": {"title": "inputMediaInvoice", "description": "Fatura gerada de um [pagamento de 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": "Nome do produto, 1 a 32 caracteres", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Descrição do produto, 1-255 caracteres", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "InputWebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputWebDocument"]}}, "description": "URL da foto do produto para nota fiscal. Pode ser uma foto do produto ou uma imagem de marketing de um serviço. As pessoas gostam mais quando veem o que estão 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": "A fatura real", "x-telegram-field-docs": true}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Carga útil da fatura definida pelo bot, 1-128 bytes. Isso não será exibido ao usuário, use para seus processos internos.", "x-telegram-field-docs": true}, "provider": {"type": "string", "x-tl-type": "string", "description": "Token do provedor de pagamentos, obtido via [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": "Dados codificados em JSON sobre a fatura, que serão compartilhados com o provedor de pagamento. Uma descrição detalhada dos campos obrigatórios deve ser fornecida pelo provedor de pagamento.", "x-telegram-field-docs": true}, "start_param": {"type": "string", "x-tl-type": "string", "description": "Exclusivo [parâmetro inicial de links diretos do bot](https://core.telegram.org/api/links.md#bot-links). Se presente, as cópias encaminhadas da mensagem enviada terão um botão URL com um [link direto](https://core.telegram.org/api/links.md#bot-links) para o bot (em vez de um botão Pagar), com o valor usado como parâmetro inicial. Caso ausente, as cópias encaminhadas da mensagem enviada terão um botão Pagar, permitindo que vários usuários paguem diretamente da mensagem encaminhada, utilizando a mesma fatura.", "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": "Obsoleto", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InputMedia"}}, "required": ["_", "title", "description", "invoice", "payload", "provider_data"], "additionalProperties": false}, "inputMediaGeoLive": {"title": "inputMediaGeoLive", "description": "[Geolocalização ao 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": "Se o envio da geolocalização foi interrompido", "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": "Geolocalização atual", "x-telegram-field-docs": true}, "heading": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para [locais ativos](https://core.telegram.org/api/live-location.md), uma direção na qual o local se move, em graus; 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 validade da localização atual", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "proximity_notification_radius": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para [locais ativos](https://core.telegram.org/api/live-location.md), distância máxima até outro membro do chat para alertas de proximidade, em metros (0-100000)", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}}, "required": ["_", "geo_point"], "additionalProperties": false}, "inputMediaPoll": {"title": "entradaMediaPoll", "description": "Uma enquete", "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": "A enquete a ser enviada", "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 baseados em 0 das respostas corretas no vetor `answers` (para enquetes de questionário)", "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": "Anexo de mídia opcional para exibir junto com a enquete", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?InputMedia"}, "solution": {"type": "string", "x-tl-type": "string", "description": "Texto que é mostrado quando um usuário escolhe uma resposta incorreta ou toca no ícone da lâmpada em uma enquete estilo questionário, de 0 a 200 caracteres com no máximo duas linhas.", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensagem de texto estilizadas](https://core.telegram.org/api/entities.md) para a explicação `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": "Anexo de mídia opcional mostrado ao lado da explicação da solução do questionário", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InputMedia"}}, "required": ["_", "poll"], "additionalProperties": false}, "inputMediaDice": {"title": "entradaMediaDice", "description": "Envie um [adesivo animado baseado em 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": "Os emoji, por enquanto 🏀, 🎲 e 🎯 são suportados", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "inputMediaStory": {"title": "entradaMediaStory", "description": "História encaminhada", "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": "Veja onde a história foi postada", "x-telegram-field-docs": true}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da história", "x-telegram-field-docs": true}}, "required": ["_", "peer", "id"], "additionalProperties": false}, "inputMediaWebPage": {"title": "inputMediaWebPage", "description": "Especifica opções que serão utilizadas para gerar a visualização do link da legenda ou até mesmo uma visualização do link independente sem mensagem anexada.", "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": "Se definido, especifica que uma visualização de mídia grande deve ser usada.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "force_small_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, especifica que uma pequena visualização de mídia deve ser usada.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "optional": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se **não** definido, um erro `WEBPAGE_NOT_FOUND` RPC será emitido se uma visualização da página da web não puder ser gerada para o `url` especificado; caso contrário, nenhum erro será emitido (a menos que a mensagem fornecida também esteja vazia, caso em que será emitido um `MESSAGE_EMPTY`).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "url": {"type": "string", "x-tl-type": "string", "description": "O URL a ser usado para visualização do link.", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "inputMediaPaidMedia": {"title": "inputMediaPaidMedia", "description": "[Mídia paga, veja aqui »](https://core.telegram.org/api/paid-media.md) para mais informações.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaPaidMedia"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaPaidMedia"]}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "O preço da mídia em [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 TL: InputMedia."}, "x-tl-type": "Vector<InputMedia>", "description": "Fotos ou vídeos.", "x-telegram-field-docs": true}, "payload": {"type": "string", "x-tl-type": "string", "description": "Somente bots, especifica uma carga personalizada que será passada em [updateBotPurchasedPaidMedia](https://core.telegram.org/constructor/updateBotPurchasedPaidMedia.md) quando um pagamento for feito (este campo não ficará visível para o usuário)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "stars_amount", "extended_media"], "additionalProperties": false}, "inputMediaTodo": {"title": "inputMediaTodo", "description": "Cria uma [lista de tarefas »](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": "A lista de tarefas.", "x-telegram-field-docs": true}}, "required": ["_", "todo"], "additionalProperties": false}, "inputMediaStakeDice": {"title": "inputMediaStakeDice", "description": "Mídia de jogo 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": "Hash do jogo.", "x-telegram-field-docs": true}, "ton_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Quantidade.", "x-tl-type": "long", "x-telegram-field-docs": true}, "client_seed": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Semente do 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "widget_id"], "additionalProperties": false}, "inputChatPhotoEmpty": {"title": "inputChatPhotoEmpty", "description": "Construtor vazio, remova a foto do grupo.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChatPhotoEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChatPhotoEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputChatUploadedPhoto": {"title": "inputChatUploadedFoto", "description": "Nova foto a ser definida como foto de perfil do grupo.\n\nOs sinalizadores `file`, `video` e `video_emoji_markup` são mutuamente exclusivos.", "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": "Arquivo salvo em partes usando o 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 quadrado 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": "Ponto flutuante UNIX timestamp em segundos, indicando o quadro do vídeo/adesivo que deve ser utilizado como visualização estática; só pode ser usado se `video` ou `video_emoji_markup` estiver definido.", "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": "A imagem de perfil do adesivo animado deve conter um construtor [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md) ou [videoSizeStickerMarkup](https://core.telegram.org/constructor/videoSizeStickerMarkup.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?VideoSize"}}, "required": ["_"], "additionalProperties": false}, "inputChatPhoto": {"title": "inputChatFoto", "description": "Foto existente a ser definida como foto de perfil de bate-papo.", "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": "inputGeoPointEmpty", "description": "Construtor GeoPoint vazio.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputGeoPointEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGeoPointEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputGeoPoint": {"title": "entradaGeoPoint", "description": "Define um GeoPoint pelas suas 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": "Latitude", "x-telegram-field-docs": true}, "long": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Longitude", "x-telegram-field-docs": true}, "accuracy_radius": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "A precisão horizontal estimada da localização, em metros; conforme definido pelo remetente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "lat", "long"], "additionalProperties": false}, "inputPhotoEmpty": {"title": "inputPhotoEmpty", "description": "Construtor vazio.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPhotoEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputPhoto": {"title": "entradaFoto", "description": "Define uma foto para maior interação.", "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 do construtor [photo](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": "[Referência do arquivo](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference"], "additionalProperties": false}, "inputFileLocation": {"title": "inputFileLocation", "description": "DEPRECATED localização de uma foto", "externalDocs": {"url": "https://core.telegram.org/constructor/inputFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputFileLocation"]}, "volume_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Volume do servidor", "x-tl-type": "long", "x-telegram-field-docs": true}, "local_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificador de arquivo", "x-telegram-field-docs": true}, "secret": {"type": "string", "pattern": "^-?\\d+$", "description": "Soma de verificação para acessar o arquivo", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Referência do arquivo](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}}, "required": ["_", "volume_id", "local_id", "secret", "file_reference"], "additionalProperties": false}, "inputEncryptedFileLocation": {"title": "inputEncryptedFileLocation", "description": "Localização do arquivo de bate-papo secreto criptografado.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEncryptedFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEncryptedFileLocation"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do arquivo, valor do 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": "Checksum, **access_hash** valor do 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": "inputDocumentFileLocation", "description": "Localização do documento (vídeo, voz, áudio, basicamente todos os tipos, exceto foto)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputDocumentFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputDocumentFileLocation"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do documento", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** parâmetro do construtor [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": "[Referência do arquivo](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}, "thumb_size": {"type": "string", "x-tl-type": "string", "description": "Tamanho da miniatura para baixar a miniatura", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference", "thumb_size"], "additionalProperties": false}, "inputSecureFileLocation": {"title": "inputSecureFileLocation", "description": "Localização do telegrama criptografado [arquivo passaporte](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 do arquivo, valor do 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": "Checksum, **access_hash** valor do 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": "inputTakeoutFileLocation", "description": "Usado para baixar um arquivo JSON que conterá todos os dados pessoais relacionados a recursos que ainda não possuem um [método de takeout](https://core.telegram.org/api/takeout.md) especializado, veja [aqui »](https://core.telegram.org/api/takeout.md) para mais informações sobre o takeout API.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputTakeoutFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputTakeoutFileLocation"]}}, "required": ["_"], "additionalProperties": false}, "inputPhotoFileLocation": {"title": "inputPhotoFileLocation", "description": "Use este objeto para baixar uma foto com o 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": "Identificação com foto, obtida do 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 acesso da foto, obtido do objeto [photo](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": "[Referência do arquivo](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}, "thumb_size": {"type": "string", "x-tl-type": "string", "description": "O [PhotoSize](https://core.telegram.org/type/PhotoSize.md) para download: deve ser definido para o campo `type` do objeto PhotoSize desejado do [photo](https://core.telegram.org/constructor/photo.md)", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference", "thumb_size"], "additionalProperties": false}, "inputPhotoLegacyFileLocation": {"title": "inputPhotoLegacyFileLocation", "description": "DEPRECATED localização do arquivo de foto herdado", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPhotoLegacyFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPhotoLegacyFileLocation"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificação com foto", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acesso", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Referência de arquivo", "x-telegram-field-docs": true}, "volume_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do volume", "x-tl-type": "long", "x-telegram-field-docs": true}, "local_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID local", "x-telegram-field-docs": true}, "secret": {"type": "string", "pattern": "^-?\\d+$", "description": "Segredo", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference", "volume_id", "local_id", "secret"], "additionalProperties": false}, "inputPeerPhotoFileLocation": {"title": "inputPeerPhotoFileLocation", "description": "Localização da foto do perfil do canal/grupo/supergrupo/usuário", "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": "Quer baixar a versão de alta qualidade da imagem", "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": "O peer cuja foto do perfil deve ser baixada", "x-telegram-field-docs": true}, "photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificação com foto", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "photo_id"], "additionalProperties": false}, "inputStickerSetThumb": {"title": "entradaStickerSetThumb", "description": "Localização da miniatura do conjunto de adesivos (veja [arquivos](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 adesivos", "x-telegram-field-docs": true}, "thumb_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Versão em miniatura", "x-telegram-field-docs": true}}, "required": ["_", "stickerset", "thumb_version"], "additionalProperties": false}, "inputGroupCallStream": {"title": "inputGroupCallStream", "description": "Identifica um pedaço de mídia de um chat de vídeo no modo RTMP, transmissão ao vivo ou história ao vivo, consulte [reproduzindo uma transmissão ao 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": "Chamada em grupo no modo RTMP", "x-telegram-field-docs": true}, "time_ms": {"type": "string", "pattern": "^-?\\d+$", "description": "Carimbo de data/hora do pedaço a ser buscado, em milissegundos", "x-tl-type": "long", "x-telegram-field-docs": true}, "scale": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Especifica a duração do segmento de mídia a ser buscado em milissegundos, deslocando `1000` para a direita `scale` vezes: `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 do canal de vídeo a ser buscado; o vídeo unificado usa o canal `1`. Omita junto com `video_quality` para buscar áudio", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "video_quality": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Qualidade de vídeo selecionada (0 = mais baixa, 1 = média, 2 = melhor)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "call", "time_ms", "scale"], "additionalProperties": false}, "peerUser": {"title": "peerUser", "description": "Parceiro de bate-papo", "externalDocs": {"url": "https://core.telegram.org/constructor/peerUser"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["peerUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador do usuário", "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": "peerChannel", "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 do 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": "usuárioEmpty", "description": "Construtor vazio, usuário inexistente.", "externalDocs": {"url": "https://core.telegram.org/constructor/userEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["userEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de usuário ou `0`", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "user": {"title": "usuário", "description": "Indica informações sobre um determinado usuário.\n\nA menos que especificado de outra forma, ao atualizar o [banco de dados de pares local](https://core.telegram.org/api/peers.md), todos os campos do construtor recém-recebido têm prioridade sobre o construtor antigo armazenado em cache localmente (inclusive removendo campos que não estão definidos no novo construtor).\n\nVeja [aqui »](https://github.com/tdlib/td/blob/73035e4a69ed26df563652de14aa9c4c86d23420/td/telegram/UserManager.cpp#L3106) para uma implementação da lógica a ser usada ao atualizar o [banco de dados peer do usuário local](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": "Se este usuário indica o usuário conectado no momento", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?true"}, "contact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este usuário é um contato Ao atualizar o [banco de dados de peer local](https://core.telegram.org/api/peers.md), não aplique alterações a este campo se o sinalizador `min` estiver definido.", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?true"}, "mutual_contact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este usuário é um contato mútuo.  Ao atualizar o [banco de dados de peer local](https://core.telegram.org/api/peers.md), não aplique alterações a este campo se o sinalizador `min` estiver definido.", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?true"}, "deleted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se a conta deste usuário foi excluída.  Mudanças neste sinalizador devem invalidar o cache local [userFull](https://core.telegram.org/constructor/userFull.md) para este ID de usuário, veja [aqui »](https://core.telegram.org/api/peers.md#full-info-database) para mais informações.", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}, "bot": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Este usuário é um bot?  Mudanças neste sinalizador devem invalidar o cache local [userFull](https://core.telegram.org/constructor/userFull.md) para este ID de usuário, veja [aqui »](https://core.telegram.org/api/peers.md#full-info-database) para mais informações.", "x-telegram-field-docs": true, "x-tl-flag": "flags.14?true"}, "bot_chat_history": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "O bot pode ver todas as mensagens em grupos?", "x-telegram-field-docs": true, "x-tl-flag": "flags.15?true"}, "bot_nochats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "O bot pode ser adicionado a grupos?", "x-telegram-field-docs": true, "x-tl-flag": "flags.16?true"}, "verified": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este usuário foi verificado", "x-telegram-field-docs": true, "x-tl-flag": "flags.17?true"}, "restricted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "O acesso a este usuário deve ser restrito pelo motivo especificado em `restriction_reason`", "x-telegram-field-docs": true, "x-tl-flag": "flags.18?true"}, "min": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Veja [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": "Se o bot pode solicitar nossa geolocalização no modo inline", "x-telegram-field-docs": true, "x-tl-flag": "flags.21?true"}, "support": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este é um usuário de suporte oficial", "x-telegram-field-docs": true, "x-tl-flag": "flags.23?true"}, "scam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Este pode ser um usuário fraudulento", "x-telegram-field-docs": true, "x-tl-flag": "flags.24?true"}, "apply_min_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido e `min` estiver definido, o valor de `photo` pode ser usado para atualizar o banco de dados local, consulte a documentação desse sinalizador para mais informações.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?true"}, "fake": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, este usuário foi denunciado por muitos usuários como um usuário falso ou fraudulento: tenha cuidado ao interagir com eles.", "x-telegram-field-docs": true, "x-tl-flag": "flags.26?true"}, "bot_attach_menu": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este bot oferece um [aplicativo web de menu de anexos](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": "Se este usuário é um usuário Telegram Premium As alterações neste sinalizador devem invalidar o cache local [userFull](https://core.telegram.org/constructor/userFull.md) para este ID de usuário, consulte [aqui »](https://core.telegram.org/api/peers.md#full-info-database) para obter mais informações.  Mudanças neste sinalizador se o sinalizador `self` estiver definido também devem acionar as seguintes chamadas, para atualizar os respectivos caches: - O cache [help.getConfig](https://core.telegram.org/method/help.getConfig.md) - O cache [messages.getTopReactions](https://core.telegram.org/method/messages.getTopReactions.md) se o sinalizador `bot` **não** estiver definido", "x-telegram-field-docs": true, "x-tl-flag": "flags.28?true"}, "attach_menu_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se instalamos o [aplicativo da web do menu de anexos](https://core.telegram.org/api/bots/attach.md) oferecido por este bot.  Ao atualizar o [banco de dados de peer local](https://core.telegram.org/api/peers.md), não aplique alterações a este campo se o sinalizador `min` estiver definido.", "x-telegram-field-docs": true, "x-tl-flag": "flags.29?true"}, "bot_can_edit": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se podemos editar a foto do perfil, o nome, o texto e a descrição deste bot porque ele é nosso.  Ao atualizar o [banco de dados de peer local](https://core.telegram.org/api/peers.md), não aplique alterações a este campo se o sinalizador `min` estiver definido.  Alterações neste sinalizador (se `min` não estiver definido) devem invalidar o cache local [userFull](https://core.telegram.org/constructor/userFull.md) para este ID de usuário.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.1?true"}, "close_friend": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se marcamos este usuário como [amigo próximo, veja aqui » para mais informações](https://core.telegram.org/api/privacy.md).  Ao atualizar o [banco de dados de peer local](https://core.telegram.org/api/peers.md), não aplique alterações a este campo se o sinalizador `min` estiver definido.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.2?true"}, "stories_hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se [ocultamos »](https://core.telegram.org/api/stories.md#hiding-stories-of-other-users) todas as histórias ativas deste usuário.  Ao atualizar o [banco de dados de peer local](https://core.telegram.org/api/peers.md), não aplique alterações a este campo se o sinalizador `min` estiver definido.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.3?true"}, "stories_unavailable": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Nenhuma história deste usuário está visível.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.4?true"}, "contact_require_premium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Veja [aqui para mais informações sobre esta bandeira »](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": "Se este bot pode ser [conectado a um usuário conforme especificado aqui »](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": "Se definido, este bot configurou um [Mini aplicativo 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": "Se definido, este bot suporta [tópicos do fórum de bot »](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": "Se definido, este bot suporta [tópicos do fórum do bot »](https://core.telegram.org/api/forum.md#bot-forums), e os usuários (não apenas o bot!) têm permissão para criar e gerenciar tópicos do fórum do bot em seu bate-papo privado com o 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": "Se definido, este bot é um [bot gerenciador](https://core.telegram.org/api/bots/managed-bots.md) que pode criar e gerenciar [bots gerenciados »](https://core.telegram.org/api/bots/managed-bots.md) em nome do usuário.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.18?true"}, "bot_guestchat": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, este bot pode ser invocado como [convidado em 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 do usuário, veja [aqui »](https://core.telegram.org/api/peers.md#peer-id) para mais informações e o intervalo de ID disponível.", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Acesse o hash do usuário, veja [aqui »](https://core.telegram.org/api/peers.md#access-hash) para mais informações.  Se este sinalizador estiver definido, ao atualizar o [banco de dados de peer local](https://core.telegram.org/api/peers.md), gere um sinalizador virtual chamado `min_access_hash`, que é: - Defina como `true` se `min` estiver definido AND -- O sinalizador `phone` **não** está definido OU -- O sinalizador `phone` está definido e a sequência de número de telefone associada não está vazia - Defina como `false` caso contrário.   Em seguida, aplique `access_hash` e `min_access_hash` ao banco de dados local se: - `min_access_hash` for falso OU - `min_access_hash` for verdadeiro AND -- Não há nenhum objeto armazenado em cache localmente para este usuário OU -- Não há `access_hash` no cache local OU -- O `min_access_hash` do objeto em cache também é verdadeiro Se o final mesclado objeto armazenado no banco de dados tem o campo `min_access_hash` definido como verdadeiro, o `access_hash` relacionado é **apenas** adequado para uso em [`inputPeerPhotoFileLocation` »](https://core.telegram.org/constructor/inputPeerPhotoFileLocation.md), para [baixar diretamente as fotos de perfil](https://core.telegram.org/api/files.md) dos usuários, em qualquer outro lugar um construtor `inputPeer*FromMessage` terá que ser gerado conforme especificado [aqui »](https://core.telegram.org/api/min.md).  Os bots também podem usar hashes de acesso mínimo em algumas condições, passando `0` em vez do hash de acesso 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": "Primeiro nome.  Ao atualizar o [banco de dados de peer local](https://core.telegram.org/api/peers.md), aplique alterações neste campo somente se: - O sinalizador `min` não estiver definido OU - O sinalizador `min` estiver definido AND -- O sinalizador `min` da entrada do usuário armazenada em cache localmente estiver definido.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Sobrenome.  Ao atualizar o [banco de dados de peer local](https://core.telegram.org/api/peers.md), aplique alterações neste campo somente se: - O sinalizador `min` não estiver definido OU - O sinalizador `min` estiver definido AND -- O sinalizador `min` da entrada do usuário armazenada em cache localmente estiver definido.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "username": {"type": "string", "x-tl-type": "string", "description": "Nome de usuário ativo principal.  Ao atualizar o [banco de dados de peer local](https://core.telegram.org/api/peers.md), aplique alterações neste campo somente se: - O sinalizador `min` não estiver definido OU - O sinalizador `min` estiver definido AND -- O sinalizador `min` da entrada do usuário armazenada em cache localmente estiver definido.  Alterações neste sinalizador devem invalidar o cache local [userFull](https://core.telegram.org/constructor/userFull.md) para este ID de usuário se as condições acima forem respeitadas e o sinalizador `bot_can_edit` também for definido.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "phone": {"type": "string", "x-tl-type": "string", "description": "Número de telefone.  Ao atualizar o [banco de dados de peer local](https://core.telegram.org/api/peers.md), aplique alterações neste campo somente se: - O sinalizador `min` não estiver definido OU - O sinalizador `min` estiver definido AND -- O sinalizador `min` da entrada do usuário armazenada em cache localmente estiver definido.", "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 do perfil do usuário.  Ao atualizar o [banco de dados de peer local](https://core.telegram.org/api/peers.md), aplique alterações neste campo somente se: - O sinalizador `min` não estiver definido OU - O sinalizador `min` estiver definido AND -- O sinalizador `apply_min_photo` estiver definido OU -- O sinalizador `min` da entrada do usuário armazenada em cache localmente estiver definido.", "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": "Status online do usuário.  Ao atualizar o [banco de dados de peer local](https://core.telegram.org/api/peers.md), aplique alterações a este campo somente se: - O sinalizador `min` não estiver definido OU - O sinalizador `min` estiver definido AND -- O sinalizador `min` da entrada de usuário armazenada em cache local estiver definido OU -- A entrada de usuário armazenada em cache localmente for 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": "Versão do campo [bot_info em userFull](https://core.telegram.org/constructor/userFull.md), incrementado toda vez que muda.  Mudanças neste sinalizador devem invalidar o cache local [userFull](https://core.telegram.org/constructor/userFull.md) para este ID de usuário, veja [aqui »](https://core.telegram.org/api/peers.md#full-info-database) para mais informações.", "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 TL: RestrictionReason."}, "x-tl-type": "Vector<RestrictionReason>", "description": "Contém o motivo pelo qual o acesso a este usuário deve ser restrito.", "x-telegram-field-docs": true, "x-tl-flag": "flags.18?Vector<RestrictionReason>"}, "bot_inline_placeholder": {"type": "string", "x-tl-type": "string", "description": "Espaço reservado inline para este bot inline", "x-telegram-field-docs": true, "x-tl-flag": "flags.19?string"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Código do idioma do usuário", "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": "[Status do 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: Nome de usuário."}, "x-tl-type": "Vector<Username>", "description": "Nomes de usuário adicionais.  Ao atualizar o [banco de dados de peer local](https://core.telegram.org/api/peers.md), aplique alterações neste campo somente se: - O sinalizador `min` não estiver definido OU - O sinalizador `min` estiver definido AND -- O sinalizador `min` da entrada do usuário armazenada em cache localmente estiver definido.  Alterações neste sinalizador (se as condições acima forem respeitadas) devem invalidar o cache local [userFull](https://core.telegram.org/constructor/userFull.md) para este ID de usuário.", "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": "Resumo das [histórias ativas »](https://core.telegram.org/api/stories.md#recent-story-summaries) do usuário.   Ao atualizar o [banco de dados de pares locais](https://core.telegram.org/api/peers.md), não aplique alterações a este campo se o sinalizador `min` do construtor de entrada estiver definido.", "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": "A [cor de destaque](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": "A [cor do 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": "Usuários ativos mensais (MAU) deste bot (podem estar ausentes para bots pequenos).", "x-telegram-field-docs": true, "x-tl-flag": "flags2.12?int"}, "bot_verification_icon": {"type": "string", "pattern": "^-?\\d+$", "description": "Descreve um [ícone de verificação 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": "Se definido, o usuário ativou [mensagens pagas »](https://core.telegram.org/api/paid-messages.md), *podemos* precisar pagar a quantia especificada de [Estrelas](https://core.telegram.org/api/stars.md) para enviar mensagens, dependendo das exceções configuradas: verifique [userFull](https://core.telegram.org/constructor/userFull.md).`send_paid_messages_stars` ou [users.getRequirementsToContact](https://core.telegram.org/method/users.getRequirementsToContact.md) para ver se o usuário conectado no momento realmente precisa pagar ou não, veja [aqui »](https://core.telegram.org/api/paid-messages.md) para o fluxo 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-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.21?long"}}, "required": ["_", "id"], "additionalProperties": false}, "userProfilePhotoEmpty": {"title": "userProfilePhotoEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["userProfilePhotoEmpty"]}}, "required": ["_"], "additionalProperties": false}, "userProfilePhoto": {"title": "foto de perfil do usuário", "type": "object", "properties": {"_": {"type": "string", "enum": ["userProfilePhoto"]}, "has_video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "personal": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "stripped_thumb": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.1?bytes"}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "photo_id", "dc_id"], "additionalProperties": false}, "userStatusEmpty": {"title": "userStatusEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusEmpty"]}}, "required": ["_"], "additionalProperties": false}, "userStatusOnline": {"title": "usuárioStatusOnline", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusOnline"]}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "expires"], "additionalProperties": false}, "userStatusOffline": {"title": "usuárioStatusOffline", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusOffline"]}, "was_online": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "was_online"], "additionalProperties": false}, "userStatusRecently": {"title": "userStatusRecentemente", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusRecently"]}, "by_me": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "userStatusLastWeek": {"title": "userStatusLastWeek", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusLastWeek"]}, "by_me": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "userStatusLastMonth": {"title": "userStatusLastMonth", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusLastMonth"]}, "by_me": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "chatEmpty": {"title": "chatEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id"], "additionalProperties": false}, "chat": {"title": "conversar", "type": "object", "properties": {"_": {"type": "string", "enum": ["chat"]}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "left": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "deactivated": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "call_active": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.23?true"}, "call_not_empty": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.24?true"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.25?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "ChatPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatPhotoEmpty", "chatPhoto"]}}, "description": "Tipo TL: ChatPhoto."}, "participants_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "migrated_to": {"type": "object", "x-tl-type": "InputChannel", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputChannelEmpty", "inputChannel", "inputChannelFromMessage"]}}, "description": "Tipo TL: InputChannel.", "x-tl-flag": "flags.6?InputChannel"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Tipo 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 TL: ChatBannedRights.", "x-tl-flag": "flags.18?ChatBannedRights"}}, "required": ["_", "id", "title", "photo", "participants_count", "date", "version"], "additionalProperties": false}, "chatForbidden": {"title": "chatProibido", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatForbidden"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "id", "title"], "additionalProperties": false}, "channel": {"title": "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-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.13?long"}, "title": {"type": "string", "x-tl-type": "string"}, "username": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.6?string"}, "photo": {"type": "object", "x-tl-type": "ChatPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatPhotoEmpty", "chatPhoto"]}}, "description": "Tipo TL: ChatPhoto."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "restriction_reason": {"type": "array", "items": {"type": "object", "x-tl-type": "RestrictionReason", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["restrictionReason"]}}, "description": "Tipo TL: RestrictionReason."}, "x-tl-type": "Vector<RestrictionReason>", "x-tl-flag": "flags.9?Vector<RestrictionReason>"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Tipo 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 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 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: Nome de usuário."}, "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 TL: RecentStory.", "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 TL: EmojiStatus.", "x-tl-flag": "flags2.9?EmojiStatus"}, "level": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.10?int"}, "subscription_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.11?int"}, "bot_verification_icon": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.13?long"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.14?long"}, "linked_monoforum_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.18?long"}, "linked_community_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.20?long"}, "pinned_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.22?int"}}, "required": ["_", "id", "title", "photo", "date"], "additionalProperties": false}, "channelForbidden": {"title": "canalProibido", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelForbidden"]}, "broadcast": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "megagroup": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "monoforum": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string"}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.16?int"}}, "required": ["_", "id", "access_hash", "title"], "additionalProperties": false}, "communityForbidden": {"title": "communityForbidden", "type": "object", "properties": {"_": {"type": "string", "enum": ["communityForbidden"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.13?long"}, "title": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "id", "title"], "additionalProperties": false}, "community": {"title": "community", "type": "object", "properties": {"_": {"type": "string", "enum": ["community"]}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "left": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "min": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true"}, "collapsed_in_dialogs": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.20?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.13?long"}, "title": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "ChatPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatPhotoEmpty", "chatPhoto"]}}, "description": "Tipo TL: ChatPhoto."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Tipo 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 TL: ChatBannedRights.", "x-tl-flag": "flags.18?ChatBannedRights"}}, "required": ["_", "id", "title", "photo", "date"], "additionalProperties": false}, "chatFull": {"title": "bate-papo completo", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatFull"]}, "can_set_username": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "has_scheduled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "translations_disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true"}, "has_welcome_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.21?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "about": {"type": "string", "x-tl-type": "string"}, "participants": {"type": "object", "x-tl-type": "ChatParticipants", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipantsForbidden", "chatParticipants"]}}, "description": "Tipo TL: ChatParticipants."}, "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 TL: PeerNotifySettings."}, "exported_invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo 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 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-битное целое в десятичной записи.", "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 TL: ChatReactions.", "x-tl-flag": "flags.18?ChatReactions"}, "reactions_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.20?int"}}, "required": ["_", "id", "about", "participants", "notify_settings"], "additionalProperties": false}, "channelFull": {"title": "canal completo", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelFull"]}, "can_view_participants": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "can_set_username": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "can_set_stickers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "hidden_prehistory": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "can_set_location": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true"}, "has_scheduled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true"}, "can_view_stats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.20?true"}, "blocked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.22?true"}, "can_delete_channel": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.0?true"}, "antispam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.1?true"}, "participants_hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.2?true"}, "translations_disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.3?true"}, "stories_pinned_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.5?true"}, "view_forum_as_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.6?true"}, "restricted_sponsored": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.11?true"}, "can_view_revenue": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.12?true"}, "paid_media_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.14?true"}, "can_view_stars_revenue": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.15?true"}, "paid_reactions_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.16?true"}, "stargifts_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.19?true"}, "paid_messages_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.20?true"}, "has_welcome_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.24?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "about": {"type": "string", "x-tl-type": "string"}, "participants_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "admins_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "kicked_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "banned_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "online_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.13?int"}, "read_inbox_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "read_outbox_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "chat_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Tipo TL: Foto."}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "Tipo TL: PeerNotifySettings."}, "exported_invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo 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-битное целое в десятичной записи.", "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: Conjunto de adesivos.", "x-tl-flag": "flags.8?StickerSet"}, "available_min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.9?int"}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.11?int"}, "linked_chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.14?long"}, "location": {"type": "object", "x-tl-type": "ChannelLocation", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelLocationEmpty", "channelLocation"]}}, "description": "Tipo TL: ChannelLocation.", "x-tl-flag": "flags.15?ChannelLocation"}, "slowmode_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.17?int"}, "slowmode_next_send_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.18?int"}, "stats_dc": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.12?int"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Tipo 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-битное целое в десятичной записи.", "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 TL: ChatReactions.", "x-tl-flag": "flags.30?ChatReactions"}, "reactions_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.13?int"}, "stories": {"type": "object", "x-tl-type": "PeerStories", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerStories"]}}, "description": "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 de parede.", "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: Conjunto de adesivos.", "x-tl-flag": "flags2.10?StickerSet"}, "bot_verification": {"type": "object", "x-tl-type": "BotVerification", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botVerification"]}}, "description": "Tipo TL: BotVerification.", "x-tl-flag": "flags2.17?BotVerification"}, "stargifts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.18?int"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.21?long"}, "main_tab": {"type": "object", "x-tl-type": "ProfileTab", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["profileTabPosts", "profileTabGifts", "profileTabMedia", "profileTabFiles", "profileTabMusic", "profileTabVoice", "profileTabLinks", "profileTabGifs"]}}, "description": "Tipo TL: ProfileTab.", "x-tl-flag": "flags2.22?ProfileTab"}, "guard_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.23?long"}, "share_theme": {"type": "object", "x-tl-type": "ShareTheme", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["shareThemeDefault", "shareThemeEmojiBackdrop", "shareThemeGift", "inputShareThemeGift"]}}, "description": "Тип TL: ShareTheme.", "x-tl-flag": "flags2.25?ShareTheme"}}, "required": ["_", "id", "about", "read_inbox_max_id", "read_outbox_max_id", "unread_count", "chat_photo", "notify_settings", "bot_info", "pts"], "additionalProperties": false}, "communityFull": {"title": "communityFull", "type": "object", "properties": {"_": {"type": "string", "enum": ["communityFull"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "about": {"type": "string", "x-tl-type": "string"}, "chat_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "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 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "user_id", "inviter_id", "date"], "additionalProperties": false}, "chatParticipantCreator": {"title": "chatParticipantCreator", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatParticipantCreator"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "user_id"], "additionalProperties": false}, "chatParticipantAdmin": {"title": "chatParticipantAdmin", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatParticipantAdmin"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "user_id", "inviter_id", "date"], "additionalProperties": false}, "chatParticipantsForbidden": {"title": "chatParticipantesProibido", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatParticipantsForbidden"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "self_participant": {"type": "object", "x-tl-type": "ChatParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipant", "chatParticipantCreator", "chatParticipantAdmin"]}}, "description": "Tipo TL: ChatParticipant.", "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-битное целое в десятичной записи.", "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 TL: ChatParticipant."}, "x-tl-type": "Vector<ChatParticipant>"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id", "participants", "version"], "additionalProperties": false}, "chatPhotoEmpty": {"title": "chatPhotoEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatPhotoEmpty"]}}, "required": ["_"], "additionalProperties": false}, "chatPhoto": {"title": "bate-papoFoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatPhoto"]}, "has_video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "stripped_thumb": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.1?bytes"}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "photo_id", "dc_id"], "additionalProperties": false}, "messageEmpty": {"title": "mensagem Vazia", "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": "mensagem", "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 TL: MessageFwdHeader.", "x-tl-flag": "flags.2?MessageFwdHeader"}, "via_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.11?long"}, "via_business_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.0?long"}, "guestchat_via_from": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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 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 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 TL: ReplyMarkup.", "x-tl-flag": "flags.6?ReplyMarkup"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "Tipo TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.7?Vector<MessageEntity>"}, "views": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int"}, "forwards": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int"}, "replies": {"type": "object", "x-tl-type": "MessageReplies", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReplies"]}}, "description": "Tipo TL: MessageReplies.", "x-tl-flag": "flags.23?MessageReplies"}, "edit_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.15?int"}, "post_author": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.16?string"}, "grouped_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.17?long"}, "reactions": {"type": "object", "x-tl-type": "MessageReactions", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReactions"]}}, "description": "Tipo TL: MessageReactions.", "x-tl-flag": "flags.20?MessageReactions"}, "restriction_reason": {"type": "array", "items": {"type": "object", "x-tl-type": "RestrictionReason", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["restrictionReason"]}}, "description": "Tipo TL: RestrictionReason."}, "x-tl-type": "Vector<RestrictionReason>", "x-tl-flag": "flags.22?Vector<RestrictionReason>"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.25?int"}, "quick_reply_shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.30?int"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.2?long"}, "factcheck": {"type": "object", "x-tl-type": "FactCheck", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["factCheck"]}}, "description": "Tipo de TL: verificação de fatos.", "x-tl-flag": "flags2.3?FactCheck"}, "report_delivery_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.5?int"}, "paid_message_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.6?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["suggestedPost"]}}, "description": "Tipo TL: Post sugerido.", "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": "serviço de mensagem", "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 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 TL: MessageAction."}, "reactions": {"type": "object", "x-tl-type": "MessageReactions", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReactions"]}}, "description": "Tipo TL: MessageReactions.", "x-tl-flag": "flags.20?MessageReactions"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.25?int"}}, "required": ["_", "id", "peer_id", "date", "action"], "additionalProperties": false}, "messageMediaEmpty": {"title": "mensagemMediaEmpty", "description": "Construtor vazio.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty"]}}, "required": ["_"], "additionalProperties": false}, "messageMediaPhoto": {"title": "mensagemMídiaFoto", "description": "Foto anexada.", "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": "Se esta mídia deve ser escondida atrás de um aviso de spoiler", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "live_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Quer seja uma foto ao vivo, i.e. uma foto emparelhada com o pequeno clipe `video` capturado ao lado dela", "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": "O tempo de vida da foto autodestrutiva pode ser `0` para desativar a autodestruição, `0x7FFFFFFF` para autodestruir a foto imediatamente após ela ser reproduzida; caso contrário, se autodestrói `ttl_seconds` após ser reproduzido.", "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": "O pequeno videoclipe da foto ao vivo", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?Document"}}, "required": ["_"], "additionalProperties": false}, "messageMediaGeo": {"title": "mensagemMediaGeo", "description": "Mapa anexo.", "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": "GeoPonto", "x-telegram-field-docs": true}}, "required": ["_", "geo"], "additionalProperties": false}, "messageMediaContact": {"title": "mensagemMídiaContato", "description": "Contato anexo.", "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 telefone", "x-telegram-field-docs": true}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Nome do contato", "x-telegram-field-docs": true}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Sobrenome do contato", "x-telegram-field-docs": true}, "vcard": {"type": "string", "x-tl-type": "string", "description": "VCARD de contato", "x-telegram-field-docs": true}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador do usuário ou `0`, se o usuário com o número de telefone fornecido não estiver registrado", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "phone_number", "first_name", "last_name", "vcard", "user_id"], "additionalProperties": false}, "messageMediaUnsupported": {"title": "mensagemMediaUnsupported", "description": "A versão atual do cliente não suporta este tipo de mídia.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaUnsupported"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaUnsupported"]}}, "required": ["_"], "additionalProperties": false}, "messageMediaDocument": {"title": "mensagemMediaDocument", "description": "Documento (vídeo, áudio, voz, adesivo, qualquer tipo de mídia, exceto foto)", "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": "Quer este seja um adesivo normal, se não for definido, este é um adesivo premium e uma animação de adesivo premium deve ser reproduzida.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se esta mídia deve ser escondida atrás de um aviso de spoiler", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este é um vídeo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "round": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este é um vídeo redondo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "voice": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se esta é uma mensagem 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 anexado", "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": "Apenas vídeos, contém qualidades alternativas do vídeo.", "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": "Capa 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": "Comece a reproduzir o vídeo no carimbo de data/hora especificado (segundos).", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?int"}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O tempo de vida do documento autodestrutivo pode ser `0` para desativar a autodestruição, `0x7FFFFFFF` para autodestruir o documento imediatamente após ser reproduzido; caso contrário, se autodestrói `ttl_seconds` após ser reproduzido.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}}, "required": ["_"], "additionalProperties": false}, "messageMediaWebPage": {"title": "mensagemMediaWebPage", "description": "Visualização da página da 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": "Se definido, especifica que uma visualização de mídia grande deve ser usada.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "force_small_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, especifica que uma pequena visualização de mídia deve ser usada.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "manual": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, indica que o URL usado para a visualização da página da web foi especificado manualmente usando [inputMediaWebPage](https://core.telegram.org/constructor/inputMediaWebPage.md) e pode não estar relacionado a nenhum dos URLs especificados na mensagem.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "safe": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, a página da web poderá ser aberta diretamente sem a confirmação do usuário; caso contrário, será necessária a confirmação do usuário, mostrando o URL exato que será aberto.", "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": "Visualização da página da web", "x-telegram-field-docs": true}}, "required": ["_", "webpage"], "additionalProperties": false}, "messageMediaVenue": {"title": "mensagemMediaVenue", "description": "Local", "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": "Geolocalização do local", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nome do local", "x-telegram-field-docs": true}, "address": {"type": "string", "x-tl-type": "string", "description": "Endereço", "x-telegram-field-docs": true}, "provider": {"type": "string", "x-tl-type": "string", "description": "Provedor de local: atualmente apenas \"foursquare\" e \"gplaces\" (Google Places) precisam ser suportados", "x-telegram-field-docs": true}, "venue_id": {"type": "string", "x-tl-type": "string", "description": "ID do local no banco de dados do provedor", "x-telegram-field-docs": true}, "venue_type": {"type": "string", "x-tl-type": "string", "description": "Tipo de local no banco de dados do provedor", "x-telegram-field-docs": true}}, "required": ["_", "geo", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "messageMediaGame": {"title": "mensagemMediaGame", "description": "Jogo telegrama", "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": "Jogo", "x-telegram-field-docs": true}}, "required": ["_", "game"], "additionalProperties": false}, "messageMediaInvoice": {"title": "mensagemMediaInvoice", "description": "Fatura", "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": "Se o endereço de entrega foi solicitado", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "test": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este é um exemplo de fatura", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "title": {"type": "string", "x-tl-type": "string", "description": "Nome do produto, 1 a 32 caracteres", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Descrição do produto, 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 da foto do produto para nota fiscal. Pode ser uma foto do produto ou uma imagem de marketing de um serviço. As pessoas gostam mais quando veem o que estão 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 da mensagem de recebimento: se definido, os clientes devem alterar o texto do primeiro botão [keyboardButtonBuy](https://core.telegram.org/constructor/keyboardButtonBuy.md) sempre anexado à [mensagem](https://core.telegram.org/constructor/message.md) para uma versão localizada da palavra `Receipt`", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies) ou `XTR` para [Telegram Stars](https://core.telegram.org/api/stars.md).", "x-telegram-field-docs": true}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço total nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após o ponto decimal para cada moeda (2 para a maioria das moedas).", "x-tl-type": "long", "x-telegram-field-docs": true}, "start_param": {"type": "string", "x-tl-type": "string", "description": "Parâmetro exclusivo de link direto do bot que pode ser usado para gerar esta fatura", "x-telegram-field-docs": true}, "extended_media": {"type": "object", "x-tl-type": "MessageExtendedMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageExtendedMediaPreview", "messageExtendedMedia"]}}, "description": "Obsoleto", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?MessageExtendedMedia"}}, "required": ["_", "title", "description", "currency", "total_amount", "start_param"], "additionalProperties": false}, "messageMediaGeoLive": {"title": "mensagemMediaGeoLive", "description": "Indica uma [geolocalização ao 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": "Geolocalização", "x-telegram-field-docs": true}, "heading": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para [locais ativos](https://core.telegram.org/api/live-location.md), uma direção na qual o local se move, em graus; 1-360", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Período de validade da geolocalização fornecida", "x-telegram-field-docs": true}, "proximity_notification_radius": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para [locais ativos](https://core.telegram.org/api/live-location.md), distância máxima até outro membro do chat para alertas de proximidade, em metros (0-100000).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "geo", "period"], "additionalProperties": false}, "messageMediaPoll": {"title": "mensagemMediaPoll", "description": "Enquete", "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": "A enquete", "x-telegram-field-docs": true}, "results": {"type": "object", "x-tl-type": "PollResults", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pollResults"]}}, "description": "Os resultados da enquete", "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": "Anexo de mídia opcional exibido ao lado da enquete", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?MessageMedia"}}, "required": ["_", "poll", "results"], "additionalProperties": false}, "messageMediaDice": {"title": "mensagemMediaDice", "description": "[Adesivo animado baseado em 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 dos dados](https://core.telegram.org/api/dice.md)", "x-telegram-field-docs": true}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Os emoji, por enquanto 🏀, 🎲 e 🎯 são suportados", "x-telegram-field-docs": true}, "game_outcome": {"type": "object", "x-tl-type": "messages.EmojiGameOutcome", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messages.emojiGameOutcome"]}}, "description": "Resultado do jogo de dados.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?messages.EmojiGameOutcome"}}, "required": ["_", "value", "emoticon"], "additionalProperties": false}, "messageMediaStory": {"title": "mensagemMediaStory", "description": "Representa uma [história](https://core.telegram.org/api/stories.md) encaminhada ou uma menção à história.", "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": "Se definido, indica que esse alguém nos mencionou nesta história (i.e. marcando-nos na descrição) ou vice-versa, mencionamos o outro par (se a mensagem for enviada).", "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": "Colega que postou a história.", "x-telegram-field-docs": true}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da história", "x-telegram-field-docs": true}, "story": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "A história em si, se ausente, busque-a usando [stories.getStoriesByID](https://core.telegram.org/method/stories.getStoriesByID.md) e os parâmetros `peer`/`id` especificados acima.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?StoryItem"}}, "required": ["_", "peer", "id"], "additionalProperties": false}, "messageMediaGiveaway": {"title": "mensagemMediaGiveaway", "description": "Contém informações sobre um [sorteio, veja aqui »](https://core.telegram.org/api/giveaways.md) para mais informações.", "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": "Se definido, apenas novos assinantes a partir da data de criação do sorteio poderão participar do sorteio.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "winners_are_visible": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, os vencedores do sorteio serão públicos e serão listados em uma mensagem [messageMediaGiveawayResults](https://core.telegram.org/constructor/messageMediaGiveawayResults.md) que será enviada automaticamente ao canal assim que o sorteio terminar.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "channels": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Os canais aos quais o usuário deve aderir para participar do sorteio.", "x-telegram-field-docs": true}, "countries_iso2": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Se definido, apenas usuários residentes nesses países poderão participar do sorteio (especificado como uma lista de códigos de país ISO 3166-1 alfa-2 de duas letras); caso contrário, não há limitações baseadas no país.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<string>"}, "prize_description": {"type": "string", "x-tl-type": "string", "description": "Pode conter uma descrição textual de prêmios adicionais de brindes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "quantity": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de assinaturas do [Telegram Premium](https://core.telegram.org/api/premium.md) distribuídas.", "x-telegram-field-docs": true}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duração em meses de cada assinatura do [Telegram Premium](https://core.telegram.org/api/premium.md) no sorteio.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [brindes de estrelas do Telegram](https://core.telegram.org/api/stars.md#star-giveaways), o número total de estrelas do Telegram sendo distribuídas.", "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": "A data de término do sorteio.", "x-telegram-field-docs": true}}, "required": ["_", "channels", "quantity", "until_date"], "additionalProperties": false}, "messageMediaGiveawayResults": {"title": "mensagemMediaGiveawayResults", "description": "Um [giveaway](https://core.telegram.org/api/giveaways.md) com vencedores públicos foi finalizado, este construtor contém informações sobre os vencedores.", "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": "Se definido, apenas novos assinantes a partir da data de criação do sorteio participarão do sorteio.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "refunded": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, o sorteio foi cancelado e totalmente reembolsado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do canal/supergrupo que foi automaticamente [impulsionado](https://core.telegram.org/api/boost.md) pelos vencedores do sorteio durante a assinatura 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 outros canais que participaram do sorteio.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}, "launch_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificador da mensagem com o sorteio em `channel_id`.", "x-telegram-field-docs": true}, "winners_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de vencedores no sorteio.", "x-telegram-field-docs": true}, "unclaimed_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de prêmios ainda não reivindicados.", "x-telegram-field-docs": true}, "winners": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Até 100 identificadores de usuários dos vencedores do sorteio.", "x-telegram-field-docs": true}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duração em meses de cada assinatura do [Telegram Premium](https://core.telegram.org/api/premium.md) no sorteio.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [brindes de estrelas do Telegram](https://core.telegram.org/api/stars.md#star-giveaways), o número total de estrelas do Telegram sendo distribuídas.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?long"}, "prize_description": {"type": "string", "x-tl-type": "string", "description": "Pode conter uma descrição textual de prêmios adicionais de brindes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Momento no tempo (carimbo de data/hora Unix) em que os vencedores foram selecionados. Pode ser maior que a data de seleção dos vencedores especificada nos parâmetros iniciais do sorteio.", "x-telegram-field-docs": true}}, "required": ["_", "channel_id", "launch_msg_id", "winners_count", "unclaimed_count", "winners", "until_date"], "additionalProperties": false}, "messageMediaPaidMedia": {"title": "mensagemMediaPaidMedia", "description": "[Mídia paga, veja aqui »](https://core.telegram.org/api/paid-media.md) para mais informações.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaPaidMedia"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaPaidMedia"]}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "O preço da mídia em [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 TL: MessageExtendedMedia."}, "x-tl-type": "Vector<MessageExtendedMedia>", "description": "Tanto a mídia paga quanto as visualizações de mídia de resolução super baixa, caso a mídia ainda não tenha sido comprada, [veja aqui »](https://core.telegram.org/api/paid-media.md#viewing-paid-media) para obter mais informações.", "x-telegram-field-docs": true}}, "required": ["_", "stars_amount", "extended_media"], "additionalProperties": false}, "messageMediaToDo": {"title": "mensagemMediaToDo", "description": "Representa uma [lista de tarefas »](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": "A lista de tarefas.", "x-telegram-field-docs": true}, "completions": {"type": "array", "items": {"type": "object", "x-tl-type": "TodoCompletion", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["todoCompletion"]}}, "description": "Tipo TL: TodoCompletion."}, "x-tl-type": "Vector<TodoCompletion>", "description": "Itens concluídos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<TodoCompletion>"}}, "required": ["_", "todo"], "additionalProperties": false}, "messageMediaVideoStream": {"title": "mensagemMediaVideoStream", "description": "Identifica a chamada de grupo ativa associada a uma [história ao 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": "Se a história ao vivo usa [RTMP modo de transmissão ao 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": "Chamada ativa em grupo de história ao 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-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.5?long"}}, "required": ["_", "width", "height", "payload"], "additionalProperties": false}, "messageActionEmpty": {"title": "mensagemActionEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionEmpty"]}}, "required": ["_"], "additionalProperties": false}, "messageActionChatCreate": {"title": "mensagemActionChatCreate", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatCreate"]}, "title": {"type": "string", "x-tl-type": "string"}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "title", "users"], "additionalProperties": false}, "messageActionChatEditTitle": {"title": "mensagemActionChatEditTitle", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatEditTitle"]}, "title": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "title"], "additionalProperties": false}, "messageActionChatEditPhoto": {"title": "mensagemAçãoChatEditarFoto", "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": "mensagemAçãoChatDeletePhoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatDeletePhoto"]}}, "required": ["_"], "additionalProperties": false}, "messageActionChatAddUser": {"title": "mensagemActionChatAddUser", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatAddUser"]}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "users"], "additionalProperties": false}, "messageActionChatDeleteUser": {"title": "mensagemActionChatDeleteUser", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatDeleteUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "user_id"], "additionalProperties": false}, "messageActionChatJoinedByLink": {"title": "mensagemActionChatJoinedByLink", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatJoinedByLink"]}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "inviter_id"], "additionalProperties": false}, "messageActionChannelCreate": {"title": "mensagemActionChannelCreate", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChannelCreate"]}, "title": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "title"], "additionalProperties": false}, "messageActionChatMigrateTo": {"title": "mensagemActionChatMigrateTo", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatMigrateTo"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "channel_id"], "additionalProperties": false}, "messageActionChannelMigrateFrom": {"title": "mensagemActionChannelMigrateFrom", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChannelMigrateFrom"]}, "title": {"type": "string", "x-tl-type": "string"}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "title", "chat_id"], "additionalProperties": false}, "messageActionPinMessage": {"title": "mensagemActionPinMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPinMessage"]}}, "required": ["_"], "additionalProperties": false}, "messageActionHistoryClear": {"title": "mensagemActionHistoryClear", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionHistoryClear"]}}, "required": ["_"], "additionalProperties": false}, "messageActionGameScore": {"title": "mensagemActionGameScore", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGameScore"]}, "game_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "score": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "game_id", "score"], "additionalProperties": false}, "messageActionPaymentSentMe": {"title": "mensagemActionPaymentSentMe", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPaymentSentMe"]}, "recurring_init": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "recurring_used": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "currency": {"type": "string", "x-tl-type": "string"}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "info": {"type": "object", "x-tl-type": "PaymentRequestedInfo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paymentRequestedInfo"]}}, "description": "Tipo 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 TL: PaymentCharge."}, "subscription_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}}, "required": ["_", "currency", "total_amount", "payload", "charge"], "additionalProperties": false}, "messageActionPaymentSent": {"title": "mensagemActionPaymentSent", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPaymentSent"]}, "recurring_init": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "recurring_used": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "currency": {"type": "string", "x-tl-type": "string"}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "invoice_slug": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "subscription_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}}, "required": ["_", "currency", "total_amount"], "additionalProperties": false}, "messageActionPhoneCall": {"title": "mensagemActionPhoneCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPhoneCall"]}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "call_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "reason": {"type": "object", "x-tl-type": "PhoneCallDiscardReason", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy", "phoneCallDiscardReasonMigrateConferenceCall"]}}, "description": "Tipo 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": "mensagemAçãoScreenshotTaken", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionScreenshotTaken"]}}, "required": ["_"], "additionalProperties": false}, "messageActionCustomAction": {"title": "mensagemActionCustomAction", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionCustomAction"]}, "message": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "message"], "additionalProperties": false}, "messageActionBotAllowed": {"title": "mensagemActionBotAllowed", "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": "mensagemActionSecureValuesSentMe", "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 TL: SecureValue."}, "x-tl-type": "Vector<SecureValue>"}, "credentials": {"type": "object", "x-tl-type": "SecureCredentialsEncrypted", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureCredentialsEncrypted"]}}, "description": "Tipo TL: SecureCredentialsEncrypted."}}, "required": ["_", "values", "credentials"], "additionalProperties": false}, "messageActionSecureValuesSent": {"title": "mensagemActionSecureValuesSent", "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 TL: SecureValueType."}, "x-tl-type": "Vector<SecureValueType>"}}, "required": ["_", "types"], "additionalProperties": false}, "messageActionContactSignUp": {"title": "mensagemActionContactSignUp", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionContactSignUp"]}}, "required": ["_"], "additionalProperties": false}, "messageActionGeoProximityReached": {"title": "mensagemActionGeoProximityReached", "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": "mensagemActionGroupCall", "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 TL: InputGroupCall."}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "call"], "additionalProperties": false}, "messageActionInviteToGroupCall": {"title": "mensagemActionInviteToGroupCall", "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 TL: InputGroupCall."}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "call", "users"], "additionalProperties": false}, "messageActionSetMessagesTTL": {"title": "mensagemActionSetMessagesTTL", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSetMessagesTTL"]}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "auto_setting_from": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "period"], "additionalProperties": false}, "messageActionGroupCallScheduled": {"title": "mensagemActionGroupCallScheduled", "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 TL: InputGroupCall."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "call", "schedule_date"], "additionalProperties": false}, "messageActionSetChatTheme": {"title": "mensagemActionSetChatTheme", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSetChatTheme"]}, "theme": {"type": "object", "x-tl-type": "ChatTheme", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatTheme", "chatThemeUniqueGift"]}}, "description": "Tipo TL: ChatTheme."}}, "required": ["_", "theme"], "additionalProperties": false}, "messageActionChatJoinedByRequest": {"title": "mensagemActionChatJoinedByRequest", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatJoinedByRequest"]}}, "required": ["_"], "additionalProperties": false}, "messageActionWebViewDataSentMe": {"title": "mensagemActionWebViewDataSentMe", "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": "mensagemActionWebViewDataSent", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionWebViewDataSent"]}, "text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text"], "additionalProperties": false}, "messageActionGiftPremium": {"title": "mensagemActionGiftPremium", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGiftPremium"]}, "currency": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "days": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "crypto_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "crypto_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo TL: TextWithEntities.", "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "currency", "amount", "days"], "additionalProperties": false}, "messageActionTopicCreate": {"title": "mensagemActionTopicCreate", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionTopicCreate"]}, "title_missing": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "title": {"type": "string", "x-tl-type": "string"}, "icon_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "title", "icon_color"], "additionalProperties": false}, "messageActionTopicEdit": {"title": "mensagemActionTopic", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionTopicEdit"]}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "closed": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool"}, "hidden": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool"}}, "required": ["_"], "additionalProperties": false}, "messageActionSuggestProfilePhoto": {"title": "mensagemAçãoSuggestProfileFoto", "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": "mensagemActionRequestedPeer", "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": "mensagemActionSetChatWallPaper", "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 de parede."}}, "required": ["_", "wallpaper"], "additionalProperties": false}, "messageActionGiftCode": {"title": "mensagemActionGiftCode", "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-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}, "crypto_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "crypto_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo TL: TextWithEntities.", "x-tl-flag": "flags.4?TextWithEntities"}}, "required": ["_", "days", "slug"], "additionalProperties": false}, "messageActionGiveawayLaunch": {"title": "mensagemAçãoGiveawayLaunch", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGiveawayLaunch"]}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_"], "additionalProperties": false}, "messageActionGiveawayResults": {"title": "mensagemActionGiveawayResults", "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": "mensagemActionBoostApply", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionBoostApply"]}, "boosts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "boosts"], "additionalProperties": false}, "messageActionRequestedPeerSentMe": {"title": "mensagemActionRequestedPeerSentMe", "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 TL: RequestedPeer."}, "x-tl-type": "Vector<RequestedPeer>"}}, "required": ["_", "button_id", "peers"], "additionalProperties": false}, "messageActionPaymentRefunded": {"title": "mensagemActionPaymentRefunded", "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-битное целое в десятичной записи.", "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 TL: PaymentCharge."}}, "required": ["_", "peer", "currency", "total_amount", "charge"], "additionalProperties": false}, "messageActionGiftStars": {"title": "mensagemActionGiftStars", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGiftStars"]}, "currency": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "crypto_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "crypto_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "transaction_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "currency", "amount", "stars"], "additionalProperties": false}, "messageActionPrizeStars": {"title": "mensagemActionPrizeStars", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPrizeStars"]}, "unclaimed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "transaction_id": {"type": "string", "x-tl-type": "string"}, "boost_peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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": "mensagemActionStarGift", "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 TL: TextWithEntities.", "x-tl-flag": "flags.1?TextWithEntities"}, "convert_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "upgrade_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "upgrade_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.8?long"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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-битное целое в десятичной записи.", "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": "mensagemActionStarGiftÚ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-битное целое в десятичной записи.", "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-битное целое в десятичной записи.", "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: StarsAmount.", "x-tl-flag": "flags.8?StarsAmount"}, "can_transfer_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.9?int"}, "can_resell_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int"}, "drop_original_details_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.12?long"}, "can_craft_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.15?int"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo TL: TextWithEntities.", "x-tl-flag": "flags.18?TextWithEntities"}}, "required": ["_", "gift"], "additionalProperties": false}, "messageActionPaidMessagesRefunded": {"title": "mensagemActionPaidMessagesReembolsado", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPaidMessagesRefunded"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "count", "stars"], "additionalProperties": false}, "messageActionPaidMessagesPrice": {"title": "mensagemActionPaidMessagesPrice", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPaidMessagesPrice"]}, "broadcast_messages_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "stars"], "additionalProperties": false}, "messageActionConferenceCall": {"title": "mensagemActionConferenceCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionConferenceCall"]}, "missed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "active": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "call_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "other_participants": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "x-tl-type": "Vector<Peer>", "x-tl-flag": "flags.3?Vector<Peer>"}}, "required": ["_", "call_id"], "additionalProperties": false}, "messageActionTodoCompletions": {"title": "mensagemActionTodoCompletions", "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": "mensagemActionTodoAppendTasks", "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 TL: TodoItem."}, "x-tl-type": "Vector<TodoItem>"}}, "required": ["_", "list"], "additionalProperties": false}, "messageActionSuggestedPostApproval": {"title": "mensagemActionSuggestedPostApproval", "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: StarsAmount.", "x-tl-flag": "flags.4?StarsAmount"}}, "required": ["_"], "additionalProperties": false}, "messageActionSuggestedPostSuccess": {"title": "mensagemActionSuggestedPostSuccess", "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: StarsAmount."}}, "required": ["_", "price"], "additionalProperties": false}, "messageActionSuggestedPostRefund": {"title": "mensagemActionSuggestedPostRefund", "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": "mensagemActionGiftTon", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGiftTon"]}, "currency": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "crypto_currency": {"type": "string", "x-tl-type": "string"}, "crypto_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "transaction_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "currency", "amount", "crypto_currency", "crypto_amount"], "additionalProperties": false}, "messageActionSuggestBirthday": {"title": "mensagemAçãoSuggestAniversário", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSuggestBirthday"]}, "birthday": {"type": "object", "x-tl-type": "Birthday", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["birthday"]}}, "description": "Tipo TL: Aniversário."}}, "required": ["_", "birthday"], "additionalProperties": false}, "messageActionStarGiftPurchaseOffer": {"title": "mensagemActionStarGiftPurchaseOffer", "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: StarsAmount."}, "expires_at": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "gift", "price", "expires_at"], "additionalProperties": false}, "messageActionStarGiftPurchaseOfferDeclined": {"title": "mensagemActionStarGiftPurchaseOfferDeclined", "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: StarsAmount."}}, "required": ["_", "gift", "price"], "additionalProperties": false}, "messageActionNewCreatorPending": {"title": "mensagemAçãoNovoCriadorPendente", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionNewCreatorPending"]}, "new_creator_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "new_creator_id"], "additionalProperties": false}, "messageActionChangeCreator": {"title": "mensagemActionChangeCreator", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChangeCreator"]}, "new_creator_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "new_creator_id"], "additionalProperties": false}, "messageActionNoForwardsToggle": {"title": "mensagemActionNoForwardsToggle", "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": "mensagemActionNoForwardsRequest", "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": "mensagemActionPollAppendAnswer", "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: PollAnswer."}}, "required": ["_", "answer"], "additionalProperties": false}, "messageActionPollDeleteAnswer": {"title": "mensagemActionPollDeleteAnswer", "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: PollAnswer."}}, "required": ["_", "answer"], "additionalProperties": false}, "messageActionManagedBotCreated": {"title": "mensagemActionManagedBotCreated", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionManagedBotCreated"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "bot_id"], "additionalProperties": false}, "messageActionChangeCommunity": {"title": "messageActionChangeCommunity", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChangeCommunity"]}, "community_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_"], "additionalProperties": false}, "messageActionChatJoinedViaCommunity": {"title": "messageActionChatJoinedViaCommunity", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatJoinedViaCommunity"]}, "community_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "community_id"], "additionalProperties": false}, "messageActionGramTransfer": {"title": "messageActionGramTransfer", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGramTransfer"]}, "comment_encrypted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "peer_address": {"type": "string", "x-tl-type": "string"}, "transaction_id": {"type": "string", "x-tl-type": "string"}, "comment": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "onramp_provider_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}}, "required": ["_", "amount", "peer_address", "transaction_id"], "additionalProperties": false}, "messageActionWalletTonConnectRequest": {"title": "messageActionWalletTonConnectRequest", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionWalletTonConnectRequest"]}, "accepted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "declined": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "topic": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "trace_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "dapp_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}}, "required": ["_", "session_id", "expires"], "additionalProperties": false}, "messageActionNoPaidMessagesTokenUsed": {"title": "messageActionNoPaidMessagesTokenUsed", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionNoPaidMessagesTokenUsed"]}}, "required": ["_"], "additionalProperties": false}, "messageActionStarGiftOnchainOffer": {"title": "messageActionStarGiftOnchainOffer", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionStarGiftOnchainOffer"]}, "accepted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "declined": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "cancelled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "expired": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "settled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "buyer": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "cancelling": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "offer_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Tipo TL: StarGift."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "fee_bps": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "expires_at": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "offer_address": {"type": "string", "x-tl-type": "string"}, "buyer_refund": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "fine": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.5?long"}}, "required": ["_", "offer_id", "gift", "amount", "fee_bps", "expires_at", "offer_address"], "additionalProperties": false}, "messageActionBotInvite": {"title": "messageActionBotInvite", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionBotInvite"]}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "inviter_id"], "additionalProperties": false}, "dialog": {"title": "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 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 TL: DraftMessage.", "x-tl-flag": "flags.1?DraftMessage"}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}}, "required": ["_", "peer", "top_message", "read_inbox_max_id", "read_outbox_max_id", "unread_count", "unread_mentions_count", "unread_reactions_count", "unread_poll_votes_count", "notify_settings"], "additionalProperties": false}, "dialogFolder": {"title": "dialogFolder", "type": "object", "properties": {"_": {"type": "string", "enum": ["dialogFolder"]}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "folder": {"type": "object", "x-tl-type": "Folder", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["folder"]}}, "description": "Tipo TL: Pasta."}, "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-битное целое в десятичной записи.", "x-tl-type": "long"}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "Tipo TL: PeerNotifySettings."}}, "required": ["_", "community_id", "notify_settings"], "additionalProperties": false}, "photoEmpty": {"title": "fotoVazia", "type": "object", "properties": {"_": {"type": "string", "enum": ["photoEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "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-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "sizes": {"type": "array", "items": {"type": "object", "x-tl-type": "PhotoSize", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoSizeEmpty", "photoSize", "photoCachedSize", "photoStrippedSize", "photoSizeProgressive", "photoPathSize"]}}, "description": "Tipo TL: PhotoSize."}, "x-tl-type": "Vector<PhotoSize>"}, "video_sizes": {"type": "array", "items": {"type": "object", "x-tl-type": "VideoSize", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["videoSize", "videoSizeEmojiMarkup", "videoSizeStickerMarkup"]}}, "description": "Tipo TL: VideoSize."}, "x-tl-type": "Vector<VideoSize>", "x-tl-flag": "flags.1?Vector<VideoSize>"}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "access_hash", "file_reference", "date", "sizes", "dc_id"], "additionalProperties": false}, "photoSizeEmpty": {"title": "fotoSizeEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["photoSizeEmpty"]}, "type": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "type"], "additionalProperties": false}, "photoSize": {"title": "tamanho da 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": "fotoStrippedSize", "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": "fotoSizeProgressive", "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": "fotoPathSize", "type": "object", "properties": {"_": {"type": "string", "enum": ["photoPathSize"]}, "type": {"type": "string", "x-tl-type": "string"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "type", "bytes"], "additionalProperties": false}, "geoPointEmpty": {"title": "geoPointEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["geoPointEmpty"]}}, "required": ["_"], "additionalProperties": false}, "geoPoint": {"title": "geoPonto", "type": "object", "properties": {"_": {"type": "string", "enum": ["geoPoint"]}, "long": {"type": "number", "format": "double", "x-tl-type": "double"}, "lat": {"type": "number", "format": "double", "x-tl-type": "double"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "accuracy_radius": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "long", "lat", "access_hash"], "additionalProperties": false}, "auth.sentCode": {"title": "auth.sentCode", "description": "Contém informações sobre um código de verificação 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 do código do telefone, para ser armazenado e posteriormente reutilizado com [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 de telefone que será enviado a seguir, se o código de telefone não for recebido em `timeout` segundos: para enviá-lo 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": "Tempo limite para recepção do 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": "O usuário autorizou com sucesso usando [tokens de autenticação 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": "Informações de autorização", "x-telegram-field-docs": true}}, "required": ["_", "authorization"], "additionalProperties": false}, "auth.sentCodePaymentRequired": {"title": "auth.sentCodePaymentRequired", "description": "Aplicativos oficiais podem receber este construtor, indicando que devido ao alto custo dos códigos de verificação SMS para o país/provedor do usuário, o usuário deve adquirir uma assinatura [Telegram Premium](https://core.telegram.org/api/premium.md) para prosseguir com o login/inscrição, veja [aqui »](https://core.telegram.org/api/auth.md#paid-auth) para mais informações.", "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 aplicativos oficiais, rasgou o identificador da assinatura do Telegram Premium.", "x-telegram-field-docs": true}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash do código do telefone, para ser armazenado e posteriormente reutilizado com [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": "Um endereço de e-mail que pode ser contatado para obter mais informações sobre esta solicitação.", "x-telegram-field-docs": true}, "support_email_subject": {"type": "string", "x-tl-type": "string", "description": "O assunto obrigatório do email.", "x-telegram-field-docs": true}, "premium_days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duração em dias da assinatura do [Telegram Premium](https://core.telegram.org/api/premium.md) concedida por esta compra.", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies).", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço total nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após o ponto decimal para cada moeda (2 para a maioria das moedas).", "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": "Contém informações de autorização do usuário.", "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": "Sugere que o usuário configure uma senha de verificação em duas etapas para poder fazer login novamente", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "otherwise_relogin_days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se e somente se setup_password_required estiver definido e o usuário se recusar a definir uma senha de verificação em duas etapas, ele poderá fazer login em sua conta via SMS novamente somente após esses dias.", "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 [sessões paralelas](https://core.telegram.org/api/datacenter.md#parallel-sessions) que o cliente pode abrir para a conexão principal de seu DC doméstico para aumentar a taxa de transferência; se ausente ou `≤ 1`, uma única sessão principal deve ser usada", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "future_auth_token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Um [token de autenticação 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": "Informações sobre usuário autorizado", "x-telegram-field-docs": true}}, "required": ["_", "user"], "additionalProperties": false}, "auth.authorizationSignUpRequired": {"title": "auth.authorizationSignUpRequired", "description": "Não existe conta com este número de telefone no Telegram: o usuário deve [inserir informações básicas e se inscrever](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": "Termos de serviço do Telegram: o usuário deve ler e aceitar os termos de serviço antes de se inscrever no Telegram", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?help.TermsOfService"}}, "required": ["_"], "additionalProperties": false}, "auth.exportedAuthorization": {"title": "auth.exportedAuthorization", "description": "Dados para cópia de autorização entre data centers.", "externalDocs": {"url": "https://core.telegram.org/constructor/auth.exportedAuthorization"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.exportedAuthorization"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "identificador do usuário atual", "x-tl-type": "long", "x-telegram-field-docs": true}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "autoriza chave", "x-telegram-field-docs": true}}, "required": ["_", "id", "bytes"], "additionalProperties": false}, "inputNotifyPeer": {"title": "entradaNotifyPeer", "description": "Notificações geradas por um determinado usuário ou 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": "Usuário ou grupo", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "inputNotifyUsers": {"title": "inputNotifyUsers", "description": "Notificações geradas por todos os usuários.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputNotifyUsers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputNotifyUsers"]}}, "required": ["_"], "additionalProperties": false}, "inputNotifyChats": {"title": "entradaNotifyChats", "description": "Notificações geradas por todos os grupos.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputNotifyChats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputNotifyChats"]}}, "required": ["_"], "additionalProperties": false}, "inputNotifyBroadcasts": {"title": "inputNotifyBroadcasts", "description": "Todos os [canais](https://core.telegram.org/api/channel.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputNotifyBroadcasts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputNotifyBroadcasts"]}}, "required": ["_"], "additionalProperties": false}, "inputNotifyForumTopic": {"title": "inputNotifyForumTopic", "description": "Notificações geradas por um [tópico](https://core.telegram.org/api/forum.md#forum-topics) em um [fórum](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 do fórum", "x-telegram-field-docs": true}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[ID do tópico](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: InputChannel."}}, "required": ["_", "community"], "additionalProperties": false}, "inputPeerNotifySettings": {"title": "inputPeerNotifySettings", "description": "Configurações de notificação.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerNotifySettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerNotifySettings"]}, "show_previews": {"type": "boolean", "x-tl-type": "Bool", "description": "Se o texto da mensagem for exibido na notificação", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Bool"}, "silent": {"type": "boolean", "x-tl-type": "Bool", "description": "O peer foi silenciado?", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Bool"}, "mute_until": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data até a qual todas as notificações serão desativadas", "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 um arquivo de áudio a ser reproduzido para notificações.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?NotificationSound"}, "stories_muted": {"type": "boolean", "x-tl-type": "Bool", "description": "Se as notificações de histórias devem ser desativadas.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?Bool"}, "stories_hide_sender": {"type": "boolean", "x-tl-type": "Bool", "description": "Se o nome do remetente deve ser exibido nas notificações de histórias.", "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 um arquivo de áudio a ser reproduzido para notificações de histórias.", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?NotificationSound"}}, "required": ["_"], "additionalProperties": false}, "peerNotifySettings": {"title": "peerNotifySettings", "description": "Configurações de notificação.", "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 ternário) Se definido, indica se serão ou não exibidas visualizações de mensagens nas notificações; caso contrário, o comportamento padrão deverá ser usado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Bool"}, "silent": {"type": "boolean", "x-tl-type": "Bool", "description": "(Valor ternário) Se definido, indica se o peer deve ou não ser silenciado; caso contrário, o comportamento padrão deverá ser usado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Bool"}, "mute_until": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Silenciar todas as notificações até esta data", "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": "Som de notificação para o aplicativo iOS oficial", "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": "Som de notificação para o aplicativo Android oficial", "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": "Som de notificação para outros aplicativos", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?NotificationSound"}, "stories_muted": {"type": "boolean", "x-tl-type": "Bool", "description": "Se as notificações de histórias devem ser desativadas.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?Bool"}, "stories_hide_sender": {"type": "boolean", "x-tl-type": "Bool", "description": "Se o nome do remetente deve ser exibido nas notificações de histórias.", "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": "Som para notificações de stories no aplicativo oficial para 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": "Som para notificações de stories no aplicativo oficial para 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": "Som para notificações de histórias em outros aplicativos", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?NotificationSound"}}, "required": ["_"], "additionalProperties": false}, "peerSettings": {"title": "configurações 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-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.13?long"}, "business_bot_manage_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.13?string"}, "charge_paid_message_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.14?long"}, "registration_month": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.15?string"}, "phone_country": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.16?string"}, "name_change_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.17?int"}, "photo_change_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.18?int"}, "bot_inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.19?long"}, "bot_owner_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.20?long"}}, "required": ["_"], "additionalProperties": false}, "wallPaper": {"title": "papel de parede", "description": "Representa um [papel de parede](https://core.telegram.org/api/wallpapers.md) baseado em uma imagem.", "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": "Se criamos este papel de parede", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "default": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este é o papel de parede padrão", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "pattern": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este é um [papel de parede padrão »](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": "Se este papel de parede deve ser usado no modo escuro.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acesso", "x-tl-type": "long", "x-telegram-field-docs": true}, "slug": {"type": "string", "x-tl-type": "string", "description": "ID de papel de parede exclusivo, usado ao gerar [links de papel de parede](https://core.telegram.org/api/links.md#wallpaper-links) ou [importar links de papel de parede](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": "O papel de parede real", "x-telegram-field-docs": true}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaperSettings"]}}, "description": "Informações sobre como gerar o papel de parede, conforme [estas instruções »](https://core.telegram.org/api/wallpapers.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?WallPaperSettings"}}, "required": ["_", "id", "access_hash", "slug", "document"], "additionalProperties": false}, "wallPaperNoFile": {"title": "wallPaperNoFile", "description": "Representa um [papel de parede](https://core.telegram.org/api/wallpapers.md) baseado apenas em cores/gradientes.", "externalDocs": {"url": "https://core.telegram.org/constructor/wallPaperNoFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["wallPaperNoFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do papel de parede", "x-tl-type": "long", "x-telegram-field-docs": true}, "default": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este é o papel de parede padrão", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "dark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este papel de parede deve ser usado no modo escuro.", "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": "Informações sobre como gerar o papel de parede.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?WallPaperSettings"}}, "required": ["_", "id"], "additionalProperties": false}, "inputReportReasonSpam": {"title": "inputReportReasonSpam", "description": "Denunciar por spam", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonSpam"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonSpam"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonViolence": {"title": "inputReportReasonViolence", "description": "Denúncia por violência", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonViolence"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonViolence"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonPornography": {"title": "inputReportReasonPornografia", "description": "Denunciar por pornografia", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonPornography"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonPornography"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonChildAbuse": {"title": "inputReportReasonChildAbuse", "description": "Denúncia por abuso infantil", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonChildAbuse"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonChildAbuse"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonOther": {"title": "inputReportRaasonOutro", "description": "Outro", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonOther"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonOther"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonCopyright": {"title": "inputReportReasonCopyright", "description": "Denunciar conteúdo protegido por direitos autorais", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonCopyright"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonCopyright"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonGeoIrrelevant": {"title": "inputReportReasonGeoIrrelevant", "description": "Denunciar um geogrupo irrelevante", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonGeoIrrelevant"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonGeoIrrelevant"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonFake": {"title": "inputReportReasonFake", "description": "Denunciar por falsificação de identidade", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonFake"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonFake"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonIllegalDrugs": {"title": "inputReportRazãoIlegalDrogas", "description": "Relatório sobre drogas ilegais", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonIllegalDrugs"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonIllegalDrugs"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonPersonalDetails": {"title": "inputReportReasonPersonalDetails", "description": "Relatório para divulgação de dados pessoais", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonPersonalDetails"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonPersonalDetails"]}}, "required": ["_"], "additionalProperties": false}, "userFull": {"title": "usuárioFull", "type": "object", "properties": {"_": {"type": "string", "enum": ["userFull"]}, "blocked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "phone_calls_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "phone_calls_private": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "can_pin_message": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "has_scheduled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true"}, "video_calls_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.13?true"}, "voice_messages_forbidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.20?true"}, "translations_disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.23?true"}, "stories_pinned_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.26?true"}, "blocked_my_stories_from": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.27?true"}, "wallpaper_overridden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.28?true"}, "contact_require_premium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.29?true"}, "read_dates_private": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.30?true"}, "sponsored_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.7?true"}, "can_view_revenue": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.9?true"}, "bot_can_manage_emoji_status": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.10?true"}, "display_gifts_button": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.16?true"}, "noforwards_my_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.23?true"}, "noforwards_peer_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.24?true"}, "unofficial_security_risk": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.26?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "about": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "settings": {"type": "object", "x-tl-type": "PeerSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerSettings"]}}, "description": "Tipo 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 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 TL: ChatTheme.", "x-tl-flag": "flags.15?ChatTheme"}, "private_forward_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.16?string"}, "bot_group_admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Tipo 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 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 de parede.", "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 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: BusinessLocation.", "x-tl-flag": "flags2.1?BusinessLocation"}, "business_greeting_message": {"type": "object", "x-tl-type": "BusinessGreetingMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessGreetingMessage"]}}, "description": "Tipo TL: BusinessGreetingMessage.", "x-tl-flag": "flags2.2?BusinessGreetingMessage"}, "business_away_message": {"type": "object", "x-tl-type": "BusinessAwayMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessAwayMessage"]}}, "description": "Tipo 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 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: Aniversário.", "x-tl-flag": "flags2.5?Birthday"}, "personal_channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.6?long"}, "personal_channel_message": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.6?int"}, "stargifts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.8?int"}, "starref_program": {"type": "object", "x-tl-type": "StarRefProgram", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starRefProgram"]}}, "description": "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 TL: BotVerification.", "x-tl-flag": "flags2.12?BotVerification"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.14?long"}, "disallowed_gifts": {"type": "object", "x-tl-type": "DisallowedGiftsSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["disallowedGiftsSettings"]}}, "description": "Tipo TL: DisallowedGiftsSettings.", "x-tl-flag": "flags2.15?DisallowedGiftsSettings"}, "stars_rating": {"type": "object", "x-tl-type": "StarsRating", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsRating"]}}, "description": "Tipo TL: Classificação de estrelas.", "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: Classificação de estrelas.", "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 TL: ProfileTab.", "x-tl-flag": "flags2.20?ProfileTab"}, "saved_music": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "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 TL: TextWithEntities.", "x-tl-flag": "flags2.22?TextWithEntities"}, "bot_manager_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.25?long"}, "wallet_card": {"type": "object", "x-tl-type": "wallet.Card", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.card"]}}, "description": "Тип TL: wallet.Card.", "x-tl-flag": "flags2.19?wallet.Card"}, "share_theme": {"type": "object", "x-tl-type": "ShareTheme", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["shareThemeDefault", "shareThemeEmojiBackdrop", "shareThemeGift", "inputShareThemeGift"]}}, "description": "Тип TL: ShareTheme.", "x-tl-flag": "flags2.27?ShareTheme"}, "bot_profile_widget": {"type": "object", "x-tl-type": "BotProfileWidget", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botProfileWidget"]}}, "description": "Тип TL: BotProfileWidget.", "x-tl-flag": "flags2.28?BotProfileWidget"}}, "required": ["_", "id", "settings", "notify_settings", "common_chats_count"], "additionalProperties": false}, "contact": {"title": "contato", "type": "object", "properties": {"_": {"type": "string", "enum": ["contact"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "mutual": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "user_id", "mutual"], "additionalProperties": false}, "importedContact": {"title": "importadoContato", "type": "object", "properties": {"_": {"type": "string", "enum": ["importedContact"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "client_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "user_id", "client_id"], "additionalProperties": false}, "contactStatus": {"title": "status de contato", "description": "Status do contato: online/offline.", "externalDocs": {"url": "https://core.telegram.org/constructor/contactStatus"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contactStatus"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador do usuário", "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 on-line", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "status"], "additionalProperties": false}, "contacts.contactsNotModified": {"title": "contacts.contactsNotModified", "description": "A lista de contatos no servidor é igual à lista no 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": "A lista de contatos do usuário atual e informações sobre os usuários.", "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": "Digite TL: Contato."}, "x-tl-type": "Vector<Contact>", "description": "Lista de contatos", "x-telegram-field-docs": true}, "saved_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de contatos que foram salvos com sucesso", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários", "x-telegram-field-docs": true}}, "required": ["_", "contacts", "saved_count", "users"], "additionalProperties": false}, "contacts.importedContacts": {"title": "contacts.importedContacts", "description": "Informações sobre contatos importados com sucesso.", "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 TL: ImportedContact."}, "x-tl-type": "Vector<ImportedContact>", "description": "Lista de contatos importados com sucesso", "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: PopularContact."}, "x-tl-type": "Vector<PopularContact>", "description": "Contatos populares", "x-telegram-field-docs": true}, "retry_contacts": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista de IDs de contato que não puderam ser importados devido a limitações do sistema e que precisarão ser importados posteriormente.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários", "x-telegram-field-docs": true}}, "required": ["_", "imported", "popular_invites", "retry_contacts", "users"], "additionalProperties": false}, "contacts.blocked": {"title": "contacts.blocked", "description": "Lista completa de usuários 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 TL: PeerBlocked."}, "x-tl-type": "Vector<PeerBlocked>", "description": "Lista de usuários 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários", "x-telegram-field-docs": true}}, "required": ["_", "blocked", "chats", "users"], "additionalProperties": false}, "contacts.blockedSlice": {"title": "contacts.blockedSlice", "description": "Lista incompleta de usuários 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 na 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 TL: PeerBlocked."}, "x-tl-type": "Vector<PeerBlocked>", "description": "Lista de usuários 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários", "x-telegram-field-docs": true}}, "required": ["_", "count", "blocked", "chats", "users"], "additionalProperties": false}, "messages.dialogs": {"title": "messages.dialogs", "description": "Lista completa de chats com mensagens e dados 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: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "x-tl-flag": "flags.0?Vector<ForumTopic>"}, "dialogs": {"type": "array", "items": {"type": "object", "x-tl-type": "Dialog", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialog", "dialogFolder", "dialogCommunity"]}}, "description": "Tipo TL: Diálogo."}, "x-tl-type": "Vector<Dialog>", "description": "Lista de bate-papos", "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: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "Lista das últimas mensagens 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Lista de grupos mencionados nos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários mencionados em mensagens e grupos", "x-telegram-field-docs": true}}, "required": ["_", "dialogs", "messages", "chats", "users"], "additionalProperties": false}, "messages.dialogsSlice": {"title": "messages.dialogsSlice", "description": "Lista incompleta de diálogos com mensagens e dados 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: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "x-tl-flag": "flags.0?Vector<ForumTopic>"}, "dialogs": {"type": "array", "items": {"type": "object", "x-tl-type": "Dialog", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialog", "dialogFolder", "dialogCommunity"]}}, "description": "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: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "Lista das últimas mensagens das caixas de 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats mencionados nas caixas de diálogo", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários mencionados em mensagens e chats", "x-telegram-field-docs": true}}, "required": ["_", "count", "dialogs", "messages", "chats", "users"], "additionalProperties": false}, "messages.dialogsNotModified": {"title": "messages.dialogsNotModified", "description": "Os diálogos não mudaram", "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 caixas de diálogo encontradas no servidor pela consulta", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "messages.messages": {"title": "messages.messages", "description": "Lista completa de mensagens com dados 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: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "Lista de mensagens", "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: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "description": "[Tópicos do fórum](https://core.telegram.org/api/forum.md#forum-topics) aos quais pertencem as mensagens retornadas.", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats mencionados nas caixas de diálogo", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários mencionados em mensagens e chats", "x-telegram-field-docs": true}}, "required": ["_", "messages", "topics", "chats", "users"], "additionalProperties": false}, "messages.messagesSlice": {"title": "messages.messagesSlice", "description": "Lista incompleta de mensagens e dados 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": "Se definido, indica que os resultados podem ser inexatos", "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 mensagens na lista", "x-telegram-field-docs": true}, "next_rate": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Taxa a ser usada no parâmetro `offset_rate` na próxima chamada para [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 a posição absoluta de `messages[0]` dentro do conjunto total de resultados com contagem `count`.  Isto é útil, por exemplo, se o resultado foi obtido usando `offset_id`, e precisamos exibir um contador `progress/total` (como `photo 134 of 200`, para todas as mídias em um chat, poderíamos simplesmente 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 pesquisas de postagem globais »](https://core.telegram.org/api/search.md#posts-tab), a quantidade restante de pesquisas gratuitas, aqui `query_is_free` está relacionada apenas à chamada atual, não à próxima chamada paginada, e todas as chamadas de paginação subsequentes serão sempre 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: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "Lista de mensagens", "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: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "description": "[Tópicos do fórum](https://core.telegram.org/api/forum.md#forum-topics) aos quais pertencem as mensagens retornadas.", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats mencionados nas mensagens", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários mencionados em mensagens e chats", "x-telegram-field-docs": true}}, "required": ["_", "count", "messages", "topics", "chats", "users"], "additionalProperties": false}, "messages.channelMessages": {"title": "messages.channelMessages", "description": "Mensagens do 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": "Se definido, os resultados retornados podem ser inexatos", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Contagem de eventos após geração](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O número total de resultados foi encontrado no servidor (podem não estar todos incluídos aqui)", "x-telegram-field-docs": true}, "offset_id_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Indica a posição absoluta de `messages[0]` dentro do conjunto de resultados total com contagem `count`.  Isto é útil, por exemplo, se o resultado foi obtido usando `offset_id`, e precisamos exibir um contador `progress/total` (como `photo 134 of 200`, para todas as mídias em um chat, poderíamos simplesmente 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: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "Mensagens encontradas", "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: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "description": "[Tópico do fórum](https://core.telegram.org/api/forum.md#forum-topics) informações", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários", "x-telegram-field-docs": true}}, "required": ["_", "pts", "count", "messages", "topics", "chats", "users"], "additionalProperties": false}, "messages.messagesNotModified": {"title": "messages.messagesNotModified", "description": "Nenhuma nova mensagem correspondente à consulta foi encontrada", "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 no servidor pela consulta fornecida", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "messages.chats": {"title": "messages.chats", "description": "Lista de chats com dados 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Lista de bate-papos", "x-telegram-field-docs": true}}, "required": ["_", "chats"], "additionalProperties": false}, "messages.chatsSlice": {"title": "messages.chatsSlice", "description": "Lista parcial de chats, mais teriam que ser obtidos com [pagination](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 encontrados no servidor (nem todos estão incluídos em `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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos", "x-telegram-field-docs": true}}, "required": ["_", "count", "chats"], "additionalProperties": false}, "messages.chatFull": {"title": "messages.chatFull", "description": "Informações completas sobre um [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) ou [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": "Informações completas", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "full_chat", "chats", "users"], "additionalProperties": false}, "messages.affectedHistory": {"title": "messages.affectedHistory", "description": "Parte afetada do histórico de comunicação com o usuário ou em um 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 ocorridos em uma caixa de texto", "x-telegram-field-docs": true}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de eventos afetados", "x-telegram-field-docs": true}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se um parâmetro contiver valor positivo, é necessário repetir a chamada do método utilizando o valor fornecido; durante o decorrer de todo o histórico o próprio valor diminuirá gradativamente", "x-telegram-field-docs": true}}, "required": ["_", "pts", "pts_count", "offset"], "additionalProperties": false}, "inputMessagesFilterEmpty": {"title": "inputMessagesFilterEmpty", "description": "O filtro está ausente.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPhotos": {"title": "inputMessagesFilterFotos", "description": "Filtre mensagens contendo fotos.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterPhotos"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterPhotos"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterVideo": {"title": "inputMessagesFilterVídeo", "description": "Filtre mensagens que contenham vídeos.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterVideo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterVideo"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPhotoVideo": {"title": "inputMessagesFilterFotoVídeo", "description": "Filtre mensagens que contenham fotos ou vídeos.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterPhotoVideo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterPhotoVideo"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterDocument": {"title": "inputMessagesFilterDocument", "description": "Filtre mensagens contendo documentos.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterDocument"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterDocument"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterUrl": {"title": "inputMessagesFilterUrl", "description": "Retornar apenas mensagens contendo URLs", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterUrl"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterUrl"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterGif": {"title": "inputMessagesFilterGif", "description": "Retornar apenas mensagens contendo gifs", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterGif"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterGif"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterVoice": {"title": "inputMessagesFilterVoice", "description": "Retornar apenas mensagens contendo notas de voz", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterVoice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterVoice"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterMusic": {"title": "inputMessagesFilterMúsica", "description": "Retornar apenas mensagens contendo arquivos de áudio", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterMusic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterMusic"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterChatPhotos": {"title": "inputMessagesFilterChatFotos", "description": "Retornar apenas alterações nas fotos do bate-papo", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterChatPhotos"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterChatPhotos"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPhoneCalls": {"title": "inputMessagesFilterPhoneCalls", "description": "Retornar apenas ligações", "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": "Retornar apenas chamadas perdidas", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterRoundVoice": {"title": "inputMessagesFilterRoundVoice", "description": "Retorne apenas vídeos redondos e notas de voz", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterRoundVoice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterRoundVoice"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterRoundVideo": {"title": "inputMessagesFilterRoundVideo", "description": "Retornar apenas vídeos redondos", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterRoundVideo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterRoundVideo"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterMyMentions": {"title": "inputMessagesFilterMyMentions", "description": "Retorna apenas mensagens onde o usuário atual foi [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": "inputMessagesFilterGeo", "description": "Retornar apenas mensagens contendo geolocalização", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterGeo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterGeo"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterContacts": {"title": "inputMessagesFilterContatos", "description": "Retornar apenas mensagens contendo contatos", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterContacts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterContacts"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPinned": {"title": "inputMessagesFilterFixado", "description": "Buscar apenas mensagens fixadas", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterPinned"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterPinned"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPoll": {"title": "inputMessagesFilterPoll", "description": "Filtre mensagens de enquetes, consulte [pesquisando enquetes »](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": "atualizarNovaMensagem", "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: Mensagem."}, "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": "atualizarMessageID", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessageID"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "random_id"], "additionalProperties": false}, "updateDeleteMessages": {"title": "atualizarDeleteMessages", "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": "atualizarUserTyping", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserTyping"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "action": {"type": "object", "x-tl-type": "SendMessageAction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["sendMessageTypingAction", "sendMessageCancelAction", "sendMessageRecordVideoAction", "sendMessageUploadVideoAction", "sendMessageRecordAudioAction", "sendMessageUploadAudioAction", "sendMessageUploadPhotoAction", "sendMessageUploadDocumentAction", "sendMessageGeoLocationAction", "sendMessageChooseContactAction", "sendMessageGamePlayAction", "sendMessageRecordRoundAction", "sendMessageUploadRoundAction", "speakingInGroupCallAction", "sendMessageHistoryImportAction", "sendMessageChooseStickerAction", "sendMessageEmojiInteraction", "sendMessageEmojiInteractionSeen", "sendMessageTextDraftAction", "inputSendMessageRichMessageDraftAction", "sendMessageRichMessageDraftAction", "sendMessageStopDraftAction"]}}, "description": "Tipo TL: SendMessageAction."}}, "required": ["_", "user_id", "action"], "additionalProperties": false}, "updateChatUserTyping": {"title": "atualizarChatUserTyping", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatUserTyping"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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 TL: SendMessageAction."}}, "required": ["_", "chat_id", "from_id", "action"], "additionalProperties": false}, "updateChatParticipants": {"title": "atualizarChatParticipantes", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipants"]}, "participants": {"type": "object", "x-tl-type": "ChatParticipants", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipantsForbidden", "chatParticipants"]}}, "description": "Tipo TL: ChatParticipants."}}, "required": ["_", "participants"], "additionalProperties": false}, "updateUserStatus": {"title": "atualizarUserStatus", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserStatus"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "status": {"type": "object", "x-tl-type": "UserStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userStatusEmpty", "userStatusOnline", "userStatusOffline", "userStatusRecently", "userStatusLastWeek", "userStatusLastMonth"]}}, "description": "Tipo TL: UserStatus."}}, "required": ["_", "user_id", "status"], "additionalProperties": false}, "updateUserName": {"title": "atualizarUserName", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserName"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "first_name": {"type": "string", "x-tl-type": "string"}, "last_name": {"type": "string", "x-tl-type": "string"}, "usernames": {"type": "array", "items": {"type": "object", "x-tl-type": "Username", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["username"]}}, "description": "Tipo TL: Nome de usuário."}, "x-tl-type": "Vector<Username>"}}, "required": ["_", "user_id", "first_name", "last_name", "usernames"], "additionalProperties": false}, "updateNewAuthorization": {"title": "atualizarNovaAutorização", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewAuthorization"]}, "unconfirmed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "device": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "location": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "hash"], "additionalProperties": false}, "updateNewEncryptedMessage": {"title": "atualizarNewEncryptedMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewEncryptedMessage"]}, "message": {"type": "object", "x-tl-type": "EncryptedMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["encryptedMessage", "encryptedMessageService"]}}, "description": "Tipo TL: EncryptedMessage."}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "message", "qts"], "additionalProperties": false}, "updateEncryptedChatTyping": {"title": "atualizarEncryptedChatTyping", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateEncryptedChatTyping"]}, "chat_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id"], "additionalProperties": false}, "updateEncryption": {"title": "atualizaçãoEncryption", "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 TL: EncryptedChat."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat", "date"], "additionalProperties": false}, "updateEncryptedMessagesRead": {"title": "atualizarEncryptedMessagesRead", "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": "atualizarChatParticipantAdd", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipantAdd"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id", "user_id", "inviter_id", "date", "version"], "additionalProperties": false}, "updateChatParticipantDelete": {"title": "atualizarChatParticipantDelete", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipantDelete"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id", "user_id", "version"], "additionalProperties": false}, "updateDcOptions": {"title": "atualizarDcOptions", "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": "atualizarNotifySettings", "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 TL: NotifyPeer."}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "Tipo TL: PeerNotifySettings."}}, "required": ["_", "peer", "notify_settings"], "additionalProperties": false}, "updateServiceNotification": {"title": "atualizaçãoServiceNotification", "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 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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>"}}, "required": ["_", "type", "message", "media", "entities"], "additionalProperties": false}, "updatePrivacy": {"title": "atualizarPrivacidade", "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 TL: PrivacyKey."}, "rules": {"type": "array", "items": {"type": "object", "x-tl-type": "PrivacyRule", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["privacyValueAllowContacts", "privacyValueAllowAll", "privacyValueAllowUsers", "privacyValueDisallowContacts", "privacyValueDisallowAll", "privacyValueDisallowUsers", "privacyValueAllowChatParticipants", "privacyValueDisallowChatParticipants", "privacyValueAllowCloseFriends", "privacyValueAllowPremium", "privacyValueAllowBots", "privacyValueDisallowBots"]}}, "description": "Tipo TL: PrivacyRule."}, "x-tl-type": "Vector<PrivacyRule>"}}, "required": ["_", "key", "rules"], "additionalProperties": false}, "updateUserPhone": {"title": "atualizarUserPhone", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserPhone"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "phone": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "user_id", "phone"], "additionalProperties": false}, "updateReadHistoryInbox": {"title": "atualizarReadHistoryInbox", "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": "atualizarReadHistoryOutbox", "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": "atualizarWebPage", "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 TL: página da 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": "atualizarReadMessagesContents", "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": "atualizarChannelTooLong", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelTooLong"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "last_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "last_msg_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}}, "required": ["_", "channel_id"], "additionalProperties": false}, "updateChannel": {"title": "atualizarCanal", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "channel_id"], "additionalProperties": false}, "updateNewChannelMessage": {"title": "atualizarNewChannelMessage", "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: Mensagem."}, "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": "atualizarReadChannelInbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadChannelInbox"]}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "still_unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "max_id", "still_unread_count", "pts"], "additionalProperties": false}, "updateDeleteChannelMessages": {"title": "updateDeleteChannelMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteChannelMessages"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "messages", "pts", "pts_count"], "additionalProperties": false}, "updateChannelMessageViews": {"title": "atualizarChannelMessageViews", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelMessageViews"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "views": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "id", "views"], "additionalProperties": false}, "updateChatParticipantAdmin": {"title": "atualizarChatParticipantAdmin", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipantAdmin"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "is_admin": {"type": "boolean", "x-tl-type": "Bool"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id", "user_id", "is_admin", "version"], "additionalProperties": false}, "updateNewStickerSet": {"title": "atualizarNewStickerSet", "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": "atualizarStickerSetsOrder", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStickerSetsOrder"]}, "masks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "order": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "order"], "additionalProperties": false}, "updateStickerSets": {"title": "atualizarStickerSets", "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": "atualizarSavedGifs", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSavedGifs"]}}, "required": ["_"], "additionalProperties": false}, "updateBotInlineQuery": {"title": "updateBotInlineQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotInlineQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "query": {"type": "string", "x-tl-type": "string"}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "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 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": "atualizarBotInlineSend", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotInlineSend"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "query": {"type": "string", "x-tl-type": "string"}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "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 TL: InputBotInlineMessageID.", "x-tl-flag": "flags.1?InputBotInlineMessageID"}}, "required": ["_", "user_id", "query", "id"], "additionalProperties": false}, "updateEditChannelMessage": {"title": "atualizarEditChannelMessage", "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: Mensagem."}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "message", "pts", "pts_count"], "additionalProperties": false}, "updateBotCallbackQuery": {"title": "updateBotCallbackQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotCallbackQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}, "game_short_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "query_id", "user_id", "peer", "msg_id", "chat_instance"], "additionalProperties": false}, "updateEditMessage": {"title": "atualizarEditMessage", "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: Mensagem."}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "message", "pts", "pts_count"], "additionalProperties": false}, "updateInlineBotCallbackQuery": {"title": "updateInlineBotCallbackQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateInlineBotCallbackQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "msg_id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageID", "inputBotInlineMessageID64"]}}, "description": "Tipo TL: InputBotInlineMessageID."}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}, "game_short_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "query_id", "user_id", "msg_id", "chat_instance"], "additionalProperties": false}, "updateReadChannelOutbox": {"title": "atualizarReadChannelOutbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadChannelOutbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "max_id"], "additionalProperties": false}, "updateDraftMessage": {"title": "atualizarDraftMessage", "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 TL: DraftMessage."}}, "required": ["_", "peer", "draft"], "additionalProperties": false}, "updateReadFeaturedStickers": {"title": "atualizarReadFeaturedStickers", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadFeaturedStickers"]}}, "required": ["_"], "additionalProperties": false}, "updateRecentStickers": {"title": "atualizarRecentStickers", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateRecentStickers"]}}, "required": ["_"], "additionalProperties": false}, "updateConfig": {"title": "atualizaçãoConfig", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateConfig"]}}, "required": ["_"], "additionalProperties": false}, "updatePtsChanged": {"title": "atualizaçãoPtsChanged", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePtsChanged"]}}, "required": ["_"], "additionalProperties": false}, "updateChannelWebPage": {"title": "atualizarChannelWebPage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelWebPage"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "webpage": {"type": "object", "x-tl-type": "WebPage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webPageEmpty", "webPagePending", "webPage", "webPageNotModified"]}}, "description": "Tipo TL: página da 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": "updateDialogPinned", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDialogPinned"]}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "peer": {"type": "object", "x-tl-type": "DialogPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialogPeer", "dialogPeerFolder", "dialogPeerCommunity"]}}, "description": "Tipo TL: DialogPeer."}}, "required": ["_", "peer"], "additionalProperties": false}, "updatePinnedDialogs": {"title": "atualizarPinnedDialogs", "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 TL: DialogPeer."}, "x-tl-type": "Vector<DialogPeer>", "x-tl-flag": "flags.0?Vector<DialogPeer>"}}, "required": ["_"], "additionalProperties": false}, "updateBotWebhookJSON": {"title": "atualizarBotWebhookJSON", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotWebhookJSON"]}, "data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Tipo TL: DataJSON."}}, "required": ["_", "data"], "additionalProperties": false}, "updateBotWebhookJSONQuery": {"title": "atualizarBotWebhookJSONQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotWebhookJSONQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Tipo TL: DataJSON."}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "query_id", "data", "timeout"], "additionalProperties": false}, "updateBotShippingQuery": {"title": "atualizarBotShippingQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotShippingQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "shipping_address": {"type": "object", "x-tl-type": "PostAddress", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["postAddress"]}}, "description": "Tipo TL: PostAddress."}}, "required": ["_", "query_id", "user_id", "payload", "shipping_address"], "additionalProperties": false}, "updateBotPrecheckoutQuery": {"title": "updateBotPrecheckoutQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotPrecheckoutQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "info": {"type": "object", "x-tl-type": "PaymentRequestedInfo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paymentRequestedInfo"]}}, "description": "Tipo TL: PaymentRequestedInfo.", "x-tl-flag": "flags.0?PaymentRequestedInfo"}, "shipping_option_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "currency": {"type": "string", "x-tl-type": "string"}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "query_id", "user_id", "payload", "currency", "total_amount"], "additionalProperties": false}, "updatePhoneCall": {"title": "atualizarPhoneCall", "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: Chamada telefônica."}}, "required": ["_", "phone_call"], "additionalProperties": false}, "updateLangPackTooLong": {"title": "atualizarLangPackTooLong", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateLangPackTooLong"]}, "lang_code": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "lang_code"], "additionalProperties": false}, "updateLangPack": {"title": "atualizarLangPack", "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": "atualizarFavedStickers", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateFavedStickers"]}}, "required": ["_"], "additionalProperties": false}, "updateChannelReadMessagesContents": {"title": "updateChannelReadMessagesContents", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelReadMessagesContents"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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": "atualizarContatosRedefinir", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateContactsReset"]}}, "required": ["_"], "additionalProperties": false}, "updateChannelAvailableMessages": {"title": "updateChannelAvailableMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelAvailableMessages"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "available_min_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "available_min_id"], "additionalProperties": false}, "updateDialogUnreadMark": {"title": "updateDialogUnreadMark", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDialogUnreadMark"]}, "unread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "peer": {"type": "object", "x-tl-type": "DialogPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialogPeer", "dialogPeerFolder", "dialogPeerCommunity"]}}, "description": "Tipo 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": "atualizarMessagePoll", "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-битное целое в десятичной записи.", "x-tl-type": "long"}, "poll": {"type": "object", "x-tl-type": "Poll", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["poll"]}}, "description": "Tipo TL: Enquete.", "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 pesquisa."}}, "required": ["_", "poll_id", "results"], "additionalProperties": false}, "updateChatDefaultBannedRights": {"title": "atualizarChatDefaultBannedRights", "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 TL: ChatBannedRights."}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "default_banned_rights", "version"], "additionalProperties": false}, "updateFolderPeers": {"title": "atualizarFolderPeers", "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 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": "atualizarPeerSettings", "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 TL: PeerSettings."}}, "required": ["_", "peer", "settings"], "additionalProperties": false}, "updatePeerLocated": {"title": "updatePeerLocalizado", "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 TL: PeerLocalizado."}, "x-tl-type": "Vector<PeerLocated>"}}, "required": ["_", "peers"], "additionalProperties": false}, "updateNewScheduledMessage": {"title": "atualizarNewScheduledMessage", "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: Mensagem."}}, "required": ["_", "message"], "additionalProperties": false}, "updateDeleteScheduledMessages": {"title": "updateDeleteScheduledMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteScheduledMessages"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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": "atualizarTema", "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": "atualizarGeoLiveViewed", "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": "atualizarLoginToken", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateLoginToken"]}}, "required": ["_"], "additionalProperties": false}, "updateMessagePollVote": {"title": "atualizarMessagePollVote", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessagePollVote"]}, "poll_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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": "updateDialogFilter", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDialogFilter"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "filter": {"type": "object", "x-tl-type": "DialogFilter", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialogFilter", "dialogFilterDefault", "dialogFilterChatlist"]}}, "description": "Tipo TL: DialogFilter.", "x-tl-flag": "flags.0?DialogFilter"}}, "required": ["_", "id"], "additionalProperties": false}, "updateDialogFilterOrder": {"title": "updateDialogFilterOrder", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDialogFilterOrder"]}, "order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "order"], "additionalProperties": false}, "updateDialogFilters": {"title": "atualizarDialogFilters", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDialogFilters"]}}, "required": ["_"], "additionalProperties": false}, "updatePhoneCallSignalingData": {"title": "atualizarPhoneCallSignalingData", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePhoneCallSignalingData"]}, "phone_call_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "phone_call_id", "data"], "additionalProperties": false}, "updateChannelMessageForwards": {"title": "atualizarChannelMessageForwards", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelMessageForwards"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "forwards": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "id", "forwards"], "additionalProperties": false}, "updateReadChannelDiscussionInbox": {"title": "updateReadChannelDiscussionInbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadChannelDiscussionInbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "read_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "broadcast_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "broadcast_post": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "channel_id", "top_msg_id", "read_max_id"], "additionalProperties": false}, "updateReadChannelDiscussionOutbox": {"title": "updateReadChannelDiscussionOutbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadChannelDiscussionOutbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "read_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "top_msg_id", "read_max_id"], "additionalProperties": false}, "updatePeerBlocked": {"title": "atualizaçãoPeerBlocked", "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": "atualizaçãoChannelUserTyping", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelUserTyping"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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 TL: SendMessageAction."}}, "required": ["_", "channel_id", "from_id", "action"], "additionalProperties": false}, "updatePinnedMessages": {"title": "atualizarPinnedMessages", "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": "atualizarPinnedChannelMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePinnedChannelMessages"]}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "messages", "pts", "pts_count"], "additionalProperties": false}, "updateChat": {"title": "atualizarChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChat"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "chat_id"], "additionalProperties": false}, "updateGroupCallParticipants": {"title": "atualizarGroupCallParticipants", "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 TL: InputGroupCall."}, "participants": {"type": "array", "items": {"type": "object", "x-tl-type": "GroupCallParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}}, "description": "Tipo TL: GroupCallParticipant."}, "x-tl-type": "Vector<GroupCallParticipant>"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "call", "participants", "version"], "additionalProperties": false}, "updateGroupCall": {"title": "atualizarGroupCall", "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 TL: GroupCall."}}, "required": ["_", "call"], "additionalProperties": false}, "updatePeerHistoryTTL": {"title": "atualizarPeerHistoryTTL", "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": "atualizarChatParticipant", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipant"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "actor_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "prev_participant": {"type": "object", "x-tl-type": "ChatParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipant", "chatParticipantCreator", "chatParticipantAdmin"]}}, "description": "Tipo TL: ChatParticipant.", "x-tl-flag": "flags.0?ChatParticipant"}, "new_participant": {"type": "object", "x-tl-type": "ChatParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipant", "chatParticipantCreator", "chatParticipantAdmin"]}}, "description": "Tipo TL: ChatParticipant.", "x-tl-flag": "flags.1?ChatParticipant"}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo 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": "atualizarCanalParticipante", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelParticipant"]}, "via_chatlist": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "actor_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "prev_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Tipo TL: ChannelParticipant.", "x-tl-flag": "flags.0?ChannelParticipant"}, "new_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Tipo TL: ChannelParticipant.", "x-tl-flag": "flags.1?ChannelParticipant"}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo 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": "updateBotStopped", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotStopped"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "stopped": {"type": "boolean", "x-tl-type": "Bool"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "date", "stopped", "qts"], "additionalProperties": false}, "updateGroupCallConnection": {"title": "atualizarGroupCallConnection", "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 TL: DataJSON."}}, "required": ["_", "params"], "additionalProperties": false}, "updateBotCommands": {"title": "atualizarBotCommands", "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-битное целое в десятичной записи.", "x-tl-type": "long"}, "commands": {"type": "array", "items": {"type": "object", "x-tl-type": "BotCommand", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botCommand"]}}, "description": "Tipo TL: BotCommand."}, "x-tl-type": "Vector<BotCommand>"}}, "required": ["_", "peer", "bot_id", "commands"], "additionalProperties": false}, "updatePendingJoinRequests": {"title": "atualizaçãoPendingJoinRequests", "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-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "peer", "requests_pending", "recent_requesters"], "additionalProperties": false}, "updateBotChatInviteRequester": {"title": "updateBotChatInviteRequester", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotChatInviteRequester"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "about": {"type": "string", "x-tl-type": "string"}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo TL: ExportedChatInvite."}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "peer", "date", "user_id", "about", "invite", "qts"], "additionalProperties": false}, "updateMessageReactions": {"title": "atualizarMessageReactions", "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 TL: MessageReactions."}}, "required": ["_", "peer", "msg_id", "reactions"], "additionalProperties": false}, "updateAttachMenuBots": {"title": "atualizarAttachMenuBots", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateAttachMenuBots"]}}, "required": ["_"], "additionalProperties": false}, "updateWebViewResultSent": {"title": "atualizarWebViewResultSent", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWebViewResultSent"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "query_id"], "additionalProperties": false}, "updateBotMenuButton": {"title": "atualizarBotMenuButton", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotMenuButton"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "button": {"type": "object", "x-tl-type": "BotMenuButton", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botMenuButtonDefault", "botMenuButtonCommands", "botMenuButton"]}}, "description": "Tipo TL: BotMenuButton."}}, "required": ["_", "bot_id", "button"], "additionalProperties": false}, "updateSavedRingtones": {"title": "atualizarSalvoToques", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSavedRingtones"]}}, "required": ["_"], "additionalProperties": false}, "updateTranscribedAudio": {"title": "atualizarTranscritoÁudio", "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-битное целое в десятичной записи.", "x-tl-type": "long"}, "text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "peer", "msg_id", "transcription_id", "text"], "additionalProperties": false}, "updateReadFeaturedEmojiStickers": {"title": "atualizarReadFeaturedEmojiStickers", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadFeaturedEmojiStickers"]}}, "required": ["_"], "additionalProperties": false}, "updateUserEmojiStatus": {"title": "atualizarUserEmojiStatus", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserEmojiStatus"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "emoji_status": {"type": "object", "x-tl-type": "EmojiStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["emojiStatusEmpty", "emojiStatus", "emojiStatusCollectible", "inputEmojiStatusCollectible"]}}, "description": "Tipo TL: EmojiStatus."}}, "required": ["_", "user_id", "emoji_status"], "additionalProperties": false}, "updateRecentEmojiStatuses": {"title": "atualizarStatus recentes de Emoji", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateRecentEmojiStatuses"]}}, "required": ["_"], "additionalProperties": false}, "updateRecentReactions": {"title": "atualizarReações Recentes", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateRecentReactions"]}}, "required": ["_"], "additionalProperties": false}, "updateMoveStickerSetToTop": {"title": "atualizarMoveStickerSetToTop", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMoveStickerSetToTop"]}, "masks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "stickerset": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "stickerset"], "additionalProperties": false}, "updateMessageExtendedMedia": {"title": "updateMessageExtendedMedia", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessageExtendedMedia"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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 TL: MessageExtendedMedia."}, "x-tl-type": "Vector<MessageExtendedMedia>"}}, "required": ["_", "peer", "msg_id", "extended_media"], "additionalProperties": false}, "updateUser": {"title": "atualizarUser", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "user_id"], "additionalProperties": false}, "updateAutoSaveSettings": {"title": "atualizarAutoSaveSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateAutoSaveSettings"]}}, "required": ["_"], "additionalProperties": false}, "updateStory": {"title": "atualizarStory", "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 TL: StoryItem."}}, "required": ["_", "peer", "story"], "additionalProperties": false}, "updateReadStories": {"title": "atualizarReadStories", "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": "atualizarStoryID", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStoryID"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "random_id"], "additionalProperties": false}, "updateStoriesStealthMode": {"title": "atualizarStoriesStealthMode", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStoriesStealthMode"]}, "stealth_mode": {"type": "object", "x-tl-type": "StoriesStealthMode", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storiesStealthMode"]}}, "description": "Tipo TL: StoriesStealthMode."}}, "required": ["_", "stealth_mode"], "additionalProperties": false}, "updateSentStoryReaction": {"title": "atualizarSentStoryReaction", "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: Reação."}}, "required": ["_", "peer", "story_id", "reaction"], "additionalProperties": false}, "updateBotChatBoost": {"title": "atualizarBotChatBoost", "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": "updateChannelViewForumAsMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelViewForumAsMessages"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "enabled": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "channel_id", "enabled"], "additionalProperties": false}, "updatePeerWallpaper": {"title": "atualizarPeerWallpaper", "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 de parede.", "x-tl-flag": "flags.0?WallPaper"}}, "required": ["_", "peer"], "additionalProperties": false}, "updateBotMessageReaction": {"title": "updateBotMessageReaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotMessageReaction"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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: Reação."}, "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: Reação."}, "x-tl-type": "Vector<Reaction>"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "msg_id", "date", "actor", "old_reactions", "new_reactions", "qts"], "additionalProperties": false}, "updateBotMessageReactions": {"title": "updateBotMessageReactions", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotMessageReactions"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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 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": "atualizarSavedDialogPinned", "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 TL: DialogPeer."}}, "required": ["_", "peer"], "additionalProperties": false}, "updatePinnedSavedDialogs": {"title": "atualizarPinnedSavedDialogs", "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 TL: DialogPeer."}, "x-tl-type": "Vector<DialogPeer>", "x-tl-flag": "flags.0?Vector<DialogPeer>"}}, "required": ["_"], "additionalProperties": false}, "updateSavedReactionTags": {"title": "atualizarSavedReactionTags", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSavedReactionTags"]}}, "required": ["_"], "additionalProperties": false}, "updateSmsJob": {"title": "atualizarSmsJob", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSmsJob"]}, "job_id": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "job_id"], "additionalProperties": false}, "updateQuickReplies": {"title": "atualizarQuickReplies", "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: Resposta rápida."}, "x-tl-type": "Vector<QuickReply>"}}, "required": ["_", "quick_replies"], "additionalProperties": false}, "updateNewQuickReply": {"title": "atualizarNovoQuickReply", "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: Resposta rápida."}}, "required": ["_", "quick_reply"], "additionalProperties": false}, "updateDeleteQuickReply": {"title": "atualizarDeleteQuickReply", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteQuickReply"]}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "shortcut_id"], "additionalProperties": false}, "updateQuickReplyMessage": {"title": "atualizarQuickReplyMessage", "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: Mensagem."}}, "required": ["_", "message"], "additionalProperties": false}, "updateDeleteQuickReplyMessages": {"title": "updateDeleteQuickReplyMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteQuickReplyMessages"]}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "shortcut_id", "messages"], "additionalProperties": false}, "updateBotBusinessConnect": {"title": "atualizarBotBusinessConnect", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotBusinessConnect"]}, "connection": {"type": "object", "x-tl-type": "BotBusinessConnection", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botBusinessConnection"]}}, "description": "Tipo TL: BotBusinessConnection."}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "connection", "qts"], "additionalProperties": false}, "updateBotNewBusinessMessage": {"title": "updateBotNewBusinessMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotNewBusinessMessage"]}, "connection_id": {"type": "string", "x-tl-type": "string"}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensagem."}, "reply_to_message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensagem.", "x-tl-flag": "flags.0?Message"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "connection_id", "message", "qts"], "additionalProperties": false}, "updateBotEditBusinessMessage": {"title": "updateBotEditBusinessMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotEditBusinessMessage"]}, "connection_id": {"type": "string", "x-tl-type": "string"}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensagem."}, "reply_to_message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensagem.", "x-tl-flag": "flags.0?Message"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "connection_id", "message", "qts"], "additionalProperties": false}, "updateBotDeleteBusinessMessage": {"title": "updateBotDeleteBusinessMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotDeleteBusinessMessage"]}, "connection_id": {"type": "string", "x-tl-type": "string"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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": "atualizarNewStoryReaction", "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: Reação."}}, "required": ["_", "story_id", "peer", "reaction"], "additionalProperties": false}, "updateStarsBalance": {"title": "atualizarStarsBalance", "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: StarsAmount."}}, "required": ["_", "balance"], "additionalProperties": false}, "updateBusinessBotCallbackQuery": {"title": "atualizarBusinessBotCallbackQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBusinessBotCallbackQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "connection_id": {"type": "string", "x-tl-type": "string"}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensagem."}, "reply_to_message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensagem.", "x-tl-flag": "flags.2?Message"}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}}, "required": ["_", "query_id", "user_id", "connection_id", "message", "chat_instance"], "additionalProperties": false}, "updateStarsRevenueStatus": {"title": "atualizarEstrelasReceitaStatus", "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 TL: StarsRevenueStatus."}}, "required": ["_", "peer", "status"], "additionalProperties": false}, "updateBotPurchasedPaidMedia": {"title": "updateBotPurchasedPaidMedia", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotPurchasedPaidMedia"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "payload": {"type": "string", "x-tl-type": "string"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "payload", "qts"], "additionalProperties": false}, "updatePaidReactionPrivacy": {"title": "atualizarPaidReactionPrivacy", "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 TL: PaidReactionPrivacy."}}, "required": ["_", "private"], "additionalProperties": false}, "updateSentPhoneCode": {"title": "atualizarSentPhoneCode", "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": "Digite TL: auth.SentCode."}}, "required": ["_", "sent_code"], "additionalProperties": false}, "updateGroupCallChainBlocks": {"title": "atualizarGroupCallChainBlocks", "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 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": "atualizarReadMonoForumInbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadMonoForumInbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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": "atualizarReadMonoForumOutbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadMonoForumOutbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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": "atualizarMonoForumNoPaidException", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMonoForumNoPaidException"]}, "exception": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}}, "required": ["_", "channel_id", "saved_peer_id"], "additionalProperties": false}, "updateGroupCallMessage": {"title": "atualizarGroupCallMessage", "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 TL: InputGroupCall."}, "message": {"type": "object", "x-tl-type": "GroupCallMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallMessage"]}}, "description": "Tipo TL: GroupCallMessage."}}, "required": ["_", "call", "message"], "additionalProperties": false}, "updateGroupCallEncryptedMessage": {"title": "atualizarGroupCallEncryptedMessage", "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 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": "atualizarPinnedForumTopic", "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": "atualizarPinnedForumTopics", "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": "atualizarDeleteGroupCallMessages", "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 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": "atualizarStarGiftAuctionState", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStarGiftAuctionState"]}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "state": {"type": "object", "x-tl-type": "StarGiftAuctionState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionStateNotModified", "starGiftAuctionState", "starGiftAuctionStateFinished"]}}, "description": "Tipo TL: StarGiftAuctionState."}}, "required": ["_", "gift_id", "state"], "additionalProperties": false}, "updateStarGiftAuctionUserState": {"title": "atualizarStarGiftAuctionUserState", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStarGiftAuctionUserState"]}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_state": {"type": "object", "x-tl-type": "StarGiftAuctionUserState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionUserState"]}}, "description": "Tipo TL: StarGiftAuctionUserState."}}, "required": ["_", "gift_id", "user_state"], "additionalProperties": false}, "updateEmojiGameInfo": {"title": "atualizarEmojiGameInfo", "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": "Digite TL: messages.EmojiGameInfo."}}, "required": ["_", "info"], "additionalProperties": false}, "updateStarGiftCraftFail": {"title": "atualizarStarGiftCraftFail", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStarGiftCraftFail"]}}, "required": ["_"], "additionalProperties": false}, "updateChatParticipantRank": {"title": "atualizarChatParticipantRank", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipantRank"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "rank": {"type": "string", "x-tl-type": "string"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id", "user_id", "rank", "version"], "additionalProperties": false}, "updateManagedBot": {"title": "atualizarManagedBot", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateManagedBot"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "bot_id", "qts"], "additionalProperties": false}, "updateBotGuestChatQuery": {"title": "atualizarBotGuestChatQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotGuestChatQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensagem."}, "reference_messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensagem."}, "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": "atualizarAiComposeTones", "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-битное целое в десятичной записи.", "x-tl-type": "long"}, "result": {"type": "object", "x-tl-type": "JoinChatBotResult", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["joinChatBotResultApproved", "joinChatBotResultDeclined", "joinChatBotResultQueued", "joinChatBotResultWebView"]}}, "description": "Тип TL: JoinChatBotResult."}}, "required": ["_", "peer", "query_id", "result"], "additionalProperties": false}, "updateNewBotConnection": {"title": "updateNewBotConnection", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewBotConnection"]}, "confirmed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "device": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "location": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "bot_id"], "additionalProperties": false}, "updateWebBrowserSettings": {"title": "updateWebBrowserSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWebBrowserSettings"]}, "open_external_browser": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "display_close_button": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}}, "required": ["_"], "additionalProperties": false}, "updateWebBrowserException": {"title": "updateWebBrowserException", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWebBrowserException"]}, "delete": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "open_external_browser": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool"}, "exception": {"type": "object", "x-tl-type": "WebDomainException", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDomainException"]}}, "description": "Тип TL: WebDomainException."}}, "required": ["_", "exception"], "additionalProperties": false}, "updateNewEphemeralMessage": {"title": "updateNewEphemeralMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewEphemeralMessage"]}, "message": {"type": "object", "x-tl-type": "EphemeralMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["ephemeralMessage"]}}, "description": "Тип TL: EphemeralMessage."}}, "required": ["_", "message"], "additionalProperties": false}, "updateDeleteEphemeralMessages": {"title": "updateDeleteEphemeralMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteEphemeralMessages"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "message": {"type": "object", "x-tl-type": "EphemeralMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["ephemeralMessage"]}}, "description": "Тип TL: EphemeralMessage."}}, "required": ["_", "query_id", "user_id", "msg_id", "data", "message"], "additionalProperties": false}, "updateBotStarsSubscription": {"title": "updateBotStarsSubscription", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotStarsSubscription"]}, "canceled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "payment_failed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "restored": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "payload", "qts"], "additionalProperties": false}, "updateWalletState": {"title": "updateWalletState", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWalletState"]}, "state": {"type": "object", "x-tl-type": "WalletState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletStateEmpty", "walletState"]}}, "description": "Тип TL: WalletState."}}, "required": ["_", "state"], "additionalProperties": false}, "updateSentWalletTransaction": {"title": "updateSentWalletTransaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSentWalletTransaction"]}, "gasless": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "msg_hash": {"type": "string", "x-tl-type": "string"}, "transaction": {"type": "object", "x-tl-type": "WalletTransaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletTransaction"]}}, "description": "Тип TL: WalletTransaction.", "x-tl-flag": "flags.1?WalletTransaction"}}, "required": ["_", "msg_hash"], "additionalProperties": false}, "updateWalletGaslessInfo": {"title": "updateWalletGaslessInfo", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWalletGaslessInfo"]}, "available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "left": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "reset_at": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "min_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "relayer_address": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "left", "reset_at", "min_amount", "relayer_address"], "additionalProperties": false}, "updateWalletTonConnectSession": {"title": "updateWalletTonConnectSession", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWalletTonConnectSession"]}, "session": {"type": "object", "x-tl-type": "TonConnectSession", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["tonConnectSession"]}}, "description": "Тип TL: TonConnectSession."}}, "required": ["_", "session"], "additionalProperties": false}, "updateWalletTonConnectPendingDisconnect": {"title": "updateWalletTonConnectPendingDisconnect", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWalletTonConnectPendingDisconnect"]}, "session_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "session_ids"], "additionalProperties": false}, "updateEditForumTopic": {"title": "updateEditForumTopic", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateEditForumTopic"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "closed": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool"}, "hidden": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool"}}, "required": ["_", "peer", "topic_id"], "additionalProperties": false}, "updateBotWidgetQuery": {"title": "updateBotWidgetQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotWidgetQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "query_type": {"type": "object", "x-tl-type": "WidgetQueryType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["widgetQueryTypeData", "widgetQueryTypeSignData", "widgetQueryTypeSentTransaction"]}}, "description": "Тип TL: WidgetQueryType."}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "chat_type": {"type": "string", "x-tl-type": "string"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "wallet_card": {"type": "object", "x-tl-type": "wallet.Card", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.card"]}}, "description": "Тип TL: wallet.Card.", "x-tl-flag": "flags.1?wallet.Card"}}, "required": ["_", "query_id", "query_type", "user_id", "peer", "msg_id", "chat_instance", "chat_type", "data"], "additionalProperties": false}, "updateInlineBotWidgetQuery": {"title": "updateInlineBotWidgetQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateInlineBotWidgetQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "query_type": {"type": "object", "x-tl-type": "WidgetQueryType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["widgetQueryTypeData", "widgetQueryTypeSignData", "widgetQueryTypeSentTransaction"]}}, "description": "Тип TL: WidgetQueryType."}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "inline_message_id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageID", "inputBotInlineMessageID64"]}}, "description": "Tipo TL: InputBotInlineMessageID."}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "chat_type": {"type": "string", "x-tl-type": "string"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "wallet_card": {"type": "object", "x-tl-type": "wallet.Card", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.card"]}}, "description": "Тип TL: wallet.Card.", "x-tl-flag": "flags.1?wallet.Card"}}, "required": ["_", "query_id", "query_type", "user_id", "inline_message_id", "chat_instance", "chat_type", "data"], "additionalProperties": false}, "updateBotWidgetCopyQuery": {"title": "updateBotWidgetCopyQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotWidgetCopyQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "query_type": {"type": "object", "x-tl-type": "WidgetQueryType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["widgetQueryTypeData", "widgetQueryTypeSignData", "widgetQueryTypeSentTransaction"]}}, "description": "Тип TL: WidgetQueryType."}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "wallet_card": {"type": "object", "x-tl-type": "wallet.Card", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.card"]}}, "description": "Тип TL: wallet.Card.", "x-tl-flag": "flags.1?wallet.Card"}}, "required": ["_", "query_id", "query_type", "user_id", "data", "widget_id"], "additionalProperties": false}, "updateMessageWidgetData": {"title": "updateMessageWidgetData", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessageWidgetData"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "msg_id", "pts", "pts_count"], "additionalProperties": false}, "updateTranscribedAudioFile": {"title": "updateTranscribedAudioFile", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateTranscribedAudioFile"]}, "pending": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "transcription_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "transcription_id", "text"], "additionalProperties": false}, "updateBotProfileWidgetQuery": {"title": "updateBotProfileWidgetQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotProfileWidgetQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "query_type": {"type": "object", "x-tl-type": "WidgetQueryType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["widgetQueryTypeData", "widgetQueryTypeSignData", "widgetQueryTypeSentTransaction"]}}, "description": "Тип TL: WidgetQueryType."}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "wallet_card": {"type": "object", "x-tl-type": "wallet.Card", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.card"]}}, "description": "Тип TL: wallet.Card.", "x-tl-flag": "flags.0?wallet.Card"}}, "required": ["_", "query_id", "query_type", "user_id", "data"], "additionalProperties": false}, "updateBotProfileWidgetData": {"title": "updateBotProfileWidgetData", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotProfileWidgetData"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "chat_data": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "bot_id", "chat_data"], "additionalProperties": false}, "updateBotProfileWidget": {"title": "updateBotProfileWidget", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotProfileWidget"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "widget": {"type": "object", "x-tl-type": "BotProfileWidget", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botProfileWidget"]}}, "description": "Тип TL: BotProfileWidget.", "x-tl-flag": "flags.0?BotProfileWidget"}}, "required": ["_", "bot_id"], "additionalProperties": false}, "updateReadFeed": {"title": "updateReadFeed", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadFeed"]}, "filter_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "max_position": {"type": "object", "x-tl-type": "FeedPosition", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["feedPosition"]}}, "description": "Тип TL: FeedPosition."}, "unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "unread_muted_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "filter_id", "max_position"], "additionalProperties": false}, "updates.state": {"title": "updates.state", "description": "Estado de atualizações.", "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 ocorridos em uma caixa de texto", "x-telegram-field-docs": true}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Posicione-se em uma sequência de atualizações em chats secretos. Para mais detalhes consulte o artigo [bate-papos 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": "Data da condição", "x-telegram-field-docs": true}, "seq": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de atualizações enviadas", "x-telegram-field-docs": true}, "unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de mensagens não lidas", "x-telegram-field-docs": true}}, "required": ["_", "pts", "qts", "date", "seq", "unread_count"], "additionalProperties": false}, "updates.differenceEmpty": {"title": "updates.differenceEmpty", "description": "Sem 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": "Data atual", "x-telegram-field-docs": true}, "seq": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de atualizações enviadas", "x-telegram-field-docs": true}}, "required": ["_", "date", "seq"], "additionalProperties": false}, "updates.difference": {"title": "updates.difference", "description": "Lista completa de eventos ocorridos.", "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: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "x-tl-flag": "flags.0?Vector<ForumTopic>"}, "new_messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "Lista de novas mensagens", "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 TL: EncryptedMessage."}, "x-tl-type": "Vector<EncryptedMessage>", "description": "Lista de novas mensagens criptografadas de bate-papo secreto", "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: Atualização."}, "x-tl-type": "Vector<Update>", "description": "Lista de atualizações", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats mencionados em 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários mencionados em eventos", "x-telegram-field-docs": true}, "state": {"type": "object", "x-tl-type": "updates.State", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updates.state"]}}, "description": "Estado atual", "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 ocorridos.", "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: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "x-tl-flag": "flags.0?Vector<ForumTopic>"}, "new_messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "Lista de novas mensagens", "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 TL: EncryptedMessage."}, "x-tl-type": "Vector<EncryptedMessage>", "description": "Novas mensagens da [sequência de eventos criptografados](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: Atualização."}, "x-tl-type": "Vector<Update>", "description": "Lista de atualizações", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats mencionados em 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários mencionados em 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 intermediário", "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": "A diferença é [muito longa](https://core.telegram.org/api/updates.md#recovering-gaps), e o estado especificado deve ser usado para buscar novamente as atualizações.", "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": "O novo estado a ser usado.", "x-telegram-field-docs": true}}, "required": ["_", "pts"], "additionalProperties": false}, "updatesTooLong": {"title": "atualizaçõesTooLong", "description": "O número de atualizações enfileiradas na caixa de mensagem comum é muito grande para ser entregue passivamente através do soquete, invoque [updates.getDifference](https://core.telegram.org/method/updates.getDifference.md) para buscar a diferença conforme especificado na [documentação »](https://core.telegram.org/api/updates.md).\n\n**não** indica necessariamente que o [limite de tamanho da caixa de mensagem foi atingido](https://core.telegram.org/api/updates.md#recovering-gaps-for-very-old-messages), simplesmente indica que o número de atualizações enfileiradas em uma caixa de mensagem é muito grande para ser entregue passivamente através do soquete.", "externalDocs": {"url": "https://core.telegram.org/constructor/updatesTooLong"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updatesTooLong"]}}, "required": ["_"], "additionalProperties": false}, "updateShortMessage": {"title": "atualizarShortMessage", "description": "Informações sobre uma mensagem enviada (recebida de) outro usuário", "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": "Se a mensagem é enviada", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "mentioned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se fomos mencionados na mensagem", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "media_unread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se há algumas menções **não lidas** nesta mensagem", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se for verdade, a mensagem é silenciosa e nenhuma notificação deve ser acionada", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O ID da mensagem", "x-telegram-field-docs": true}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "O ID do remetente (se `outgoing` for o ID do destino) da mensagem", "x-tl-type": "long", "x-telegram-field-docs": true}, "message": {"type": "string", "x-tl-type": "string", "description": "A mensagem", "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 contagem](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[data](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": "Informações sobre uma mensagem encaminhada", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?MessageFwdHeader"}, "via_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Informações sobre o bot in-line usado para gerar esta mensagem", "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": "Responder e [thread](https://core.telegram.org/api/threads.md) informações", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades](https://core.telegram.org/api/entities.md) para texto estilizado", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?Vector<MessageEntity>"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Time To Live da mensagem, uma vez message.date+message.ttl_period === time(), a mensagem será excluída do servidor e deverá ser excluída localmente também.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?int"}}, "required": ["_", "id", "user_id", "message", "pts", "pts_count", "date"], "additionalProperties": false}, "updateShortChatMessage": {"title": "atualizarShortChatMessage", "description": "Construtor abreviado contendo informações sobre uma nova mensagem de texto recebida de um bate-papo", "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": "Se a mensagem é enviada", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "mentioned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se fomos mencionados nesta mensagem", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "media_unread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se a mensagem contém algumas menções **não lidas**", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se for verdade, a mensagem é silenciosa e nenhuma notificação deve ser acionada", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem", "x-telegram-field-docs": true}, "from_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do remetente da mensagem", "x-tl-type": "long", "x-telegram-field-docs": true}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do chat para onde a mensagem foi enviada", "x-tl-type": "long", "x-telegram-field-docs": true}, "message": {"type": "string", "x-tl-type": "string", "description": "Mensagem", "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 contagem](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[data](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": "Informações sobre uma mensagem encaminhada", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?MessageFwdHeader"}, "via_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Informações sobre o bot in-line usado para gerar esta mensagem", "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": "Informações de resposta (tópico)", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades](https://core.telegram.org/api/entities.md) para texto estilizado", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?Vector<MessageEntity>"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Time To Live da mensagem, uma vez updateShortChatMessage.date+updateShortChatMessage.ttl_period === time(), a mensagem será excluída do servidor e deverá ser excluída localmente também.", "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": "atualizarShort", "description": "Construtor abreviado contendo informações sobre uma atualização que não requer dados 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": "Atualizar", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data do evento", "x-telegram-field-docs": true}}, "required": ["_", "update", "date"], "additionalProperties": false}, "updatesCombined": {"title": "atualizaçõesCombinadas", "description": "Construtor para um grupo de atualizações.", "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: Atualização."}, "x-tl-type": "Vector<Update>", "description": "Lista de atualizações", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários mencionados nas atualizações", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats mencionados nas atualizações", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data atual", "x-telegram-field-docs": true}, "seq_start": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor **seq** para a atualização mais antiga em um grupo", "x-telegram-field-docs": true}, "seq": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor **seq** para a atualização mais recente em um grupo", "x-telegram-field-docs": true}}, "required": ["_", "updates", "users", "chats", "date", "seq_start", "seq"], "additionalProperties": false}, "updates": {"title": "atualizações", "description": "Construtor completo de atualizações", "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: Atualização."}, "x-tl-type": "Vector<Update>", "description": "Lista de atualizações", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários mencionados nas atualizações", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats mencionados nas atualizações", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data atual", "x-telegram-field-docs": true}, "seq": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de atualizações enviadas", "x-telegram-field-docs": true}}, "required": ["_", "updates", "users", "chats", "date", "seq"], "additionalProperties": false}, "updateShortSentMessage": {"title": "atualizarShortSentMessage", "description": "Construtor abreviado contendo informações sobre uma mensagem enviada para um contato (o chat de destino deve ser extraído da chamada do método que retornou 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": "Se a mensagem é enviada", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem enviada", "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 contagem](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[data](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": "Mídia anexada", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades](https://core.telegram.org/api/entities.md) para texto estilizado", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?Vector<MessageEntity>"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Time To Live da mensagem, uma vez message.date+message.ttl_period === time(), a mensagem será excluída do servidor e deverá ser excluída localmente também.", "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": "Lista completa de fotos com dados 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "photos", "users"], "additionalProperties": false}, "photos.photosSlice": {"title": "photos.photosSlice", "description": "Lista incompleta de fotos com dados 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "count", "photos", "users"], "additionalProperties": false}, "photos.photo": {"title": "photos.photo", "description": "Foto com dados 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários", "x-telegram-field-docs": true}}, "required": ["_", "photo", "users"], "additionalProperties": false}, "upload.file": {"title": "upload.file", "description": "Conteúdo do arquivo.", "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 arquivo", "x-telegram-field-docs": true}, "mtime": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Hora da modificação", "x-telegram-field-docs": true}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Dados binários, conteúdo do arquivo", "x-telegram-field-docs": true}}, "required": ["_", "type", "mtime", "bytes"], "additionalProperties": false}, "upload.fileCdnRedirect": {"title": "upload.fileCdnRedirect", "description": "O arquivo deve ser baixado de um arquivo [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 arquivo (veja [CDN arquivos](https://core.telegram.org/cdn.md))", "x-telegram-field-docs": true}, "encryption_key": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Chave de criptografia (veja [CDN arquivos](https://core.telegram.org/cdn.md))", "x-telegram-field-docs": true}, "encryption_iv": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Criptografia IV (veja [CDN arquivos](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 TL: FileHash."}, "x-tl-type": "Vector<FileHash>", "description": "Hashes de arquivo (veja [CDN arquivos](https://core.telegram.org/cdn.md))", "x-telegram-field-docs": true}}, "required": ["_", "dc_id", "file_token", "encryption_key", "encryption_iv", "file_hashes"], "additionalProperties": false}, "dcOption": {"title": "dcOption", "type": "object", "properties": {"_": {"type": "string", "enum": ["dcOption"]}, "ipv6": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "media_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "tcpo_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "cdn": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "static": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "this_port_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "ip_address": {"type": "string", "x-tl-type": "string"}, "port": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "secret": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.10?bytes"}}, "required": ["_", "id", "ip_address", "port"], "additionalProperties": false}, "config": {"title": "configuração", "description": "Configuração atual", "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": "Se o cliente deve usar P2P por padrão para chamadas telefônicas com contatos", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "preload_featured_stickers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o cliente deve pré-carregar os adesivos em destaque", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "revoke_pm_inbox": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se as mensagens privadas recebidas podem ser excluídas para ambos os participantes", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "blocked_mode": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Indica que o telegrama é *provavelmente* censurado pelos governos/ISPs na região atual", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?true"}, "force_try_ipv6": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se deve ser forçada a conexão usando IPv6 [dcOptions](https://core.telegram.org/type/DcOption.md), mesmo que o cliente saiba que o IPv4 está disponível.", "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": "Data atual no servidor", "x-telegram-field-docs": true}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data de expiração desta configuração: quando expirar terá que ser buscada novamente 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": "Se estamos conectados aos DCs de teste", "x-telegram-field-docs": true}, "this_dc": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID do DC que retornou a resposta", "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 DC", "x-telegram-field-docs": true}, "dc_txt_domain_name": {"type": "string", "x-tl-type": "string", "description": "Nome de domínio para buscar lista de DC criptografada do registro DNS TXT", "x-telegram-field-docs": true}, "chat_size_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Contagem máxima de membros para [grupos](https://core.telegram.org/api/channel.md) normais", "x-telegram-field-docs": true}, "megagroup_size_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Contagem máxima de membros 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 mensagens que podem ser encaminhadas de uma 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": "O cliente deve [atualizar seu status online](https://core.telegram.org/method/account.updateStatus.md) a cada N milissegundos", "x-telegram-field-docs": true}, "offline_blur_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Atraso antes que o status offline precise ser enviado ao servidor", "x-telegram-field-docs": true}, "offline_idle_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tempo sem qualquer atividade do usuário após o qual deve ser tratado offline", "x-telegram-field-docs": true}, "online_cloud_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se estivermos offline, mas estivermos online de algum outro cliente nos últimos `online_cloud_timeout_ms` milissegundos depois de termos ficado offline, atrase a notificação offline por `notify_cloud_delay_ms` milissegundos.", "x-telegram-field-docs": true}, "notify_cloud_delay_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se estivermos offline, mas online de algum outro cliente, atrase o envio da notificação offline por `notify_cloud_delay_ms` milissegundos.", "x-telegram-field-docs": true}, "notify_default_delay_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se algum outro cliente estiver online, atrase a notificação por `notification_default_delay_ms` milissegundos", "x-telegram-field-docs": true}, "push_chat_period_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Não é para uso do cliente", "x-telegram-field-docs": true}, "push_chat_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Não é para uso do cliente", "x-telegram-field-docs": true}, "edit_time_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Somente mensagens com idade (em segundos) menor que a especificada neste campo poderão ser editadas", "x-telegram-field-docs": true}, "revoke_time_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Somente mensagens de canal/supergrupo com idade menor que a especificada podem ser excluídas", "x-telegram-field-docs": true}, "revoke_pm_time_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Somente mensagens privadas com idade inferior à especificada podem ser excluídas", "x-telegram-field-docs": true}, "rating_e_decay": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Taxa de decaimento exponencial para computação [melhor classificação por pares](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 adesivos recentes", "x-telegram-field-docs": true}, "channels_read_media_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Indica que vídeos redondos (notas de vídeo) e mensagens de voz enviadas em canais e anteriores ao período especificado devem ser marcadas como lidas", "x-telegram-field-docs": true}, "tmp_sessions": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de [sessões paralelas](https://core.telegram.org/api/datacenter.md#parallel-sessions) que o cliente pode abrir para a conexão principal de seu DC doméstico para aumentar a taxa de transferência; se ausente ou `≤ 1`, uma única sessão principal deve ser usada", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "call_receive_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tempo máximo de toque de saída permitido em chamadas VoIP: se o usuário que estamos ligando não responder dentro do tempo especificado (em milissegundos), devemos desligar a chamada", "x-telegram-field-docs": true}, "call_ring_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tempo máximo de toque de entrada permitido em chamadas VoIP: se o usuário atual não responder dentro do tempo especificado (em milissegundos), a chamada será automaticamente recusada", "x-telegram-field-docs": true}, "call_connect_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tempo limite de conexão VoIP: se a instância da libtgvoip do outro lado da chamada não se conectar à nossa instância da libtgvoip dentro do tempo especificado (em milissegundos), a chamada deverá ser abortada", "x-telegram-field-docs": true}, "call_packet_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se durante uma chamada VoIP um pacote não for recebido durante o período de tempo especificado, a chamada deverá ser abortada", "x-telegram-field-docs": true}, "me_url_prefix": {"type": "string", "x-tl-type": "string", "description": "O domínio a ser usado para analisar [links diretos »](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 atualizar automaticamente o aplicativo atual", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?string"}, "gif_search_username": {"type": "string", "x-tl-type": "string", "description": "Nome de usuário do bot a ser usado para pesquisar GIFs", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?string"}, "venue_search_username": {"type": "string", "x-tl-type": "string", "description": "Nome de usuário do bot a ser usado para pesquisar locais", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?string"}, "img_search_username": {"type": "string", "x-tl-type": "string", "description": "Nome de usuário do bot a ser usado para pesquisa de imagens", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?string"}, "static_maps_provider": {"type": "string", "x-tl-type": "string", "description": "ID do provedor de mapas a ser usado para locais", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?string"}, "caption_length_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Comprimento máximo da legenda (comprimento em codepoints utf8)", "x-telegram-field-docs": true}, "message_length_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Comprimento máximo das mensagens (comprimento em codepoints utf8)", "x-telegram-field-docs": true}, "webfile_dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "DC ID a ser usado para baixar [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": "Versão do pacote de idiomas", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "base_lang_pack_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Versão básica do pacote de idiomas", "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": "Padrão [reação à mensagem](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 login automático, [clique aqui para mais informações sobre autorização 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": "mais próximoDc", "description": "Data center mais próximo, de acordo com 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 do país determinado por geo-ip", "x-telegram-field-docs": true}, "this_dc": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número do data center atual", "x-telegram-field-docs": true}, "nearest_dc": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número do data center mais próximo", "x-telegram-field-docs": true}}, "required": ["_", "country", "this_dc", "nearest_dc"], "additionalProperties": false}, "help.appUpdate": {"title": "help.appUpdate", "description": "Uma atualização está disponível para o aplicativo.", "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": "Não ignorável, a nova informação deve ser mostrada ao usuário (com um pop-up ou outra coisa)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Atualizar ID", "x-telegram-field-docs": true}, "version": {"type": "string", "x-tl-type": "string", "description": "Nome da nova versão", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Descrição de texto da atualização", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado](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": "Binário do aplicativo", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Document"}, "url": {"type": "string", "x-tl-type": "string", "description": "Download do aplicativo 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": "Adesivo associado", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Document"}}, "required": ["_", "id", "version", "text", "entities"], "additionalProperties": false}, "help.noAppUpdate": {"title": "help.noAppUpdate", "description": "Nenhuma atualização está disponível para o aplicativo.", "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 uma mensagem de texto com convite para instalação do 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 da mensagem", "x-telegram-field-docs": true}}, "required": ["_", "message"], "additionalProperties": false}, "encryptedChatEmpty": {"title": "criptografadoChatEmpty", "description": "Construtor vazio.", "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 do bate-papo", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "encryptedChatWaiting": {"title": "criptografadoChatWaiting", "description": "Bate-papo aguardando aprovação do 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 do bate-papo", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Verificando soma dependendo do ID do usuário", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data de criação do bate-papo", "x-telegram-field-docs": true}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do criador do bate-papo", "x-tl-type": "long", "x-telegram-field-docs": true}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do segundo participante do chat", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "date", "admin_id", "participant_id"], "additionalProperties": false}, "encryptedChatRequested": {"title": "criptografadoChatRequested", "description": "Solicitação para criar um bate-papo criptografado.", "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 da pasta peer, para mais informações clique aqui](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 do bate-papo", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Verifique a soma dependendo do ID do usuário", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data de criação do bate-papo", "x-telegram-field-docs": true}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do criador do bate-papo", "x-tl-type": "long", "x-telegram-field-docs": true}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do segundo participante do 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`, consulte [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": "bate-papo criptografado", "description": "Bate-papo criptografado", "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 do bate-papo", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Soma de verificação dependente do ID do usuário", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data em que o chat foi criado", "x-telegram-field-docs": true}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do criador do bate-papo", "x-tl-type": "long", "x-telegram-field-docs": true}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do segundo participante do 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`, se o usuário atualmente autorizado for o criador do chat, ou `A = g ^ a mod p` caso contrário, consulte [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange) para obter mais informações", "x-telegram-field-docs": true}, "key_fingerprint": {"type": "string", "pattern": "^-?\\d+$", "description": "Impressão digital de 64 bits da chave recebida", "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": "criptografadoChatDiscarded", "description": "Bate-papo descartado ou excluído.", "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": "Se ambos os usuários deste bate-papo secreto também devem remover todas as suas mensagens", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID do bate-papo", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputEncryptedChat": {"title": "inputEncryptedChat", "description": "Um [bate-papo criptografado 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 do bate-papo", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Acesse o hash de [encryptedChat](https://core.telegram.org/constructor/encryptedChat.md), [encryptedChatWaiting](https://core.telegram.org/constructor/encryptedChatWaiting.md) ou [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": "arquivo criptografado vazio", "description": "Construtor vazio, arquivo inexistente.", "externalDocs": {"url": "https://core.telegram.org/constructor/encryptedFileEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedFileEmpty"]}}, "required": ["_"], "additionalProperties": false}, "encryptedFile": {"title": "arquivo criptografado", "description": "Arquivo criptografado.", "externalDocs": {"url": "https://core.telegram.org/constructor/encryptedFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do arquivo", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Verificando soma dependendo do ID do usuário", "x-tl-type": "long", "x-telegram-field-docs": true}, "size": {"type": "string", "pattern": "^-?\\d+$", "description": "Tamanho do arquivo em bytes", "x-tl-type": "long", "x-telegram-field-docs": true}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de data center", "x-telegram-field-docs": true}, "key_fingerprint": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Impressão digital de 32 bits da chave usada para criptografia de arquivos", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "size", "dc_id", "key_fingerprint"], "additionalProperties": false}, "inputEncryptedFileEmpty": {"title": "inputEncryptedFileEmpty", "description": "Construtor vazio.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEncryptedFileEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEncryptedFileEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputEncryptedFileUploaded": {"title": "inputEncryptedFileUploaded", "description": "Define um novo arquivo criptografado salvo por partes usando o 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 arquivo aleatório criado pelo cliente", "x-tl-type": "long", "x-telegram-field-docs": true}, "parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de peças salvas", "x-telegram-field-docs": true}, "md5_checksum": {"type": "string", "x-tl-type": "string", "description": "Caso [md5-HASH](https://en.wikipedia.org/wiki/MD5) do arquivo (já criptografado) tenha sido transmitido, o conteúdo do arquivo será verificado antes do uso", "x-telegram-field-docs": true}, "key_fingerprint": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Impressão digital de 32 bits da chave usada para criptografar um arquivo", "x-telegram-field-docs": true}}, "required": ["_", "id", "parts", "md5_checksum", "key_fingerprint"], "additionalProperties": false}, "inputEncryptedFile": {"title": "inputEncryptedFile", "description": "Define o arquivo criptografado encaminhado para anexo.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEncryptedFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEncryptedFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do arquivo, valor do 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": "Soma de verificação, valor do 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": "inputEncryptedFileBigUploaded", "description": "Atribui um novo arquivo criptografado grande (com mais de 10 MB de tamanho), salvo em partes usando o 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 arquivo aleatório, criado pelo cliente", "x-tl-type": "long", "x-telegram-field-docs": true}, "parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de peças salvas", "x-telegram-field-docs": true}, "key_fingerprint": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Impressão de 32 bits da chave usada para criptografar o arquivo", "x-telegram-field-docs": true}}, "required": ["_", "id", "parts", "key_fingerprint"], "additionalProperties": false}, "encryptedMessage": {"title": "mensagem criptografada", "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedMessage"]}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "chat_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "file": {"type": "object", "x-tl-type": "EncryptedFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["encryptedFileEmpty", "encryptedFile"]}}, "description": "Tipo TL: EncryptedFile."}}, "required": ["_", "random_id", "chat_id", "date", "bytes", "file"], "additionalProperties": false}, "encryptedMessageService": {"title": "serviço de mensagem criptografada", "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedMessageService"]}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "chat_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "random_id", "chat_id", "date", "bytes"], "additionalProperties": false}, "messages.dhConfigNotModified": {"title": "messages.dhConfigNotModified", "description": "A configuração dos parâmetros não mudou.", "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": "Sequência aleatória de bytes de comprimento atribuído", "x-telegram-field-docs": true}}, "required": ["_", "random"], "additionalProperties": false}, "messages.dhConfig": {"title": "messages.dhConfig", "description": "Novo conjunto de parâmetros de configuração.", "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": "Novo valor **raiz 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": "Novo valor **prime**, 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": "Versão do conjunto de parâmetros", "x-telegram-field-docs": true}, "random": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Sequência aleatória de bytes de comprimento atribuído", "x-telegram-field-docs": true}}, "required": ["_", "g", "p", "version", "random"], "additionalProperties": false}, "messages.sentEncryptedMessage": {"title": "messages.sentEncryptedMessage", "description": "Mensagem sem anexos enviada para um arquivo criptografado.", "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": "Data de envio", "x-telegram-field-docs": true}}, "required": ["_", "date"], "additionalProperties": false}, "messages.sentEncryptedFile": {"title": "messages.sentEncryptedFile", "description": "Mensagem com um anexo de arquivo enviada para um bate-papo 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": "Data de envio", "x-telegram-field-docs": true}, "file": {"type": "object", "x-tl-type": "EncryptedFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["encryptedFileEmpty", "encryptedFile"]}}, "description": "Arquivo anexado", "x-telegram-field-docs": true}}, "required": ["_", "date", "file"], "additionalProperties": false}, "inputDocumentEmpty": {"title": "inputDocumentEmpty", "description": "Construtor vazio.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputDocumentEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputDocument": {"title": "documento de entrada", "description": "Define um documento para interação posterior.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputDocument"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputDocument"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do documento", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** parâmetro do construtor [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": "[Referência do arquivo](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference"], "additionalProperties": false}, "documentEmpty": {"title": "documentoVazio", "description": "Construtor vazio, o documento não existe.", "externalDocs": {"url": "https://core.telegram.org/constructor/documentEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["documentEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do documento ou `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": "ID do documento", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Soma de verificação, dependendo do ID do documento", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Referência do arquivo](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data de criação", "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": "Tamanho", "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: PhotoSize."}, "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: VideoSize."}, "x-tl-type": "Vector<VideoSize>", "description": "Miniaturas de vídeo", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<VideoSize>"}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID do DC", "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 TL: DocumentAttribute."}, "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": "Informações sobre o usuário de suporte.", "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 telefone", "x-telegram-field-docs": true}, "user": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Usuário", "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 usuários", "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": "notificarBroadcasts", "type": "object", "properties": {"_": {"type": "string", "enum": ["notifyBroadcasts"]}}, "required": ["_"], "additionalProperties": false}, "notifyForumTopic": {"title": "notificarForumTopic", "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-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "community_id"], "additionalProperties": false}, "sendMessageTypingAction": {"title": "sendMessageTypingAction", "description": "O usuário está digitando.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "enviarMessageCancelAction", "description": "Invalidar todas as atualizações de ações anteriores. E.g. quando o usuário exclui o texto inserido ou cancela o upload de um vídeo.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageCancelAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageCancelAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageRecordVideoAction": {"title": "sendMessageRecordVideoAction", "description": "O usuário está gravando um vídeo.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageRecordVideoAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageRecordVideoAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageUploadVideoAction": {"title": "sendMessageUploadVideoAction", "description": "O usuário está enviando um vídeo.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Porcentagem de progresso", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageRecordAudioAction": {"title": "sendMessageRecordAudioAction", "description": "O usuário está gravando uma mensagem de voz.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageRecordAudioAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageRecordAudioAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageUploadAudioAction": {"title": "sendMessageUploadAudioAction", "description": "O usuário está enviando uma mensagem de voz.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Porcentagem de progresso", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageUploadPhotoAction": {"title": "sendMessageUploadPhotoAction", "description": "O usuário está enviando uma foto.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Porcentagem de progresso", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageUploadDocumentAction": {"title": "sendMessageUploadDocumentAction", "description": "O usuário está carregando um arquivo.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Porcentagem de progresso", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageGeoLocationAction": {"title": "sendMessageGeoLocationAction", "description": "O usuário está selecionando um local para compartilhar.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageGeoLocationAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageGeoLocationAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageChooseContactAction": {"title": "sendMessageChooseContactAction", "description": "O usuário está selecionando um contato para compartilhar.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageChooseContactAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageChooseContactAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageGamePlayAction": {"title": "sendMessageGamePlayAction", "description": "O usuário está jogando", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageGamePlayAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageGamePlayAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageRecordRoundAction": {"title": "sendMessageRecordRoundAction", "description": "O usuário está gravando um vídeo redondo para compartilhar\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageRecordRoundAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageRecordRoundAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageUploadRoundAction": {"title": "sendMessageUploadRoundAction", "description": "O usuário está enviando um vídeo redondo\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Porcentagem de progresso", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "speakingInGroupCallAction": {"title": "falandoInGroupCallAction", "description": "O usuário está falando na chamada em grupo", "externalDocs": {"url": "https://core.telegram.org/constructor/speakingInGroupCallAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["speakingInGroupCallAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageHistoryImportAction": {"title": "sendMessageHistoryImportAction", "description": "O histórico de bate-papo está sendo importado", "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": "Porcentagem de progresso", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageChooseStickerAction": {"title": "sendMessageChooseStickerAction", "description": "O usuário está escolhendo um adesivo", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageChooseStickerAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageChooseStickerAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageEmojiInteraction": {"title": "enviarMensagemEmojiInteração", "description": "O usuário clicou em um emoji animado que desencadeou uma [reação, clique aqui para mais informações »](https://core.telegram.org/api/animated-emojis.md#emoji-reactions).", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageEmojiInteraction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageEmojiInteraction"]}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem do emoji animado que foi clicado", "x-telegram-field-docs": true}, "interaction": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Um objeto JSON com informações de interação, [clique aqui para mais informações »](https://core.telegram.org/api/animated-emojis.md#emoji-reactions)", "x-telegram-field-docs": true}}, "required": ["_", "emoticon", "msg_id", "interaction"], "additionalProperties": false}, "sendMessageEmojiInteractionSeen": {"title": "enviarMensagemEmojiInteraçãoVisto", "description": "O usuário está assistindo a uma reação de emoji animado acionada por outro usuário, [clique aqui para mais informações »](https://core.telegram.org/api/animated-emojis.md#emoji-reactions).", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageEmojiInteractionSeen"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageEmojiInteractionSeen"]}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "sendMessageTextDraftAction": {"title": "sendMessageTextDraftAction", "description": "Usado por bots para implementar [streaming de mensagens ao 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": "Live draft ID: usado por clientes gráficos para alterar ligeiramente o comportamento de renderização, veja [aqui »](https://core.telegram.org/api/bots/ai.md#live-response-streaming) para mais informações. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento 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": "O conteúdo do rascunho ao 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "rich_message": {"type": "object", "x-tl-type": "InputRichMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputRichMessage", "inputRichMessageHTML", "inputRichMessageMarkdown"]}}, "description": "Тип TL: InputRichMessage."}}, "required": ["_", "random_id", "rich_message"], "additionalProperties": false}, "sendMessageRichMessageDraftAction": {"title": "sendMessageRichMessageDraftAction", "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageRichMessageDraftAction"]}, "can_stop": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "keep_on_stop": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "rich_message": {"type": "object", "x-tl-type": "RichMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["richMessage"]}}, "description": "Тип TL: RichMessage."}}, "required": ["_", "random_id", "rich_message"], "additionalProperties": false}, "sendMessageStopDraftAction": {"title": "sendMessageStopDraftAction", "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageStopDraftAction"]}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "random_id"], "additionalProperties": false}, "contacts.found": {"title": "contacts.found", "description": "Usuários encontrados por substring de nome e dados 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 usuário 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Lista de usuários", "x-telegram-field-docs": true}}, "required": ["_", "my_results", "results", "chats", "users"], "additionalProperties": false}, "inputPrivacyKeyStatusTimestamp": {"title": "entradaPrivacyKeyStatusTimestamp", "description": "Se as pessoas poderão ver nosso último carimbo de data/hora on-line exato.\n\nObserve que se *nós* decidirmos ocultar nosso último carimbo de data/hora on-line exato para alguém (i.e., usuários A, B, C ou todos os usuários) **e** não tivermos uma assinatura [Premium](https://core.telegram.org/api/premium.md), não poderemos ver o carimbo de data/hora on-line exato desses usuários (A, B, C ou todos os usuários), mesmo que esses usuários *o compartilhem* conosco.\n\nSe esses usuários *compartilharem* seu status on-line exato conosco, mas não pudermos vê-lo devido ao motivo mencionado acima, o sinalizador `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) será definido.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyStatusTimestamp"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyStatusTimestamp"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyChatInvite": {"title": "inputPrivacyKeyChatInvite", "description": "Se as pessoas poderão convidar você para bate-papos", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyChatInvite"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyChatInvite"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyPhoneCall": {"title": "inputPrivacyKeyPhoneCall", "description": "Se você aceitará chamadas telefônicas", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyPhoneCall"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyPhoneCall"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyPhoneP2P": {"title": "inputPrivacyKeyPhoneP2P", "description": "Se deve permitir a comunicação P2P durante chamadas VoIP", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyPhoneP2P"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyPhoneP2P"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyForwards": {"title": "inputPrivacyKeyForwards", "description": "Se as mensagens encaminhadas por você serão [anônimas](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": "inputPrivacyKeyProfileFoto", "description": "Se as pessoas poderão ver sua foto de perfil", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyProfilePhoto"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyProfilePhoto"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyPhoneNumber": {"title": "inputPrivacyKeyPhoneNumber", "description": "Se as pessoas poderão ver seu número de telefone", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyPhoneNumber"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyPhoneNumber"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyAddedByPhone": {"title": "inputPrivacyKeyAddedByPhone", "description": "Se as pessoas podem adicionar você à lista de contatos pelo seu número de telefone", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyAddedByPhone"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyAddedByPhone"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyVoiceMessages": {"title": "inputPrivacyKeyVoiceMessages", "description": "Se as pessoas podem enviar mensagens de voz ou vídeos redondos ([somente usuários 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": "inputPrivacyKeySobre", "description": "Se as pessoas podem ver sua biografia", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyAbout"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyAbout"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyBirthday": {"title": "inputPrivacyKeyAniversário", "description": "Se o usuário pode ver nosso aniversário.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyBirthday"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyBirthday"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyStarGiftsAutoSave": {"title": "inputPrivacyKeyStarGiftsAutoSave", "description": "Se recebidos [presentes](https://core.telegram.org/api/gifts.md) serão exibidos automaticamente em nosso perfil", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyStarGiftsAutoSave"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyStarGiftsAutoSave"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyNoPaidMessages": {"title": "inputPrivacyKeyNoPaidMessages", "description": "Quem pode enviar mensagens para você sem pagar, se [mensagens pagas »](https://core.telegram.org/api/paid-messages.md) estiverem habilitadas.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyNoPaidMessages"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyNoPaidMessages"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeySavedMusic": {"title": "inputPrivacyKeySavedMusic", "description": "Se o usuário pode ver as [músicas que fixamos em nosso 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": "privacidadeKeyStatusTimestamp", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyStatusTimestamp"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyChatInvite": {"title": "privacidadeKeyChatInvite", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyChatInvite"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyPhoneCall": {"title": "privacidadeKeyPhoneCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyPhoneCall"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyPhoneP2P": {"title": "privacidadeKeyPhoneP2P", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyPhoneP2P"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyForwards": {"title": "privacidadeKeyForwards", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyForwards"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyProfilePhoto": {"title": "privacidadeKeyProfileFoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyProfilePhoto"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyPhoneNumber": {"title": "privacidadeKeyPhoneNumber", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyPhoneNumber"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyAddedByPhone": {"title": "privacidadeKeyAddedByPhone", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyAddedByPhone"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyVoiceMessages": {"title": "privacidadeKeyVoiceMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyVoiceMessages"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyAbout": {"title": "privacidadeKeySobre", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyAbout"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyBirthday": {"title": "privacidadeKeyBirthday", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyBirthday"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyStarGiftsAutoSave": {"title": "privacidadeKeyStarGiftsAutoSave", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyStarGiftsAutoSave"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyNoPaidMessages": {"title": "privacidadeKeyNoPaidMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyNoPaidMessages"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeySavedMusic": {"title": "privacidadeKeySavedMusic", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeySavedMusic"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueAllowContacts": {"title": "inputPrivacyValueAllowContatos", "description": "Permitir apenas contatos", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueAllowContacts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueAllowContacts"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueAllowAll": {"title": "inputPrivacyValueAllowAll", "description": "Permitir todos os usuários", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueAllowAll"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueAllowAll"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueAllowUsers": {"title": "inputPrivacyValueAllowUsers", "description": "Permitir apenas determinados usuários", "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 TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Usuários permitidos", "x-telegram-field-docs": true}}, "required": ["_", "users"], "additionalProperties": false}, "inputPrivacyValueDisallowContacts": {"title": "inputPrivacyValueDisallowContatos", "description": "Proibir apenas contatos", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueDisallowContacts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueDisallowContacts"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueDisallowAll": {"title": "inputPrivacyValueDisallowAll", "description": "Proibir tudo", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueDisallowAll"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueDisallowAll"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueDisallowUsers": {"title": "inputPrivacyValueDisallowUsers", "description": "Proibir apenas determinados usuários", "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 TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Usuários para proibir", "x-telegram-field-docs": true}}, "required": ["_", "users"], "additionalProperties": false}, "inputPrivacyValueAllowChatParticipants": {"title": "inputPrivacyValueAllowChatParticipantes", "description": "Permitir apenas participantes de determinados 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "IDs de bate-papo permitidos (um [chat](https://core.telegram.org/constructor/chat.md) ou um [supergroup](https://core.telegram.org/constructor/channel.md) ID, literalmente da forma como é recebido no construtor (i.e. ao contrário dos IDs de bot API, aqui os IDs de grupo e supergrupo devem ser tratados da mesma maneira)).", "x-telegram-field-docs": true}}, "required": ["_", "chats"], "additionalProperties": false}, "inputPrivacyValueDisallowChatParticipants": {"title": "inputPrivacyValueDisallowChatParticipantes", "description": "Proibir apenas participantes de determinados 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "IDs de bate-papo não permitidos (um [chat](https://core.telegram.org/constructor/chat.md) ou um [supergroup](https://core.telegram.org/constructor/channel.md) ID, literalmente da forma como é recebido no construtor (i.e. ao contrário dos IDs de bot API, aqui os IDs de grupo e supergrupo devem ser tratados da mesma maneira)).", "x-telegram-field-docs": true}}, "required": ["_", "chats"], "additionalProperties": false}, "inputPrivacyValueAllowCloseFriends": {"title": "inputPrivacyValueAllowCloseFriends", "description": "Permitir apenas [amigos próximos »](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": "inputPrivacyValueAllowPremium", "description": "Permitir apenas usuários com uma [assinatura Premium »](https://core.telegram.org/api/premium.md), atualmente utilizável apenas 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": "inputPrivacyValueAllowBots", "description": "Permitir bots e miniaplicativos", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueAllowBots"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueAllowBots"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueDisallowBots": {"title": "inputPrivacyValueDisallowBots", "description": "Proibir bots e miniaplicativos", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueDisallowBots"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueDisallowBots"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowContacts": {"title": "privacidadeValueAllowContatos", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowContacts"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowAll": {"title": "privacidadeValueAllowAll", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowAll"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowUsers": {"title": "privacidadeValueAllowUsers", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowUsers"]}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "users"], "additionalProperties": false}, "privacyValueDisallowContacts": {"title": "privacidadeValueDisallowContatos", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowContacts"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueDisallowAll": {"title": "privacidadeValueDisallowAll", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowAll"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueDisallowUsers": {"title": "privacidadeValueDisallowUsers", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowUsers"]}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "users"], "additionalProperties": false}, "privacyValueAllowChatParticipants": {"title": "privacidadeValueAllowChatParticipantes", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowChatParticipants"]}, "chats": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "chats"], "additionalProperties": false}, "privacyValueDisallowChatParticipants": {"title": "privacidadeValueDisallowChatParticipantes", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowChatParticipants"]}, "chats": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "chats"], "additionalProperties": false}, "privacyValueAllowCloseFriends": {"title": "privacidadeValueAllowCloseFriends", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowCloseFriends"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowPremium": {"title": "privacidadeValueAllowPremium", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowPremium"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowBots": {"title": "privacidadeValueAllowBots", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowBots"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueDisallowBots": {"title": "privacidadeValueDisallowBots", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowBots"]}}, "required": ["_"], "additionalProperties": false}, "account.privacyRules": {"title": "account.privacyRules", "description": "Regras de privacidade", "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 TL: PrivacyRule."}, "x-tl-type": "Vector<PrivacyRule>", "description": "Regras de privacidade", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos aos quais as regras se aplicam", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários aos quais as regras se aplicam", "x-telegram-field-docs": true}}, "required": ["_", "rules", "chats", "users"], "additionalProperties": false}, "accountDaysTTL": {"title": "contaDiasTTL", "description": "Tempo de vida em dias da conta corrente", "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 conta se autodestruirá no número especificado de dias", "x-telegram-field-docs": true}}, "required": ["_", "days"], "additionalProperties": false}, "documentAttributeImageSize": {"title": "documentAttributeImageSize", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeImageSize"]}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "w", "h"], "additionalProperties": false}, "documentAttributeAnimated": {"title": "documentAttributeAnimated", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeAnimated"]}}, "required": ["_"], "additionalProperties": false}, "documentAttributeSticker": {"title": "documentAttributeSticker", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeSticker"]}, "mask": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "alt": {"type": "string", "x-tl-type": "string"}, "stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmpty", "inputStickerSetID", "inputStickerSetShortName", "inputStickerSetAnimatedEmoji", "inputStickerSetDice", "inputStickerSetAnimatedEmojiAnimations", "inputStickerSetPremiumGifts", "inputStickerSetEmojiGenericAnimations", "inputStickerSetEmojiDefaultStatuses", "inputStickerSetEmojiDefaultTopicIcons", "inputStickerSetEmojiChannelDefaultStatuses", "inputStickerSetTonGifts"]}}, "description": "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": "documentAttributeVideo", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeVideo"]}, "round_message": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "supports_streaming": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "nosound": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "duration": {"type": "number", "format": "double", "x-tl-type": "double"}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "preload_prefix_size": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "video_start_ts": {"type": "number", "format": "double", "x-tl-type": "double", "x-tl-flag": "flags.4?double"}, "video_codec": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.5?string"}}, "required": ["_", "duration", "w", "h"], "additionalProperties": false}, "documentAttributeAudio": {"title": "documentAttributeAudio", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeAudio"]}, "voice": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "performer": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "waveform": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.2?bytes"}}, "required": ["_", "duration"], "additionalProperties": false}, "documentAttributeFilename": {"title": "documentAttributeFilename", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeFilename"]}, "file_name": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "file_name"], "additionalProperties": false}, "documentAttributeHasStickers": {"title": "documentAttributeHasStickers", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeHasStickers"]}}, "required": ["_"], "additionalProperties": false}, "documentAttributeCustomEmoji": {"title": "documentAttributeCustomEmoji", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeCustomEmoji"]}, "free": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "text_color": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "alt": {"type": "string", "x-tl-type": "string"}, "stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmpty", "inputStickerSetID", "inputStickerSetShortName", "inputStickerSetAnimatedEmoji", "inputStickerSetDice", "inputStickerSetAnimatedEmojiAnimations", "inputStickerSetPremiumGifts", "inputStickerSetEmojiGenericAnimations", "inputStickerSetEmojiDefaultStatuses", "inputStickerSetEmojiDefaultTopicIcons", "inputStickerSetEmojiChannelDefaultStatuses", "inputStickerSetTonGifts"]}}, "description": "Tipo TL: InputStickerSet."}}, "required": ["_", "alt", "stickerset"], "additionalProperties": false}, "messages.stickersNotModified": {"title": "messages.stickersNotModified", "description": "Nenhum novo adesivo foi encontrado para a consulta fornecida", "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": "Adesivos encontrados", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.stickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.stickers"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](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": "Adesivos", "x-telegram-field-docs": true}}, "required": ["_", "hash", "stickers"], "additionalProperties": false}, "stickerPack": {"title": "pacote de adesivos", "type": "object", "properties": {"_": {"type": "string", "enum": ["stickerPack"]}, "emoticon": {"type": "string", "x-tl-type": "string"}, "documents": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "emoticon", "documents"], "additionalProperties": false}, "messages.allStickersNotModified": {"title": "messages.allStickersNotModified", "description": "As informações sobre todos os adesivos instalados não mudaram", "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": "Informações sobre todos os adesivos instalados", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.allStickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.allStickers"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](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: Conjunto de adesivos."}, "x-tl-type": "Vector<StickerSet>", "description": "Todos os conjuntos de adesivos", "x-telegram-field-docs": true}}, "required": ["_", "hash", "sets"], "additionalProperties": false}, "messages.affectedMessages": {"title": "messages.affectedMessages", "description": "Eventos afetados pela operação", "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": "[Contagem de eventos após geração](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 foram gerados](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}}, "required": ["_", "pts", "pts_count"], "additionalProperties": false}, "webPageEmpty": {"title": "webPageEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "id"], "additionalProperties": false}, "webPagePending": {"title": "webPagePending", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPagePending"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "date"], "additionalProperties": false}, "webPage": {"title": "página da 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-битное целое в десятичной записи.", "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 TL: WebPageAttribute."}, "x-tl-type": "Vector<WebPageAttribute>", "x-tl-flag": "flags.12?Vector<WebPageAttribute>"}}, "required": ["_", "id", "url", "display_url", "hash"], "additionalProperties": false}, "webPageNotModified": {"title": "webPageNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageNotModified"]}, "cached_page_views": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_"], "additionalProperties": false}, "authorization": {"title": "autorização", "description": "Sessão logada", "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": "Se esta é a sessão atual", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "official_app": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se a sessão é de um aplicativo oficial", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "password_pending": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se a sessão ainda está aguardando uma senha 2FA", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "encrypted_requests_disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se esta sessão aceitará bate-papos criptografados", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "call_requests_disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se esta sessão aceitará chamadas telefônicas", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "unconfirmed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se a sessão é [não confirmada, veja aqui »](https://core.telegram.org/api/auth.md#confirming-login) para mais informações.", "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 do 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": "Versão do sistema", "x-telegram-field-docs": true}, "api_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[APIID](https://core.telegram.org/api/obtaining_api_id.md)", "x-telegram-field-docs": true}, "app_name": {"type": "string", "x-tl-type": "string", "description": "Nome do aplicativo", "x-telegram-field-docs": true}, "app_version": {"type": "string", "x-tl-type": "string", "description": "Versão do aplicativo", "x-telegram-field-docs": true}, "date_created": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Quando a sessão foi criada", "x-telegram-field-docs": true}, "date_active": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Quando a sessão foi ativa pela última vez", "x-telegram-field-docs": true}, "ip": {"type": "string", "x-tl-type": "string", "description": "Último IP conhecido", "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ão 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": "Sessões logadas", "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": "Tempo de vida da sessão", "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: Autorização."}, "x-tl-type": "Vector<Authorization>", "description": "Sessões logadas", "x-telegram-field-docs": true}}, "required": ["_", "authorization_ttl_days", "authorizations"], "additionalProperties": false}, "account.password": {"title": "account.password", "description": "Configuração para autorização de dois fatores", "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": "Se o usuário possui um método de recuperação configurado", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "has_secure_values": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o telegrama [passaporte](https://core.telegram.org/passport.md) está ativado", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "has_password": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o usuário tem uma senha", "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": "O [algoritmo KDF para SRP autenticação de dois fatores](https://core.telegram.org/api/srp.md) da senha atual", "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 autorização](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 Srp ID para [SRP autorização](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": "Dica de texto para a senha", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "email_unconfirmed_pattern": {"type": "string", "x-tl-type": "string", "description": "Um [e-mail de recuperação de senha](https://core.telegram.org/api/srp.md#email-verification) com o [padrão](https://core.telegram.org/api/pattern.md) especificado ainda está aguardando verificação", "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": "O [algoritmo KDF para SRP autenticação de dois fatores](https://core.telegram.org/api/srp.md) para usar ao criar novas senhas", "x-telegram-field-docs": true}, "new_secure_algo": {"type": "object", "x-tl-type": "SecurePasswordKdfAlgo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["securePasswordKdfAlgoUnknown", "securePasswordKdfAlgoPBKDF2HMACSHA512iter100000", "securePasswordKdfAlgoSHA512"]}}, "description": "O algoritmo KDF para telegrama [passaporte](https://core.telegram.org/passport.md)", "x-telegram-field-docs": true}, "secure_random": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "String aleatória segura", "x-telegram-field-docs": true}, "pending_reset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "A senha 2FA será removida automaticamente nesta data, a menos que o usuário cancele a operação", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?int"}, "login_email_pattern": {"type": "string", "x-tl-type": "string", "description": "Um e-mail de login verificado com o [padrão](https://core.telegram.org/api/pattern.md) especificado está configurado", "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": "Informações privadas associadas às informações da senha (e-mail de recuperação, telegrama [informações do passaporte](https://core.telegram.org/passport.md) e assim por diante)", "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": "[E-mail de recuperação 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": "Configurações do Telegram [passaporte](https://core.telegram.org/passport.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?SecureSecretSettings"}}, "required": ["_"], "additionalProperties": false}, "account.passwordInputSettings": {"title": "account.passwordInputSettings", "description": "Configurações para configurar uma nova senha", "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": "O [algoritmo SRP](https://core.telegram.org/api/srp.md) a ser usado", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?PasswordKdfAlgo"}, "new_password_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "O [hash de senha computada](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": "Dica de texto para a senha", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "email": {"type": "string", "x-tl-type": "string", "description": "E-mail de recuperação de senha", "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": "Configurações do Telegram [passaporte](https://core.telegram.org/passport.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?SecureSecretSettings"}}, "required": ["_"], "additionalProperties": false}, "auth.passwordRecovery": {"title": "auth.passwordRecovery", "description": "Informações de recuperação de uma [senha 2FA](https://core.telegram.org/api/srp.md), apenas para contas com um [e-mail de recuperação 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": "O e-mail para o qual o código de recuperação foi enviado deve corresponder a este [padrão](https://core.telegram.org/api/pattern.md).", "x-telegram-field-docs": true}}, "required": ["_", "email_pattern"], "additionalProperties": false}, "receivedNotifyMessage": {"title": "mensagem recebidaNotify", "description": "ID da mensagem, para a qual as notificações PUSH foram canceladas.", "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 da mensagem, para a qual as notificações PUSH foram canceladas", "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": "chatInviteExportado", "description": "Convite de bate-papo exportado", "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": "Se este convite de bate-papo foi revogado", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "permanent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este convite de bate-papo não tem validade", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "request_needed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se os usuários que importarem este link de convite precisarão ser aprovados para ingressar no canal ou grupo", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "link": {"type": "string", "x-tl-type": "string", "description": "Link de convite para bate-papo", "x-telegram-field-docs": true}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do administrador que criou este convite de chat", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Quando este convite de bate-papo foi criado", "x-telegram-field-docs": true}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Quando este convite de bate-papo foi modificado pela última vez", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "expire_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Quando este convite de bate-papo expira", "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 usuários que podem ingressar usando este link", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "usage": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Quantos usuários ingressaram usando este link", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}, "requested": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de usuários que já usaram este link para ingressar", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?int"}, "subscription_expired": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para [assinaturas Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions), contém o número de membros do chat que já entraram no chat usando o link, mas já saíram devido ao vencimento da assinatura.", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?int"}, "title": {"type": "string", "x-tl-type": "string", "description": "Descrição personalizada do link de convite, visível apenas 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 [assinaturas Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions), contém o preço da assinatura que o usuário deve ativar para ingressar no canal privado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?StarsSubscriptionPricing"}}, "required": ["_", "link", "admin_id", "date"], "additionalProperties": false}, "chatInvitePublicJoinRequests": {"title": "chatInvitePublicJoinRequests", "description": "Usado em atualizações e no registro do canal para indicar quando um usuário está solicitando ou ingressou em um [grupo de discussão](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": "chatInviteAlready", "description": "O usuário já entrou neste 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": "O bate-papo conectado ao convite", "x-telegram-field-docs": true}}, "required": ["_", "chat"], "additionalProperties": false}, "chatInvite": {"title": "chatInvite", "description": "Informações do convite para bate-papo", "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": "Seja este um [canal/supergrupo](https://core.telegram.org/api/channel.md) ou um [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": "Se este é um [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": "Se este é um [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": "Se este é um [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": "Se a [solicitação de adesão »](https://core.telegram.org/api/invites.md#join-requests) deve ser primeiro aprovada por um administrador", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "verified": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Este chat ou canal é verificado pelo Telegram?", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "scam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Este bate-papo provavelmente é uma farsa", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?true"}, "fake": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, este bate-papo foi relatado por muitos usuários como falso ou fraudulento: tome cuidado ao interagir com ele.", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?true"}, "can_refulfill_subscription": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, indica que o usuário já pagou pelas [assinaturas Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions) associadas e ainda não expirou, então ele pode entrar novamente no canal usando [messages.importChatInvite](https://core.telegram.org/method/messages.importChatInvite.md) sem repetir o pagamento.", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?true"}, "title": {"type": "string", "x-tl-type": "string", "description": "Título do chat/supergrupo/canal", "x-telegram-field-docs": true}, "about": {"type": "string", "x-tl-type": "string", "description": "Descrição do grupo de canais", "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": "Foto do bate-papo/supergrupo/canal", "x-telegram-field-docs": true}, "participants_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Contagem 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Alguns dos participantes que estão no grupo", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?Vector<User>"}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[ID da paleta de cores do 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 [assinaturas Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions), contém o preço da assinatura que o usuário deve ativar para ingressar no canal privado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?StarsSubscriptionPricing"}, "subscription_form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [assinaturas Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions), o ID da forma de pagamento da assinatura.", "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": "Descreve um [ícone de verificação 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": "chatInvitePeek", "description": "Um convite de chat que também permite espiar o grupo para ler mensagens sem entrar nele.", "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": "Informações de bate-papo", "x-telegram-field-docs": true}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O acesso anônimo somente leitura a este grupo será revogado nesta data", "x-telegram-field-docs": true}}, "required": ["_", "chat", "expires"], "additionalProperties": false}, "inputStickerSetEmpty": {"title": "entradaStickerSetEmpty", "description": "Construtor vazio\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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 adesivos por ID", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetID"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetID"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acesso", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputStickerSetShortName": {"title": "entradaStickerSetShortName", "description": "Conjunto de adesivos por nome abreviado, de um [link direto do conjunto de adesivos »](https://core.telegram.org/api/links.md#stickerset-links)\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Nome abreviado de um [link direto do conjunto de adesivos »](https://core.telegram.org/api/links.md#stickerset-links)", "x-telegram-field-docs": true}}, "required": ["_", "short_name"], "additionalProperties": false}, "inputStickerSetAnimatedEmoji": {"title": "inputStickerSetAnimatedEmoji", "description": "Conjunto de adesivos de emojis animados", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetAnimatedEmoji"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetAnimatedEmoji"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetDice": {"title": "entradaStickerSetDice", "description": "Usado para buscar [adesivos de dados animados](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": "Os emoji, por enquanto 🏀, 🎲 e 🎯 são suportados", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "inputStickerSetAnimatedEmojiAnimations": {"title": "inputStickerSetAnimatedEmojiAnimações", "description": "Conjunto de adesivos de reação de emoji animado (contém animações para serem reproduzidas quando um usuário clica em um determinado emoji animado)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetAnimatedEmojiAnimations"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetAnimatedEmojiAnimations"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetPremiumGifts": {"title": "inputStickerSetPremiumGifts", "description": "Adesivos para mostrar ao receber uma assinatura premium do Telegram", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetPremiumGifts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetPremiumGifts"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetEmojiGenericAnimations": {"title": "inputStickerSetEmojiGenericAnimations", "description": "Conjunto de adesivos de animação genérico contendo animações para reproduzir ao [reagindo a mensagens usando um emoji normal sem uma animação 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": "Padrão [status de emoji personalizado](https://core.telegram.org/api/emoji-status.md) conjunto de adesivos", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetEmojiDefaultStatuses"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmojiDefaultStatuses"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetEmojiDefaultTopicIcons": {"title": "inputStickerSetEmojiDefaultTopicIcons", "description": "Conjunto de adesivos [emoji personalizados](https://core.telegram.org/api/custom-emoji.md) padrão para [ícones de tópico do fórum](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": "Padrão [status de emoji personalizado](https://core.telegram.org/api/emoji-status.md) conjunto de adesivos para status de canal", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetEmojiChannelDefaultStatuses"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmojiChannelDefaultStatuses"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetTonGifts": {"title": "inputStickerSetTonGifts", "description": "TON conjunto de adesivos para presentes.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetTonGifts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetTonGifts"]}}, "required": ["_"], "additionalProperties": false}, "stickerSet": {"title": "conjunto de adesivos", "type": "object", "properties": {"_": {"type": "string", "enum": ["stickerSet"]}, "archived": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "official": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "masks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "text_color": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "channel_emoji_status": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true"}, "installed_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string"}, "short_name": {"type": "string", "x-tl-type": "string"}, "thumbs": {"type": "array", "items": {"type": "object", "x-tl-type": "PhotoSize", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoSizeEmpty", "photoSize", "photoCachedSize", "photoStrippedSize", "photoSizeProgressive", "photoPathSize"]}}, "description": "Tipo TL: PhotoSize."}, "x-tl-type": "Vector<PhotoSize>", "x-tl-flag": "flags.4?Vector<PhotoSize>"}, "thumb_dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "thumb_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "thumb_document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.8?long"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "access_hash", "title", "short_name", "count", "hash"], "additionalProperties": false}, "messages.stickerSet": {"title": "messages.stickerSet", "description": "Conjunto de adesivos e adesivos dentro dele", "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": "O conjunto de adesivos", "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: Pacote de adesivos."}, "x-tl-type": "Vector<StickerPack>", "description": "Informações de emoji para adesivos", "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: StickerKeyword."}, "x-tl-type": "Vector<StickerKeyword>", "description": "Palavras-chave para alguns ou todos os adesivos do conjunto de adesivos.", "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": "Adesivos em conjunto de adesivos", "x-telegram-field-docs": true}}, "required": ["_", "set", "packs", "keywords", "documents"], "additionalProperties": false}, "messages.stickerSetNotModified": {"title": "messages.stickerSetNotModified", "description": "O conjunto de adesivos não mudou", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.stickerSetNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.stickerSetNotModified"]}}, "required": ["_"], "additionalProperties": false}, "botCommand": {"title": "botCommand", "description": "Descreve um comando de bot que pode ser usado em um bate-papo", "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` nome", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Descrição do 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-битное целое в десятичной записи.", "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 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 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 TL: BotVerifierSettings.", "x-tl-flag": "flags.9?BotVerifierSettings"}}, "required": ["_"], "additionalProperties": false}, "keyboardButton": {"title": "tecladoButton", "description": "Botão do teclado do bot\n\nDisponível apenas em [teclados de resposta](https://core.telegram.org/constructor/replyKeyboardMarkup.md).\n\nQuando pressionado, os clientes devem enviar `text` como mensagem para o chat atual, respondendo à mensagem que anexou o [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ão, veja [aqui »](https://core.telegram.org/api/bots/buttons.md#button-styles) para mais informações sobre estilos de botão.", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?KeyboardButtonStyle"}, "text": {"type": "string", "x-tl-type": "string", "description": "Texto do botão", "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": "tecladoButtonRow", "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: KeyboardButton."}, "x-tl-type": "Vector<KeyboardButton>"}}, "required": ["_", "buttons"], "additionalProperties": false}, "replyKeyboardHide": {"title": "responderTecladoOcultar", "description": "Ocultar teclado de resposta 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": "Use este sinalizador se desejar remover o teclado apenas para usuários específicos. Alvos: 1) usuários @mencionados no texto do objeto Mensagem; 2) se a mensagem do bot for uma resposta (tem reply_to_message_id), remetente da mensagem original.  Exemplo: um usuário vota em uma enquete, o bot retorna uma mensagem de confirmação em resposta à votação e remove o teclado desse usuário, enquanto ainda mostra o teclado com opções de enquete para usuários que ainda não votaram", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}}, "required": ["_"], "additionalProperties": false}, "replyKeyboardForceReply": {"title": "responderKeyboardForceReply", "description": "Forçar o usuário a enviar uma resposta", "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 aos clientes que ocultem o teclado assim que ele for usado. O teclado ainda estará disponível, mas os clientes exibirão automaticamente o teclado de letras normal no chat – o usuário pode pressionar um botão especial no campo de entrada para ver o teclado personalizado novamente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "selective": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Use este parâmetro se quiser mostrar o teclado apenas para usuários específicos. Alvos: 1) usuários @mencionados no texto do objeto Mensagem; 2) se a mensagem do bot for uma resposta (tem reply_to_message_id), remetente da mensagem original.  Exemplo: um usuário solicita a alteração do idioma do bot, o bot responde à solicitação com um teclado para selecionar o novo idioma. Outros usuários do grupo não veem o teclado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "placeholder": {"type": "string", "x-tl-type": "string", "description": "O espaço reservado a ser mostrado no campo de entrada quando o teclado estiver ativo; 1-64 caracteres.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}}, "required": ["_"], "additionalProperties": false}, "replyKeyboardMarkup": {"title": "responderKeyboardMarkup", "description": "Representa um teclado de resposta", "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 aos clientes que redimensionem o teclado verticalmente para um ajuste ideal (e.g., torne o teclado menor se houver apenas duas fileiras de botões). Se não for definido, o teclado personalizado terá sempre a mesma altura do teclado padrão do aplicativo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "single_use": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Solicita aos clientes que ocultem o teclado assim que ele for usado. O teclado ainda estará disponível, mas os clientes exibirão automaticamente o teclado de letras normal no chat – o usuário pode pressionar um botão especial no campo de entrada para ver o teclado personalizado novamente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "selective": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Use este parâmetro se quiser mostrar o teclado apenas para usuários específicos. Alvos: 1) usuários @mencionados no texto do objeto Mensagem; 2) se a mensagem do bot for uma resposta (tem reply_to_message_id), remetente da mensagem original.  Exemplo: um usuário solicita a alteração do idioma do bot, o bot responde à solicitação com um teclado para selecionar o novo idioma. Outros usuários do grupo não veem o teclado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "persistent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Solicita que os clientes sempre mostrem o teclado quando o teclado normal estiver 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": "Linha de botões", "x-telegram-field-docs": true}, "placeholder": {"type": "string", "x-tl-type": "string", "description": "O espaço reservado a ser mostrado no campo de entrada quando o teclado estiver ativo; 1-64 caracteres.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}}, "required": ["_", "rows"], "additionalProperties": false}, "replyInlineMarkup": {"title": "responderInlineMarkup", "description": "Representa um teclado embutido", "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": "Linhas de teclado inline ou de bot", "x-telegram-field-docs": true}}, "required": ["_", "rows"], "additionalProperties": false}, "messageEntityUnknown": {"title": "mensagemEntityUnknown", "description": "Entidade de mensagem desconhecida\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityMention", "description": "Entidade da mensagem [mencionando](https://core.telegram.org/api/mentions.md) um usuário por `@username`; [messageEntityMentionName](https://core.telegram.org/constructor/messageEntityMentionName.md) também pode ser usado para mencionar usuários por seu ID.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityHashtag", "description": "**\\#hashtag** entidade de mensagem\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityBotCommand", "description": "Entidade de mensagem representando um bot/comando\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityUrl", "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<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityEmail", "description": "Entidade de mensagem representando um <email@example.com>.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityBold", "description": "Entidade de mensagem representando **texto em negrito**.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityItalic", "description": "Entidade da mensagem representando *texto em itálico*.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityCode", "description": "Entidade de mensagem representando um `codeblock`.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityPre", "description": "Entidade de mensagem representando um `codeblock` pré-formatado, permitindo ao usuário especificar uma linguagem de programação para o bloco de código.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "Linguagem de programação do código", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "language"], "additionalProperties": false}, "messageEntityTextUrl": {"title": "mensagemEntityTextUrl", "description": "Entidade de mensagem representando um [url de texto](https://google.com): para URLs em texto como <https://google.com> use [messageEntityUrl](https://core.telegram.org/constructor/messageEntityUrl.md).\n\nObserve que um pop-up de confirmação adicional com o URL completo deve ser exibido ao usuário antes de abrir este link, a menos que o domínio satisfaça as condições especificadas na [documentação da lista de permissões de domínio »](https://core.telegram.org/api/config.md#whitelisted-domains).\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "O real URL", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "url"], "additionalProperties": false}, "messageEntityMentionName": {"title": "mensagemEntityMentionName", "description": "Entidade de mensagem representando uma [menção do usuário](https://core.telegram.org/api/mentions.md): para *criar* uma menção, 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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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 do usuário mencionado", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "user_id"], "additionalProperties": false}, "inputMessageEntityMentionName": {"title": "inputMessageEntityMentionName", "description": "Entidade de mensagem que pode ser usada para criar um usuário [menção do usuário](https://core.telegram.org/api/mentions.md): as menções recebidas usam o construtor [messageEntityMentionName](https://core.telegram.org/constructor/messageEntityMentionName.md), em vez disso.", "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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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 do usuário mencionado", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "user_id"], "additionalProperties": false}, "messageEntityPhone": {"title": "mensagemEntityPhone", "description": "Entidade de mensagem que representa um número de telefone.", "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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityCashtag", "description": "Entidade de mensagem representando um **$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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityUnderline", "description": "Entidade de mensagem que representa texto sublinhado.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityStrike", "description": "Entidade de mensagem representando texto <del>tachado</del>.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityBankCard", "description": "Indica um número de cartão 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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntitySpoiler", "description": "Entidade de mensagem representando um spoiler\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityCustomEmoji", "description": "Representa um emoji personalizado.\nObserve que esta entidade deve agrupar exatamente um emoji normal (aquele contido em [documentAttributeCustomEmoji](https://core.telegram.org/constructor/documentAttributeCustomEmoji.md).`alt`) no texto relacionado, caso contrário o servidor irá ignorá-lo.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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 do documento do [emoji personalizado](https://core.telegram.org/api/custom-emoji.md), use [messages.getCustomEmojiDocuments](https://core.telegram.org/method/messages.getCustomEmojiDocuments.md) para buscar a animação do emoji e o emoji real que ela representa.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "document_id"], "additionalProperties": false}, "messageEntityBlockquote": {"title": "mensagemEntityBlockquote", "description": "Entidade de mensagem que representa uma cotação em bloco.\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "Se a cotação está recolhida por padrão.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityFormattedDate", "description": "Representa um ponto específico no tempo, renderizado conforme especificado [aqui »](https://core.telegram.org/api/entities.md#date-entities)\n\nTodos os sinalizadores são opcionais, com as seguintes limitações:\n\n- `relative` não pode ser combinado com nenhuma outra bandeira\n- `short_time` e `long_time` não podem ser combinados entre si\n- `short_date` e `long_date` não podem ser combinados entre si\n\nSe qualquer um dos sinalizadores for combinado, a ordem de renderização no texto será a seguinte:\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": "Se definido, renderiza uma data relativa, veja [aqui »](https://core.telegram.org/api/entities.md#date-entities) para mais informações. Não pode ser combinado com nenhuma das outras bandeiras.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "short_time": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Renderiza a hora em formato abreviado: horas e minutos, de acordo com as configurações de localidade do usuário; não pode ser combinado com `long_time`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "long_time": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Renderiza a hora em formato longo: horas, minutos, segundos e talvez fuso horário, de acordo com as configurações de localidade do usuário; não pode ser combinado com `short_time`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "short_date": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Renderiza a hora em formato abreviado: mês, data (e ano, se for diferente do atual), tudo de acordo com as configurações de localidade do usuário; não pode ser combinado com `long_date`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "long_date": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Renderiza a hora em formato longo: sempre mês, data e ano, tudo de acordo com as configurações de localidade do usuário; não pode ser combinado com `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": "Renderiza o dia da semana de acordo com as configurações de localidade do usuário.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "A data como carimbo de data/hora UNIX: o valor permitido varia de `0` até a data atual mais 1.098 dias (`time()+1098*86400`).", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "date"], "additionalProperties": false}, "messageEntityDiffInsert": {"title": "mensagemEntityDiffInsert", "description": "Representa uma adição diff: renderize-a simplesmente <u>sublinhando</u> a seção especificada e colorindo-a de verde, veja [aqui »](https://core.telegram.org/api/entities.md#diff-entities) para mais informações sobre como renderizar entidades diff.", "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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "mensagemEntityDiffReplace", "description": "Representa uma substituição diff, renderize-a da seguinte maneira:\n\n- Insira `old_text` no texto no deslocamento `offset`, <u>sublinhe</u> e pinte-o de vermelho: observe que esta inserção não afeta os deslocamentos das entidades que vêm depois dela.\n- <u>sublinhe</u> a seção delimitada por `offset` e `limit` e pinte-a de verde.\n\nVeja [aqui »](https://core.telegram.org/api/entities.md#diff-entities) para mais informações sobre como renderizar entidades diff.", "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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "O pedaço de texto que foi removido.", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "old_text"], "additionalProperties": false}, "messageEntityDiffDelete": {"title": "mensagemEntityDiffDelete", "description": "Representa uma exclusão diff: renderize-a simplesmente <u>sublinhando</u> a seção especificada e colorindo-a em vermelho, veja [aqui »](https://core.telegram.org/api/entities.md#diff-entities) para mais informações sobre como renderizar entidades diff.", "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": "Deslocamento da entidade da mensagem dentro da mensagem (em [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": "Comprimento da entidade da mensagem dentro da mensagem (em [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": "inputChannelEmpty", "description": "Representa a ausência de um 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 um canal", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChannel"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do canal", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acesso obtido do construtor [channel](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": "inputChannelFromMessage", "description": "Define um canal [min](https://core.telegram.org/api/min.md) que foi visto em uma determinada mensagem de um 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": "O chat onde o canal foi visto", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O ID da mensagem no chat onde o canal foi visto", "x-telegram-field-docs": true}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "O ID do canal", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id", "channel_id"], "additionalProperties": false}, "contacts.resolvedPeer": {"title": "contacts.resolvedPeer", "description": "Par resolvido", "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": "O 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários", "x-telegram-field-docs": true}}, "required": ["_", "peer", "chats", "users"], "additionalProperties": false}, "messageRange": {"title": "intervalo de mensagens", "description": "Indica uma série de mensagens de bate-papo", "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": "Início do intervalo (ID da mensagem)", "x-telegram-field-docs": true}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fim do intervalo (ID da mensagem)", "x-telegram-field-docs": true}}, "required": ["_", "min_id", "max_id"], "additionalProperties": false}, "updates.channelDifferenceEmpty": {"title": "updates.channelDifferenceEmpty", "description": "Não há novas atualizações", "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": "Se há mais atualizações que devem ser buscadas (sempre falso)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O mais recente [PTS](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Os clientes devem buscar novamente a diferença de canal após o tempo limite ter decorrido, se o usuário estiver [atualmente visualizando o chat, veja aqui »](https://core.telegram.org/api/updates.md#subscribing-to-updates-of-channels-supergroups) para mais informações.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "pts"], "additionalProperties": false}, "updates.channelDifferenceTooLong": {"title": "updates.channelDifferenceTooLong", "description": "O `pts` passado é muito antigo: uma ou mais atualizações começando no PTS especificado foram excluídas da caixa de mensagem deste canal.\n\nPara supergrupos/canais, isso geralmente acontece para atualizações anteriores a `latestPts - 100000` (embora não confie neste valor, é um detalhe de implementação do lado do servidor que pode mudar e não deve ser usado pelos clientes de forma alguma).", "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": "Se há mais atualizações que devem ser buscadas (sempre definidas)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Os clientes devem buscar novamente a diferença de canal após o tempo limite ter decorrido", "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: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "x-tl-flag": "flags.2?Vector<ForumTopic>"}, "dialog": {"type": "object", "x-tl-type": "Dialog", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialog", "dialogFolder", "dialogCommunity"]}}, "description": "Caixa de diálogo contendo o [PTS](https://core.telegram.org/api/updates.md) mais recente que pode ser usado para redefinir o estado do 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: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "As mensagens mais recentes (não começando pelas `pts` passadas, apenas as mensagens mais recentes).", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos de mensagens", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários de mensagens", "x-telegram-field-docs": true}}, "required": ["_", "dialog", "messages", "chats", "users"], "additionalProperties": false}, "updates.channelDifference": {"title": "updates.channelDifference", "description": "As novas atualizações", "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": "Se há mais atualizações a serem obtidas usando getDifference, começando pelo `pts` fornecido", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O [PTS](https://core.telegram.org/api/updates.md) para começar a receber atualizações na próxima vez", "x-telegram-field-docs": true}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Os clientes devem buscar novamente a diferença de canal após o tempo limite ter decorrido, se o usuário estiver [atualmente visualizando o chat, veja aqui »](https://core.telegram.org/api/updates.md#subscribing-to-updates-of-channels-supergroups) para mais informações.", "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: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "x-tl-flag": "flags.2?Vector<ForumTopic>"}, "new_messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "Novas mensagens", "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: Atualização."}, "x-tl-type": "Vector<Update>", "description": "Outras atualizações", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários", "x-telegram-field-docs": true}}, "required": ["_", "pts", "new_messages", "other_updates", "chats", "users"], "additionalProperties": false}, "channelMessagesFilterEmpty": {"title": "canalMensagensFiltroVazio", "description": "Sem filtro", "externalDocs": {"url": "https://core.telegram.org/constructor/channelMessagesFilterEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelMessagesFilterEmpty"]}}, "required": ["_"], "additionalProperties": false}, "channelMessagesFilter": {"title": "canalMensagensFiltro", "description": "Filtre para obter apenas determinados tipos de mensagens do canal.\n\nEste filtro não pode ser usado para buscar mensagens mais antigas que o tamanho da caixa de mensagens do 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": "Se devem ser excluídas novas mensagens da pesquisa", "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 TL: MessageRange."}, "x-tl-type": "Vector<MessageRange>", "description": "Uma série de mensagens para buscar", "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-битное целое в десятичной записи.", "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": "canalParticipanteSelf", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantSelf"]}, "via_request": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "subscription_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}}, "required": ["_", "user_id", "inviter_id", "date"], "additionalProperties": false}, "channelParticipantCreator": {"title": "canalParticipanteCriador", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantCreator"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Tipo 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "promoted_by": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Tipo 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": "canalParticipanteBanido", "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-битное целое в десятичной записи.", "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 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": "canalParticipanteEsquerda", "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": "canalParticipantesRecentes", "description": "Buscar apenas participantes recentes", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsRecent"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsRecent"]}}, "required": ["_"], "additionalProperties": false}, "channelParticipantsAdmins": {"title": "canalParticipantesAdmins", "description": "Buscar apenas participantes administradores", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsAdmins"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsAdmins"]}}, "required": ["_"], "additionalProperties": false}, "channelParticipantsKicked": {"title": "canalParticipantesKicked", "description": "Buscar apenas participantes expulsos", "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 pesquisar participantes expulsos por nome (caso contrário, vazio)", "x-telegram-field-docs": true}}, "required": ["_", "q"], "additionalProperties": false}, "channelParticipantsBots": {"title": "canalParticipantesBots", "description": "Buscar apenas participantes do bot", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsBots"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsBots"]}}, "required": ["_"], "additionalProperties": false}, "channelParticipantsBanned": {"title": "canalParticipantesBanidos", "description": "Buscar apenas participantes banidos", "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 pesquisar participantes banidos por nome (caso contrário, vazio)", "x-telegram-field-docs": true}}, "required": ["_", "q"], "additionalProperties": false}, "channelParticipantsSearch": {"title": "canalParticipantesPesquisa", "description": "Consultar participantes por nome", "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 pesquisa", "x-telegram-field-docs": true}}, "required": ["_", "q"], "additionalProperties": false}, "channelParticipantsContacts": {"title": "canalParticipantesContatos", "description": "Buscar apenas participantes que também sejam contatos", "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 pesquisa opcional para pesquisar participantes de contato por nome", "x-telegram-field-docs": true}}, "required": ["_", "q"], "additionalProperties": false}, "channelParticipantsMentions": {"title": "canalParticipantesMenções", "description": "Este filtro é usado ao procurar membros do supergrupo para mencionar.\nEste filtro removerá automaticamente administradores anônimos e retornará até mesmo usuários não participantes que responderam a um [thread](https://core.telegram.org/api/threads.md) específico através da [seção de comentários](https://core.telegram.org/api/threads.md#channel-comments) de um 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 nome de usuário ou nome de usuário", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Procure apenas usuários que postaram neste [tópico](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 vários participantes do 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 correspondem à consulta fornecida", "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 TL: ChannelParticipant."}, "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados nas informações do participante", "x-telegram-field-docs": true}}, "required": ["_", "count", "participants", "chats", "users"], "additionalProperties": false}, "channels.channelParticipantsNotModified": {"title": "channels.channelParticipantsNotModified", "description": "Nenhuma informação de novo participante foi encontrada", "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 um participante do 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": "O participante do 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários", "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 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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>"}, "min_age_confirm": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}}, "required": ["_", "id", "text", "entities"], "additionalProperties": false}, "messages.savedGifsNotModified": {"title": "messages.savedGifsNotModified", "description": "No new saved gifs were found", "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 salvos", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.savedGifs"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.savedGifs"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](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 salvos", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "message"], "additionalProperties": false}, "inputBotInlineMessageText": {"title": "inputBotInlineMessageText", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageText"]}, "no_webpage": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "Tipo TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "message"], "additionalProperties": false}, "inputBotInlineMessageMediaGeo": {"title": "inputBotInlineMessageMediaGeo", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaGeo"]}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGeoPointEmpty", "inputGeoPoint"]}}, "description": "Tipo 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 TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "geo_point"], "additionalProperties": false}, "inputBotInlineMessageMediaVenue": {"title": "inputBotInlineMessageMediaVenue", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaVenue"]}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGeoPointEmpty", "inputGeoPoint"]}}, "description": "Tipo 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 TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "geo_point", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "inputBotInlineMessageMediaContact": {"title": "inputBotInlineMessageMediaContact", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaContact"]}, "phone_number": {"type": "string", "x-tl-type": "string"}, "first_name": {"type": "string", "x-tl-type": "string"}, "last_name": {"type": "string", "x-tl-type": "string"}, "vcard": {"type": "string", "x-tl-type": "string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "phone_number", "first_name", "last_name", "vcard"], "additionalProperties": false}, "inputBotInlineMessageGame": {"title": "inputBotInlineMessageGame", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageGame"]}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_"], "additionalProperties": false}, "inputBotInlineMessageMediaInvoice": {"title": "inputBotInlineMessageMediaInvoice", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaInvoice"]}, "title": {"type": "string", "x-tl-type": "string"}, "description": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "InputWebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputWebDocument"]}}, "description": "Tipo 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: Fatura."}, "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 TL: DataJSON."}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "title", "description", "invoice", "payload", "provider", "provider_data"], "additionalProperties": false}, "inputBotInlineMessageMediaWebPage": {"title": "inputBotInlineMessageMediaWebPage", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaWebPage"]}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "force_large_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "force_small_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "optional": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "Tipo TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "url": {"type": "string", "x-tl-type": "string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "message", "url"], "additionalProperties": false}, "inputBotInlineMessageRichMessage": {"title": "inputBotInlineMessageRichMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageRichMessage"]}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}, "rich_message": {"type": "object", "x-tl-type": "InputRichMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputRichMessage", "inputRichMessageHTML", "inputRichMessageMarkdown"]}}, "description": "Тип TL: InputRichMessage."}}, "required": ["_", "rich_message"], "additionalProperties": false}, "inputBotInlineMessageWidget": {"title": "inputBotInlineMessageWidget", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageWidget"]}, "allow_queries": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "shared_widget": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "width": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "height": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "html": {"type": "string", "x-tl-type": "string"}, "public_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.4?ReplyMarkup"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "Tipo TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.5?Vector<MessageEntity>"}}, "required": ["_", "width", "height", "html", "message"], "additionalProperties": false}, "inputBotInlineMessageWidgetId": {"title": "inputBotInlineMessageWidgetId", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageWidgetId"]}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.1?ReplyMarkup"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "Tipo TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.2?Vector<MessageEntity>"}}, "required": ["_", "widget_id", "message"], "additionalProperties": false}, "inputBotInlineResult": {"title": "inputBotInlineResult", "description": "Um resultado de bot in-line", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotInlineResult"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineResult"]}, "id": {"type": "string", "x-tl-type": "string", "description": "ID do resultado", "x-telegram-field-docs": true}, "type": {"type": "string", "x-tl-type": "string", "description": "Tipo de resultado (veja [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 do resultado", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "description": {"type": "string", "x-tl-type": "string", "description": "Descrição do 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 do 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": "Conteúdo do resultado", "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": "Mensagem a ser enviada quando o resultado for selecionado", "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 do resultado", "x-telegram-field-docs": true}, "type": {"type": "string", "x-tl-type": "string", "description": "Tipo de resultado (veja [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": "Mensagem a ser enviada quando o resultado for selecionado", "x-telegram-field-docs": true}}, "required": ["_", "id", "type", "photo", "send_message"], "additionalProperties": false}, "inputBotInlineResultDocument": {"title": "inputBotInlineResultDocument", "description": "Documento (mídia de qualquer tipo, exceto fotos)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotInlineResultDocument"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineResultDocument"]}, "id": {"type": "string", "x-tl-type": "string", "description": "ID do resultado", "x-telegram-field-docs": true}, "type": {"type": "string", "x-tl-type": "string", "description": "Tipo de resultado (veja [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 do resultado", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "description": {"type": "string", "x-tl-type": "string", "description": "Descrição do 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 a 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": "Mensagem a ser enviada quando o resultado for selecionado", "x-telegram-field-docs": true}}, "required": ["_", "id", "type", "document", "send_message"], "additionalProperties": false}, "inputBotInlineResultGame": {"title": "inputBotInlineResultGame", "description": "Jogo", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotInlineResultGame"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineResultGame"]}, "id": {"type": "string", "x-tl-type": "string", "description": "ID do resultado", "x-telegram-field-docs": true}, "short_name": {"type": "string", "x-tl-type": "string", "description": "Nome abreviado do jogo", "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": "Mensagem a ser enviada quando o resultado for selecionado", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "message"], "additionalProperties": false}, "botInlineMessageText": {"title": "botInlineMessageText", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageText"]}, "no_webpage": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "Tipo TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "message"], "additionalProperties": false}, "botInlineMessageMediaGeo": {"title": "botInlineMessageMediaGeo", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageMediaGeo"]}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "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 TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "geo"], "additionalProperties": false}, "botInlineMessageMediaVenue": {"title": "botInlineMessageMediaVenue", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageMediaVenue"]}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "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 TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "geo", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "botInlineMessageMediaContact": {"title": "botInlineMessageMediaContact", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageMediaContact"]}, "phone_number": {"type": "string", "x-tl-type": "string"}, "first_name": {"type": "string", "x-tl-type": "string"}, "last_name": {"type": "string", "x-tl-type": "string"}, "vcard": {"type": "string", "x-tl-type": "string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "phone_number", "first_name", "last_name", "vcard"], "additionalProperties": false}, "botInlineMessageMediaInvoice": {"title": "botInlineMessageMediaInvoice", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageMediaInvoice"]}, "shipping_address_requested": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "test": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "title": {"type": "string", "x-tl-type": "string"}, "description": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Tipo TL: WebDocument.", "x-tl-flag": "flags.0?WebDocument"}, "currency": {"type": "string", "x-tl-type": "string"}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "title", "description", "currency", "total_amount"], "additionalProperties": false}, "botInlineMessageMediaWebPage": {"title": "botInlineMessageMediaWebPage", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageMediaWebPage"]}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "force_large_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "force_small_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "manual": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "safe": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "Tipo TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "url": {"type": "string", "x-tl-type": "string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "message", "url"], "additionalProperties": false}, "botInlineMessageRichMessage": {"title": "botInlineMessageRichMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageRichMessage"]}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}, "rich_message": {"type": "object", "x-tl-type": "RichMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["richMessage"]}}, "description": "Тип TL: RichMessage."}}, "required": ["_", "rich_message"], "additionalProperties": false}, "botInlineMessageWidget": {"title": "botInlineMessageWidget", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageWidget"]}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "width": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "height": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "public_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "public_data_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "Tipo TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.4?Vector<MessageEntity>"}}, "required": ["_", "width", "height", "payload", "message"], "additionalProperties": false}, "botInlineResult": {"title": "botInlineResult", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineResult"]}, "id": {"type": "string", "x-tl-type": "string"}, "type": {"type": "string", "x-tl-type": "string"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "description": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "thumb": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Tipo TL: WebDocument.", "x-tl-flag": "flags.4?WebDocument"}, "content": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Tipo TL: WebDocument.", "x-tl-flag": "flags.5?WebDocument"}, "send_message": {"type": "object", "x-tl-type": "BotInlineMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botInlineMessageMediaAuto", "botInlineMessageText", "botInlineMessageMediaGeo", "botInlineMessageMediaVenue", "botInlineMessageMediaContact", "botInlineMessageMediaInvoice", "botInlineMessageMediaWebPage", "botInlineMessageRichMessage", "botInlineMessageWidget"]}}, "description": "Tipo TL: BotInlineMessage."}}, "required": ["_", "id", "type", "send_message"], "additionalProperties": false}, "botInlineMediaResult": {"title": "botInlineMediaResult", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMediaResult"]}, "id": {"type": "string", "x-tl-type": "string"}, "type": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "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 TL: BotInlineMessage."}}, "required": ["_", "id", "type", "send_message"], "additionalProperties": false}, "messages.botResults": {"title": "messages.botResults", "description": "Resultado de uma consulta a um bot in-line", "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": "Se o resultado é uma galeria de fotos", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID da consulta", "x-tl-type": "long", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "O próximo deslocamento a ser usado ao navegar pelos 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": "Mostrado como um botão no topo da lista de resultados embutidos restantes; se clicado, redireciona o usuário para um bate-papo privado com o bot com o parâmetro inicial 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": "Mostrado como um botão no topo da lista de resultados embutidos restantes; se clicado, abre o [mini aplicativo de modo inline](https://core.telegram.org/api/bots/webapps.md#inline-mode-mini-apps) especificado.", "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 TL: BotInlineResult."}, "x-tl-type": "Vector<BotInlineResult>", "description": "Os resultados", "x-telegram-field-docs": true}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Validade de cache dos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados nos resultados", "x-telegram-field-docs": true}}, "required": ["_", "query_id", "results", "cache_time", "users"], "additionalProperties": false}, "exportedMessageLink": {"title": "exportadoMessageLink", "description": "Link para uma mensagem em um 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": "Incorporar código", "x-telegram-field-docs": true}}, "required": ["_", "link", "html"], "additionalProperties": false}, "messageFwdHeader": {"title": "mensagemFwdHeader", "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-битное целое в десятичной записи.", "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": "Resposta de retorno de chamada enviada pelo bot em resposta ao pressionamento de um botão", "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": "Se um alerta deve ser mostrado ao usuário em vez de uma notificação do sistema", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "has_url": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se um URL está presente", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "native_ui": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Seja para mostrar jogos em WebView ou em UI 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": "Por quanto tempo esta resposta deve ser armazenada em cache", "x-telegram-field-docs": true}}, "required": ["_", "cache_time"], "additionalProperties": false}, "messages.messageEditData": {"title": "messages.messageEditData", "description": "Dados de edição de mensagens para mídia", "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": "Legenda da mídia, se a legenda da mídia especificada puder ser editada", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "inputBotInlineMessageID": {"title": "inputBotInlineMessageID", "description": "Representa uma mensagem embutida enviada da perspectiva de um bot (construtor legado)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotInlineMessageID"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageID"]}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "DC ID a ser usado ao trabalhar com esta mensagem embutida", "x-telegram-field-docs": true}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID da mensagem, contém o ID do proprietário (32 bits, legado) e o ID da mensagem, usado apenas para compatibilidade retroativa do Bot API com o ID do usuário de 32 bits.", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Acesse o hash da mensagem", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "dc_id", "id", "access_hash"], "additionalProperties": false}, "inputBotInlineMessageID64": {"title": "inputBotInlineMessageID64", "description": "Representa uma mensagem embutida enviada da perspectiva de um 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": "DC ID a ser usado ao trabalhar com esta mensagem embutida", "x-telegram-field-docs": true}, "owner_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do proprietário desta mensagem", "x-tl-type": "long", "x-telegram-field-docs": true}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Acesse o hash da mensagem", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "dc_id", "owner_id", "id", "access_hash"], "additionalProperties": false}, "inlineBotSwitchPM": {"title": "inlineBotSwitchPM", "description": "O bot solicitou que o usuário enviasse uma mensagem privada", "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 o botão que leva o usuário a um chat privado com o bot e envia ao bot uma mensagem inicial com o parâmetro `start_parameter` (pode estar vazio)", "x-telegram-field-docs": true}, "start_param": {"type": "string", "x-tl-type": "string", "description": "O parâmetro para `/start parameter`", "x-telegram-field-docs": true}}, "required": ["_", "text", "start_param"], "additionalProperties": false}, "messages.peerDialogs": {"title": "messages.peerDialogs", "description": "Informações de diálogo de vários 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: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "x-tl-flag": "flags.0?Vector<ForumTopic>"}, "dialogs": {"type": "array", "items": {"type": "object", "x-tl-type": "Dialog", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialog", "dialogFolder", "dialogCommunity"]}}, "description": "Tipo TL: Diálogo."}, "x-tl-type": "Vector<Dialog>", "description": "Informações da caixa de 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: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "Mensagens mencionadas nas informações da caixa de 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários", "x-telegram-field-docs": true}, "state": {"type": "object", "x-tl-type": "updates.State", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updates.state"]}}, "description": "Atual [atualizar estado da caixa de 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 mais usados", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryBotsPM"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryBotsPM"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryBotsInline": {"title": "topoPeerCategoryBotsInline", "description": "Bots inline mais usados", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryBotsInline"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryBotsInline"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryCorrespondents": {"title": "topPeerCategoryCorrespondentes", "description": "Usuários com quem conversamos com mais frequência", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryCorrespondents"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryCorrespondents"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryGroups": {"title": "topPeerCategoryGroups", "description": "Grupos e supergrupos frequentemente abertos", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryGroups"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryGroups"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryChannels": {"title": "topPeerCategoryCanais", "description": "Canais mais visitados", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryChannels"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryChannels"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryPhoneCalls": {"title": "topPeerCategoryPhoneCalls", "description": "Usuários chamados com mais frequência", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryPhoneCalls"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryPhoneCalls"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryForwardUsers": {"title": "topPeerCategoryForwardUsers", "description": "Usuários para os quais os usuários frequentemente encaminham mensagens", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryForwardUsers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryForwardUsers"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryForwardChats": {"title": "topoPeerCategoryForwardChats", "description": "Bate-papos para os quais os usuários frequentemente encaminham mensagens", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryForwardChats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryForwardChats"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryBotsApp": {"title": "topPeerCategoryBotsApp", "description": "Mais frequentemente usados [Principais Mini Bot Apps](https://core.telegram.org/api/bots/webapps.md#main-mini-apps).", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryBotsApp"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryBotsApp"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryBotsGuestChat": {"title": "topPeerCategoryBotsGuestChat", "description": "Principais [bots convidados »](https://core.telegram.org/api/bots/guest-mode.md), i.e. bots invocados com mais frequência como convidados em bate-papos.", "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 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 TL: TopPeer."}, "x-tl-type": "Vector<TopPeer>"}}, "required": ["_", "category", "count", "peers"], "additionalProperties": false}, "contacts.topPeersNotModified": {"title": "contacts.topPeersNotModified", "description": "As informações dos principais pares não mudaram", "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": "Melhores pares", "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 TL: TopPeerCategoryPeers."}, "x-tl-type": "Vector<TopPeerCategoryPeers>", "description": "Principais pares por categoria de pares principais", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários", "x-telegram-field-docs": true}}, "required": ["_", "categories", "chats", "users"], "additionalProperties": false}, "contacts.topPeersDisabled": {"title": "contacts.topPeersDisabled", "description": "Principais pares desativados", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.topPeersDisabled"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.topPeersDisabled"]}}, "required": ["_"], "additionalProperties": false}, "draftMessageEmpty": {"title": "rascunhoMessageEmpty", "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": "rascunhoMensagem", "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 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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>"}, "media": {"type": "object", "x-tl-type": "InputMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputMediaEmpty", "inputMediaUploadedPhoto", "inputMediaPhoto", "inputMediaGeoPoint", "inputMediaContact", "inputMediaUploadedDocument", "inputMediaDocument", "inputMediaVenue", "inputMediaPhotoExternal", "inputMediaDocumentExternal", "inputMediaGame", "inputMediaInvoice", "inputMediaGeoLive", "inputMediaPoll", "inputMediaDice", "inputMediaStory", "inputMediaWebPage", "inputMediaPaidMedia", "inputMediaTodo", "inputMediaStakeDice", "inputMediaWidget", "inputMediaWidgetId"]}}, "description": "Tipo TL: InputMedia.", "x-tl-flag": "flags.5?InputMedia"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.7?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["suggestedPost"]}}, "description": "Tipo TL: Post sugerido.", "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": "Os adesivos em destaque não mudaram", "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 adesivos em destaque", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "messages.featuredStickers": {"title": "messages.featuredStickers", "description": "Conjuntos de adesivos em destaque", "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": "Se este é um conjunto de adesivos premium", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](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 adesivos em destaque", "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: StickerSetCovered."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Conjuntos de adesivos em destaque", "x-telegram-field-docs": true}, "unread": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "IDs de novos conjuntos de adesivos em destaque", "x-telegram-field-docs": true}}, "required": ["_", "hash", "count", "sets", "unread"], "additionalProperties": false}, "messages.recentStickersNotModified": {"title": "messages.recentStickersNotModified", "description": "Nenhum novo adesivo recente foi encontrado", "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": "Adesivos usados recentemente", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.recentStickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.recentStickers"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](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: Pacote de adesivos."}, "x-tl-type": "Vector<StickerPack>", "description": "Emojis associados a adesivos", "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": "Adesivos recentes", "x-telegram-field-docs": true}, "dates": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Quando cada adesivo foi usado pela última vez", "x-telegram-field-docs": true}}, "required": ["_", "hash", "packs", "stickers", "dates"], "additionalProperties": false}, "messages.archivedStickers": {"title": "messages.archivedStickers", "description": "Conjuntos de adesivos arquivados", "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 adesivos arquivados", "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: StickerSetCovered."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Conjuntos de adesivos arquivados", "x-telegram-field-docs": true}}, "required": ["_", "count", "sets"], "additionalProperties": false}, "messages.stickerSetInstallResultSuccess": {"title": "messages.stickerSetInstallResultSuccess", "description": "O conjunto de adesivos foi instalado com sucesso", "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": "O conjunto de adesivos foi instalado, mas como há muitos conjuntos de adesivos, alguns foram arquivados", "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: StickerSetCovered."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Conjuntos de adesivos arquivados", "x-telegram-field-docs": true}}, "required": ["_", "sets"], "additionalProperties": false}, "stickerSetCovered": {"title": "adesivoSetCovered", "description": "Conjunto de adesivos com um único adesivo como visualização", "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 adesivos", "x-telegram-field-docs": true}, "cover": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Visualização", "x-telegram-field-docs": true}}, "required": ["_", "set", "cover"], "additionalProperties": false}, "stickerSetMultiCovered": {"title": "adesivoSetMultiCovered", "description": "Conjunto de adesivos, com vários adesivos como visualização", "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 adesivos", "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": "Visualizar adesivos", "x-telegram-field-docs": true}}, "required": ["_", "set", "covers"], "additionalProperties": false}, "stickerSetFullCovered": {"title": "adesivoSetFullCovered", "description": "Visualização do conjunto de adesivos com todos os adesivos do conjunto de adesivos incluídos.\nAtualmente usado apenas para [conjuntos de adesivos emoji personalizados](https://core.telegram.org/api/custom-emoji.md), para evitar novas chamadas para [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 adesivos", "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: Pacote de adesivos."}, "x-tl-type": "Vector<StickerPack>", "description": "Informações de emoji sobre cada adesivo do conjunto de adesivos", "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: StickerKeyword."}, "x-tl-type": "Vector<StickerKeyword>", "description": "Palavras-chave para alguns ou todos os adesivos do conjunto de adesivos.", "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": "Adesivos", "x-telegram-field-docs": true}}, "required": ["_", "set", "packs", "keywords", "documents"], "additionalProperties": false}, "stickerSetNoCovered": {"title": "adesivoSetNoCovered", "description": "Apenas as informações do conjunto de adesivos, sem prévias.", "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": "Informações do conjunto de adesivos.", "x-telegram-field-docs": true}}, "required": ["_", "set"], "additionalProperties": false}, "maskCoords": {"title": "máscaraCoords", "description": "Posicione em uma foto onde uma máscara deve ser colocada ao [anexar adesivos à mídia »](https://core.telegram.org/api/stickers.md#attached-stickers)\n\nA posição `n` indica onde a máscara deve ser colocada:\n\n- 0 => Em relação à testa\n- 1 => Em relação aos olhos\n- 2 => Em relação à boca\n- 3 => Em relação ao queixo", "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 do rosto em relação à qual a máscara deve ser colocada", "x-telegram-field-docs": true}, "x": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Deslocamento no eixo X medido em larguras da máscara dimensionadas de acordo com o tamanho do rosto, da esquerda para a direita. (Por exemplo, -1.0 colocará a máscara logo à esquerda da posição padrão da máscara)", "x-telegram-field-docs": true}, "y": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Deslocamento pelo eixo Y medido em larguras da máscara dimensionadas de acordo com o tamanho do rosto, da esquerda para a direita. (Por exemplo, -1.0 colocará a máscara logo abaixo da posição padrão da máscara)", "x-telegram-field-docs": true}, "zoom": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Coeficiente de escala de máscara. (Por exemplo, 2,0 significa um tamanho duplicado)", "x-telegram-field-docs": true}}, "required": ["_", "n", "x", "y", "zoom"], "additionalProperties": false}, "inputStickeredMediaPhoto": {"title": "inputStickeredMediaFoto", "description": "Uma foto com adesivos anexados", "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": "A foto", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputStickeredMediaDocument": {"title": "inputStickeredMediaDocument", "description": "Um documento com adesivos anexados", "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": "O documento", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "game": {"title": "jogo", "type": "object", "properties": {"_": {"type": "string", "enum": ["game"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "short_name": {"type": "string", "x-tl-type": "string"}, "title": {"type": "string", "x-tl-type": "string"}, "description": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "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-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputGameShortName": {"title": "inputGameShortName", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGameShortName"]}, "bot_id": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "Tipo TL: InputUser."}, "short_name": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "bot_id", "short_name"], "additionalProperties": false}, "highScore": {"title": "pontuação máxima", "type": "object", "properties": {"_": {"type": "string", "enum": ["highScore"]}, "pos": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "score": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "pos", "user_id", "score"], "additionalProperties": false}, "messages.highScores": {"title": "messages.highScores", "description": "Recordes em um jogo", "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 TL: HighScore."}, "x-tl-type": "Vector<HighScore>", "description": "Recordes", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários, associados aos recordes", "x-telegram-field-docs": true}}, "required": ["_", "scores", "users"], "additionalProperties": false}, "textEmpty": {"title": "textoVazio", "type": "object", "properties": {"_": {"type": "string", "enum": ["textEmpty"]}}, "required": ["_"], "additionalProperties": false}, "textPlain": {"title": "texto simples", "type": "object", "properties": {"_": {"type": "string", "enum": ["textPlain"]}, "text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text"], "additionalProperties": false}, "textBold": {"title": "texto em negrito", "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 TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textItalic": {"title": "texto em itálico", "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 TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textUnderline": {"title": "textoSublinhado", "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 TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textStrike": {"title": "textoStrike", "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 TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textFixed": {"title": "texto fixo", "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 TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textUrl": {"title": "textUrl", "type": "object", "properties": {"_": {"type": "string", "enum": ["textUrl"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}, "url": {"type": "string", "x-tl-type": "string"}, "webpage_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "text", "url", "webpage_id"], "additionalProperties": false}, "textEmail": {"title": "textoE-mail", "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 TL: RichText."}, "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 TL: RichText."}, "x-tl-type": "Vector<RichText>"}}, "required": ["_", "texts"], "additionalProperties": false}, "textSubscript": {"title": "textoSubscrito", "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 TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textSuperscript": {"title": "textoSobrescrito", "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 TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textMarked": {"title": "texto marcado", "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 TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textPhone": {"title": "telefone de texto", "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 TL: RichText."}, "phone": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text", "phone"], "additionalProperties": false}, "textImage": {"title": "imagem de texto", "type": "object", "properties": {"_": {"type": "string", "enum": ["textImage"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "document_id", "w", "h"], "additionalProperties": false}, "textAnchor": {"title": "textoÂncora", "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 TL: RichText."}, "name": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text", "name"], "additionalProperties": false}, "textMath": {"title": "textMath", "type": "object", "properties": {"_": {"type": "string", "enum": ["textMath"]}, "source": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "source"], "additionalProperties": false}, "textCustomEmoji": {"title": "textCustomEmoji", "type": "object", "properties": {"_": {"type": "string", "enum": ["textCustomEmoji"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "alt": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "document_id", "alt"], "additionalProperties": false}, "textSpoiler": {"title": "textSpoiler", "type": "object", "properties": {"_": {"type": "string", "enum": ["textSpoiler"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textMention": {"title": "textMention", "type": "object", "properties": {"_": {"type": "string", "enum": ["textMention"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textHashtag": {"title": "textHashtag", "type": "object", "properties": {"_": {"type": "string", "enum": ["textHashtag"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textBotCommand": {"title": "textBotCommand", "type": "object", "properties": {"_": {"type": "string", "enum": ["textBotCommand"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textCashtag": {"title": "textCashtag", "type": "object", "properties": {"_": {"type": "string", "enum": ["textCashtag"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textAutoUrl": {"title": "textAutoUrl", "type": "object", "properties": {"_": {"type": "string", "enum": ["textAutoUrl"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textAutoEmail": {"title": "textAutoEmail", "type": "object", "properties": {"_": {"type": "string", "enum": ["textAutoEmail"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textAutoPhone": {"title": "textAutoPhone", "type": "object", "properties": {"_": {"type": "string", "enum": ["textAutoPhone"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textBankCard": {"title": "textBankCard", "type": "object", "properties": {"_": {"type": "string", "enum": ["textBankCard"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textMentionName": {"title": "textMentionName", "type": "object", "properties": {"_": {"type": "string", "enum": ["textMentionName"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "text", "user_id"], "additionalProperties": false}, "textDate": {"title": "textDate", "type": "object", "properties": {"_": {"type": "string", "enum": ["textDate"]}, "relative": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "short_time": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "long_time": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "short_date": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "long_date": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "day_of_week": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "text", "date"], "additionalProperties": false}, "textDiff": {"title": "textDiff", "type": "object", "properties": {"_": {"type": "string", "enum": ["textDiff"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}, "old_text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text", "old_text"], "additionalProperties": false}, "textButton": {"title": "textButton", "type": "object", "properties": {"_": {"type": "string", "enum": ["textButton"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}, "type": {"type": "object", "x-tl-type": "InlineButtonType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeUrl", "inlineButtonTypeUrlAuth", "inputInlineButtonTypeUrlAuth", "inlineButtonTypeWebView", "inlineButtonTypeCallback", "inlineButtonTypeGame", "inlineButtonTypeBuy", "inlineButtonTypeSwitchInline", "inlineButtonTypeUserProfile", "inputInlineButtonTypeUserProfile", "inlineButtonTypeCopy", "inlineButtonTypeDisabled"]}}, "description": "Тип TL: InlineButtonType."}, "style": {"type": "object", "x-tl-type": "RichButtonStyle", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["richButtonStyle"]}}, "description": "Тип TL: RichButtonStyle.", "x-tl-flag": "flags.0?RichButtonStyle"}}, "required": ["_", "text", "type"], "additionalProperties": false}, "textTonAddress": {"title": "textTonAddress", "type": "object", "properties": {"_": {"type": "string", "enum": ["textTonAddress"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockUnsupported": {"title": "pageBlockUnsupported", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported"]}}, "required": ["_"], "additionalProperties": false}, "pageBlockTitle": {"title": "pageBlockTitle", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockTitle"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockSubtitle": {"title": "pageBlockSubtitle", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockSubtitle"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockAuthorDate": {"title": "pageBlockAuthorDate", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockAuthorDate"]}, "author": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}, "published_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "author", "published_date"], "additionalProperties": false}, "pageBlockHeader": {"title": "pageBlockHeader", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockHeader"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockSubheader": {"title": "pageBlockSubheader", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockSubheader"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockParagraph": {"title": "pageBlockParagraph", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockParagraph"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockPreformatted": {"title": "pageBlockPré-formatado", "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 TL: RichText."}, "language": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text", "language"], "additionalProperties": false}, "pageBlockFooter": {"title": "pageBlockFooter", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockFooter"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockDivider": {"title": "pageBlockDivider", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockDivider"]}}, "required": ["_"], "additionalProperties": false}, "pageBlockAnchor": {"title": "páginaBlockAnchor", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockAnchor"]}, "name": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "name"], "additionalProperties": false}, "pageBlockList": {"title": "páginaBlockList", "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 TL: PageListItem."}, "x-tl-type": "Vector<PageListItem>"}}, "required": ["_", "items"], "additionalProperties": false}, "pageBlockBlockquote": {"title": "páginaBlockBlockquote", "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 TL: RichText."}, "caption": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text", "caption"], "additionalProperties": false}, "pageBlockPullquote": {"title": "páginaBlockPullquote", "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 TL: RichText."}, "caption": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text", "caption"], "additionalProperties": false}, "pageBlockPhoto": {"title": "páginaBlocoFoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockPhoto"]}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo TL: PageCaption."}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "webpage_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "photo_id", "caption"], "additionalProperties": false}, "pageBlockVideo": {"title": "páginaBlockVideo", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockVideo"]}, "autoplay": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "loop": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "video_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo TL: PageCaption."}}, "required": ["_", "video_id", "caption"], "additionalProperties": false}, "pageBlockCover": {"title": "páginaBlockCover", "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: PageBlock."}}, "required": ["_", "cover"], "additionalProperties": false}, "pageBlockEmbed": {"title": "pageBlockEmbed", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockEmbed"]}, "full_width": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "allow_scrolling": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "html": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "poster_photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo TL: PageCaption."}}, "required": ["_", "caption"], "additionalProperties": false}, "pageBlockEmbedPost": {"title": "pageBlockEmbedPost", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockEmbedPost"]}, "url": {"type": "string", "x-tl-type": "string"}, "webpage_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "author_photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "author": {"type": "string", "x-tl-type": "string"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Tipo TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo TL: PageCaption."}}, "required": ["_", "url", "webpage_id", "author_photo_id", "author", "date", "blocks", "caption"], "additionalProperties": false}, "pageBlockCollage": {"title": "pageBlockCollage", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockCollage"]}, "items": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Tipo TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo TL: PageCaption."}}, "required": ["_", "items", "caption"], "additionalProperties": false}, "pageBlockSlideshow": {"title": "pageBlockSlideshow", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockSlideshow"]}, "items": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Tipo TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo TL: PageCaption."}}, "required": ["_", "items", "caption"], "additionalProperties": false}, "pageBlockChannel": {"title": "pageBlockChannel", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockChannel"]}, "channel": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Tipo TL: Bate-papo."}}, "required": ["_", "channel"], "additionalProperties": false}, "pageBlockAudio": {"title": "páginaBlockÁudio", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockAudio"]}, "audio_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo TL: PageCaption."}}, "required": ["_", "audio_id", "caption"], "additionalProperties": false}, "pageBlockKicker": {"title": "pageBlockKicker", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockKicker"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockTable": {"title": "páginaBlockTable", "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 TL: RichText."}, "rows": {"type": "array", "items": {"type": "object", "x-tl-type": "PageTableRow", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageTableRow"]}}, "description": "Tipo TL: PageTableRow."}, "x-tl-type": "Vector<PageTableRow>"}}, "required": ["_", "title", "rows"], "additionalProperties": false}, "pageBlockOrderedList": {"title": "pageBlockOrderedList", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockOrderedList"]}, "reversed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "items": {"type": "array", "items": {"type": "object", "x-tl-type": "PageListOrderedItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageListOrderedItemText", "pageListOrderedItemBlocks"]}}, "description": "Tipo TL: PageListOrderedItem."}, "x-tl-type": "Vector<PageListOrderedItem>"}, "start": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "type": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "items"], "additionalProperties": false}, "pageBlockDetails": {"title": "pageBlockDetails", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockDetails"]}, "open": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Tipo TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "title": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "blocks", "title"], "additionalProperties": false}, "pageBlockRelatedArticles": {"title": "pageBlockRelatedArtigos", "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 TL: RichText."}, "articles": {"type": "array", "items": {"type": "object", "x-tl-type": "PageRelatedArticle", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageRelatedArticle"]}}, "description": "Tipo TL: PageRelatedArticle."}, "x-tl-type": "Vector<PageRelatedArticle>"}}, "required": ["_", "title", "articles"], "additionalProperties": false}, "pageBlockMap": {"title": "pageBlockMap", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockMap"]}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "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 TL: PageCaption."}}, "required": ["_", "geo", "zoom", "w", "h", "caption"], "additionalProperties": false}, "pageBlockHeading1": {"title": "pageBlockHeading1", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockHeading1"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockHeading2": {"title": "pageBlockHeading2", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockHeading2"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockHeading3": {"title": "pageBlockHeading3", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockHeading3"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockHeading4": {"title": "pageBlockHeading4", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockHeading4"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockHeading5": {"title": "pageBlockHeading5", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockHeading5"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockHeading6": {"title": "pageBlockHeading6", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockHeading6"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockMath": {"title": "pageBlockMath", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockMath"]}, "source": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "source"], "additionalProperties": false}, "pageBlockThinking": {"title": "pageBlockThinking", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockThinking"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "inputPageBlockMap": {"title": "inputPageBlockMap", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPageBlockMap"]}, "geo": {"type": "object", "x-tl-type": "InputGeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGeoPointEmpty", "inputGeoPoint"]}}, "description": "Tipo 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 TL: PageCaption."}}, "required": ["_", "geo", "zoom", "w", "h", "caption"], "additionalProperties": false}, "pageBlockBlockquoteBlocks": {"title": "pageBlockBlockquoteBlocks", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockBlockquoteBlocks"]}, "collapsed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Tipo TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "caption": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "blocks", "caption"], "additionalProperties": false}, "pageBlockButtonRow": {"title": "pageBlockButtonRow", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockButtonRow"]}, "align_left": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "align_center": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "align_right": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "buttons": {"type": "array", "items": {"type": "object", "x-tl-type": "PageButton", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageButton"]}}, "description": "Тип TL: PageButton."}, "x-tl-type": "Vector<PageButton>"}}, "required": ["_", "buttons"], "additionalProperties": false}, "pageBlockDocument": {"title": "pageBlockDocument", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockDocument"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo TL: PageCaption."}}, "required": ["_", "document_id", "caption"], "additionalProperties": false}, "phoneCallDiscardReasonMissed": {"title": "phoneCallDiscardReasonMissed", "description": "A ligação foi perdida, veja [aqui »](https://core.telegram.org/api/calls.md) para mais informações.", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallDiscardReasonMissed"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonMissed"]}}, "required": ["_"], "additionalProperties": false}, "phoneCallDiscardReasonDisconnect": {"title": "phoneCallDiscardReasonDisconnect", "description": "A ligação foi desconectada, veja [aqui »](https://core.telegram.org/api/calls.md) para mais informações.", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallDiscardReasonDisconnect"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonDisconnect"]}}, "required": ["_"], "additionalProperties": false}, "phoneCallDiscardReasonHangup": {"title": "phoneCallDiscardReasonHangup", "description": "A ligação foi encerrada normalmente, veja [aqui »](https://core.telegram.org/api/calls.md) para mais informações.", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallDiscardReasonHangup"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonHangup"]}}, "required": ["_"], "additionalProperties": false}, "phoneCallDiscardReasonBusy": {"title": "phoneCallDiscardReasonBusy", "description": "A chamada foi descartada porque o usuário está ocupado em outra chamada, veja [aqui »](https://core.telegram.org/api/calls.md) para mais informações.", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallDiscardReasonBusy"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonBusy"]}}, "required": ["_"], "additionalProperties": false}, "phoneCallDiscardReasonMigrateConferenceCall": {"title": "phoneCallDiscardReasonMigrateConferenceCall", "description": "Esta chamada foi migrada para uma [chamada em conferência](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": "[Link da conferência »](https://core.telegram.org/api/links.md#conference-links) slug.", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "dataJSON": {"title": "dadosJSON", "description": "Representa um objeto codificado em json", "externalDocs": {"url": "https://core.telegram.org/constructor/dataJSON"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["dataJSON"]}, "data": {"type": "string", "x-tl-type": "string", "description": "Objeto codificado em JSON", "x-telegram-field-docs": true}}, "required": ["_", "data"], "additionalProperties": false}, "labeledPrice": {"title": "rotuladoPreço", "type": "object", "properties": {"_": {"type": "string", "enum": ["labeledPrice"]}, "label": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "label", "amount"], "additionalProperties": false}, "invoice": {"title": "fatura", "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: LabeledPrice."}, "x-tl-type": "Vector<LabeledPrice>"}, "max_tip_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.8?long"}, "suggested_tip_amounts": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.8?Vector<long>"}, "terms_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.10?string"}, "subscription_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.11?int"}}, "required": ["_", "currency", "prices"], "additionalProperties": false}, "paymentCharge": {"title": "cobrança de pagamento", "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": "endereço 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": "pagamentoRequestedInfo", "description": "Informações do pedido fornecidas pelo usuário", "externalDocs": {"url": "https://core.telegram.org/constructor/paymentRequestedInfo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["paymentRequestedInfo"]}, "name": {"type": "string", "x-tl-type": "string", "description": "Nome completo do usuário", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "phone": {"type": "string", "x-tl-type": "string", "description": "Número de telefone do usuário", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "email": {"type": "string", "x-tl-type": "string", "description": "Endereço de e-mail do usuário", "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": "Endereço de entrega do usuário", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?PostAddress"}}, "required": ["_"], "additionalProperties": false}, "paymentSavedCredentialsCard": {"title": "pagamentoSavedCredentialsCartão", "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": "webDocumento", "type": "object", "properties": {"_": {"type": "string", "enum": ["webDocument"]}, "url": {"type": "string", "x-tl-type": "string"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "size": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "mime_type": {"type": "string", "x-tl-type": "string"}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "DocumentAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentAttributeImageSize", "documentAttributeAnimated", "documentAttributeSticker", "documentAttributeVideo", "documentAttributeAudio", "documentAttributeFilename", "documentAttributeHasStickers", "documentAttributeCustomEmoji"]}}, "description": "Tipo TL: DocumentAttribute."}, "x-tl-type": "Vector<DocumentAttribute>"}}, "required": ["_", "url", "access_hash", "size", "mime_type", "attributes"], "additionalProperties": false}, "webDocumentNoProxy": {"title": "webDocumentNoProxy", "type": "object", "properties": {"_": {"type": "string", "enum": ["webDocumentNoProxy"]}, "url": {"type": "string", "x-tl-type": "string"}, "size": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "mime_type": {"type": "string", "x-tl-type": "string"}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "DocumentAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentAttributeImageSize", "documentAttributeAnimated", "documentAttributeSticker", "documentAttributeVideo", "documentAttributeAudio", "documentAttributeFilename", "documentAttributeHasStickers", "documentAttributeCustomEmoji"]}}, "description": "Tipo TL: DocumentAttribute."}, "x-tl-type": "Vector<DocumentAttribute>"}}, "required": ["_", "url", "size", "mime_type", "attributes"], "additionalProperties": false}, "inputWebDocument": {"title": "inputWebDocument", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputWebDocument"]}, "url": {"type": "string", "x-tl-type": "string"}, "size": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "mime_type": {"type": "string", "x-tl-type": "string"}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "DocumentAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentAttributeImageSize", "documentAttributeAnimated", "documentAttributeSticker", "documentAttributeVideo", "documentAttributeAudio", "documentAttributeFilename", "documentAttributeHasStickers", "documentAttributeCustomEmoji"]}}, "description": "Tipo TL: DocumentAttribute."}, "x-tl-type": "Vector<DocumentAttribute>"}}, "required": ["_", "url", "size", "mime_type", "attributes"], "additionalProperties": false}, "inputWebFileLocation": {"title": "inputWebFileLocation", "description": "Localização de um arquivo 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 do arquivo", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acesso", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "url", "access_hash"], "additionalProperties": false}, "inputWebFileGeoPointLocation": {"title": "inputWebFileGeoPointLocation", "description": "Usado para baixar uma imagem gerada pelo servidor com a visualização do mapa de um [geoPoint](https://core.telegram.org/constructor/geoPoint.md), consulte os [documentos do webfile para mais informações »](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": "Gerado a partir dos parâmetros `lat`, `long` e `accuracy_radius` do [geoPoint](https://core.telegram.org/constructor/geoPoint.md)", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acesso do [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": "Largura do mapa em pixels antes de aplicar a escala; 16-1024", "x-telegram-field-docs": true}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Altura do mapa em pixels antes de aplicar a escala; 16-1024", "x-telegram-field-docs": true}, "zoom": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nível de zoom do mapa; 13-20", "x-telegram-field-docs": true}, "scale": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Escala do mapa; 1-3", "x-telegram-field-docs": true}}, "required": ["_", "geo_point", "access_hash", "w", "h", "zoom", "scale"], "additionalProperties": false}, "inputWebFileAudioAlbumThumbLocation": {"title": "inputWebFileAudioAlbumThumbLocation", "description": "Usado para baixar a capa de um álbum para qualquer arquivo de música usando [upload.getWebFile](https://core.telegram.org/method/upload.getWebFile.md), consulte a [documentação do webfile para obter mais informações »](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": "Usado para retornar uma miniatura com resolução `100x100` (em vez do padrão `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": "O arquivo de áudio em questão: deve ser fornecido NOT em chats secretos, forneça os campos `title` e `performer`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputDocument"}, "title": {"type": "string", "x-tl-type": "string", "description": "Título da música: só deve ser usado em chats secretos; em chats normais, forneça `document`, pois tem limites de taxa mais flexíveis.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "performer": {"type": "string", "x-tl-type": "string", "description": "Intérprete de música: só deve ser usado em chats secretos; em chats normais, forneça `document`, pois tem limites de taxa mais flexíveis.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}}, "required": ["_"], "additionalProperties": false}, "upload.webFile": {"title": "upload.webFile", "description": "Representa um pedaço de um [HTTP webfile](https://core.telegram.org/api/files.md) baixado através dos servidores MTProto seguros do telegrama", "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": "Tamanho do arquivo", "x-telegram-field-docs": true}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "Tipo Mime", "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 arquivo", "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": "Dados", "x-telegram-field-docs": true}}, "required": ["_", "size", "mime_type", "file_type", "mtime", "bytes"], "additionalProperties": false}, "payments.paymentForm": {"title": "payments.paymentForm", "description": "Formulário de pagamento", "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": "Se o usuário pode optar por salvar credenciais.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "password_missing": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Indica que o usuário pode salvar credenciais de pagamento, mas somente após configurar uma [senha 2FA](https://core.telegram.org/api/srp.md) (atualmente a conta não possui uma [senha 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 do formulário", "x-tl-type": "long", "x-telegram-field-docs": true}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do bot", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Título do formulário", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Descrição", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Foto do produto", "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": "Fatura", "x-telegram-field-docs": true}, "provider_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do provedor de pagamento.", "x-tl-type": "long", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "Formulário de pagamento URL", "x-telegram-field-docs": true}, "native_provider": {"type": "string", "x-tl-type": "string", "description": "Nome do provedor de pagamento. Um dos seguintes: - `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": "Contém informações sobre o provedor de pagamento, se disponível, para suportá-lo nativamente sem a necessidade de abrir o URL. Um objeto JSON que pode conter os seguintes campos: - `apple_pay_merchant_id`: ID do comerciante Apple Pay - `google_pay_public_key`: chave pública do Google Pay - `need_country`: Verdadeiro, se o país do usuário deve ser fornecido, - `need_zip`: Verdadeiro, se o usuário ZIP/código postal deve ser fornecido, - `need_cardholder_name`: Verdadeiro, se o nome do titular do cartão deve ser fornecido\\", "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 TL: PaymentFormMethod."}, "x-tl-type": "Vector<PaymentFormMethod>", "description": "Métodos de pagamento adicionais", "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": "Informações de pedidos salvas no 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 TL: PaymentSavedCredentials."}, "x-tl-type": "Vector<PaymentSavedCredentials>", "description": "Contém informações sobre credenciais de cartão salvas", "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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários", "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 um formulário de pagamento, para pagamentos usando [Telegram Stars, veja aqui »](https://core.telegram.org/api/stars.md) para mais informações.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.paymentFormStars"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.paymentFormStars"]}, "form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do formulário.", "x-tl-type": "long", "x-telegram-field-docs": true}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do bot.", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Título do formulário", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Descrição", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Foto do produto", "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": "Fatura", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações sobre usuários mencionados nos demais campos.", "x-telegram-field-docs": true}}, "required": ["_", "form_id", "bot_id", "title", "description", "invoice", "users"], "additionalProperties": false}, "payments.paymentFormStarGift": {"title": "payments.paymentFormStarGift", "description": "Representa um formulário de pagamento para um [presente, veja aqui »](https://core.telegram.org/api/gifts.md) para mais informações.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.paymentFormStarGift"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.paymentFormStarGift"]}, "form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do formulário.", "x-tl-type": "long", "x-telegram-field-docs": true}, "invoice": {"type": "object", "x-tl-type": "Invoice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["invoice"]}}, "description": "Fatura", "x-telegram-field-docs": true}}, "required": ["_", "form_id", "invoice"], "additionalProperties": false}, "payments.validatedRequestedInfo": {"title": "payments.validatedRequestedInfo", "description": "Informações validadas fornecidas pelo usuário", "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": "ID", "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: Opção de envio."}, "x-tl-type": "Vector<ShippingOption>", "description": "Opções de envio", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<ShippingOption>"}}, "required": ["_"], "additionalProperties": false}, "payments.paymentResult": {"title": "payments.paymentResult", "description": "Resultado do pagamento", "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": "Informações sobre o pagamento", "x-telegram-field-docs": true}}, "required": ["_", "updates"], "additionalProperties": false}, "payments.paymentVerificationNeeded": {"title": "payments.paymentVerificationNeeded", "description": "O pagamento não foi bem sucedido, é necessária uma verificação 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 verificação adicional de credenciais de pagamento", "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": "Data de geração", "x-telegram-field-docs": true}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do bot", "x-tl-type": "long", "x-telegram-field-docs": true}, "provider_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do provedor", "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": "Descrição", "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": "Fatura", "x-telegram-field-docs": true}, "info": {"type": "object", "x-tl-type": "PaymentRequestedInfo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paymentRequestedInfo"]}}, "description": "Informações", "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": "Opção de envio selecionada", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?ShippingOption"}, "tip_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Valor da gorjeta", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?long"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Valor total nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após a vírgula decimal para cada moeda (2 para a maioria das moedas).", "x-tl-type": "long", "x-telegram-field-docs": true}, "credentials_title": {"type": "string", "x-tl-type": "string", "description": "Nome da credencial de pagamento", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários", "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 [pagamento realizado com 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": "Data de geração", "x-telegram-field-docs": true}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do bot", "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": "Descrição", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Foto do produto", "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": "Fatura", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Moeda, sempre `XTR`.", "x-telegram-field-docs": true}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Quantidade de [Estrelas do Telegram](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 da transação", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações sobre usuários mencionados nos demais 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": "Informações de pedidos salvas no 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": "Se o usuário possui algumas credenciais de pagamento salvas", "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": "Informações de pedidos salvas no servidor", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?PaymentRequestedInfo"}}, "required": ["_"], "additionalProperties": false}, "inputPaymentCredentialsSaved": {"title": "inputPaymentCredentialsSalvo", "description": "Credenciais de pagamento salvas", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPaymentCredentialsSaved"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPaymentCredentialsSaved"]}, "id": {"type": "string", "x-tl-type": "string", "description": "ID da credencial", "x-telegram-field-docs": true}, "tmp_password": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Senha temporária", "x-telegram-field-docs": true}}, "required": ["_", "id", "tmp_password"], "additionalProperties": false}, "inputPaymentCredentials": {"title": "inputPaymentCredentials", "description": "Credenciais de pagamento", "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": "Salve a credencial de pagamento 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": "Credenciais de pagamento", "x-telegram-field-docs": true}}, "required": ["_", "data"], "additionalProperties": false}, "inputPaymentCredentialsApplePay": {"title": "inputPaymentCredentialsApplePay", "description": "Credenciais de pagamento de pagamento da Apple", "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": "Dados de pagamento", "x-telegram-field-docs": true}}, "required": ["_", "payment_data"], "additionalProperties": false}, "inputPaymentCredentialsGooglePay": {"title": "inputPaymentCredenciaisGooglePay", "description": "Credenciais de pagamento do 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": "Token de pagamento", "x-telegram-field-docs": true}}, "required": ["_", "payment_token"], "additionalProperties": false}, "account.tmpPassword": {"title": "account.tmpPassword", "description": "Senha de pagamento temporária", "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": "Senha temporária", "x-telegram-field-docs": true}, "valid_until": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Período de validade", "x-telegram-field-docs": true}}, "required": ["_", "tmp_password", "valid_until"], "additionalProperties": false}, "shippingOption": {"title": "opção de envio", "description": "Opção de envio", "externalDocs": {"url": "https://core.telegram.org/constructor/shippingOption"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["shippingOption"]}, "id": {"type": "string", "x-tl-type": "string", "description": "ID da opção", "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: LabeledPrice."}, "x-tl-type": "Vector<LabeledPrice>", "description": "Lista de porções de preço", "x-telegram-field-docs": true}}, "required": ["_", "id", "title", "prices"], "additionalProperties": false}, "inputStickerSetItem": {"title": "entradaStickerSetItem", "description": "Adesivo em um conjunto de adesivos", "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": "O adesivo", "x-telegram-field-docs": true}, "emoji": {"type": "string", "x-tl-type": "string", "description": "Emoji associado", "x-telegram-field-docs": true}, "mask_coords": {"type": "object", "x-tl-type": "MaskCoords", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["maskCoords"]}}, "description": "Coordenadas para adesivo de máscara", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?MaskCoords"}, "keywords": {"type": "string", "x-tl-type": "string", "description": "Conjunto de palavras-chave, separadas por vírgulas (não pode ser fornecido para adesivos de máscara)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}}, "required": ["_", "document", "emoji"], "additionalProperties": false}, "inputPhoneCall": {"title": "entradaPhoneCall", "description": "Identifica uma [ligação 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 chamada", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acesso", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "phoneCallEmpty": {"title": "telefoneCallEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id"], "additionalProperties": false}, "phoneCallWaiting": {"title": "telefoneCallWaiting", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallWaiting"]}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallProtocol"]}}, "description": "Tipo 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": "chamada telefônica solicitada", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallRequested"]}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "g_a_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallProtocol"]}}, "description": "Tipo TL: PhoneCallProtocol."}}, "required": ["_", "id", "access_hash", "date", "admin_id", "participant_id", "g_a_hash", "protocol"], "additionalProperties": false}, "phoneCallAccepted": {"title": "chamada telefônica aceita", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallAccepted"]}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "g_b": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallProtocol"]}}, "description": "Tipo TL: PhoneCallProtocol."}}, "required": ["_", "id", "access_hash", "date", "admin_id", "participant_id", "g_b", "protocol"], "additionalProperties": false}, "phoneCall": {"title": "telefoneLigar", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCall"]}, "p2p_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "conference_supported": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "g_a_or_b": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "key_fingerprint": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallProtocol"]}}, "description": "Tipo TL: PhoneCallProtocol."}, "connections": {"type": "array", "items": {"type": "object", "x-tl-type": "PhoneConnection", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneConnection", "phoneConnectionWebrtc"]}}, "description": "Tipo TL: Conexão 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 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": "chamada telefônica descartada", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscarded"]}, "need_rating": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "need_debug": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "reason": {"type": "object", "x-tl-type": "PhoneCallDiscardReason", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy", "phoneCallDiscardReasonMigrateConferenceCall"]}}, "description": "Tipo 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": "conexão telefônica", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneConnection"]}, "tcp": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "ip": {"type": "string", "x-tl-type": "string"}, "ipv6": {"type": "string", "x-tl-type": "string"}, "port": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peer_tag": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "id", "ip", "ipv6", "port", "peer_tag"], "additionalProperties": false}, "phoneConnectionWebrtc": {"title": "telefoneConnectionWebrtc", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneConnectionWebrtc"]}, "turn": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "stun": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "ip": {"type": "string", "x-tl-type": "string"}, "ipv6": {"type": "string", "x-tl-type": "string"}, "port": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "username": {"type": "string", "x-tl-type": "string"}, "password": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "id", "ip", "ipv6", "port", "username", "password"], "additionalProperties": false}, "phoneCallProtocol": {"title": "protocolo de chamada telefônica", "description": "Informações de protocolo para a biblioteca VoIP, consulte [aqui »](https://core.telegram.org/api/calls.md#populating-phonecallprotocol) para obter detalhes sobre como preenchê-la.", "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": "Se deve permitir a conexão P2P com o outro participante", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "udp_reflector": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se deve ser permitida a conexão com outros participantes através dos servidores refletores", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "min_layer": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Camada mínima para libtgvoip remoto", "x-telegram-field-docs": true}, "max_layer": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Camada 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": "Ao usar [phone.requestCall](https://core.telegram.org/method/phone.requestCall.md) e [phone.acceptCall](https://core.telegram.org/method/phone.acceptCall.md), especifique todas as versões de biblioteca suportadas pelo cliente.  O servidor irá mesclar e escolher a melhor versão da biblioteca suportada por ambos os pares, retornando apenas o melhor valor no resultado do [phone.acceptCall](https://core.telegram.org/method/phone.acceptCall.md) do chamador e na atualização [phoneCallAccepted](https://core.telegram.org/constructor/phoneCallAccepted.md) recebida pelo chamador.", "x-telegram-field-docs": true}}, "required": ["_", "min_layer", "max_layer", "library_versions"], "additionalProperties": false}, "phone.phoneCall": {"title": "phone.phoneCall", "description": "Uma chamada 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": "A chamada 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Participantes de chamadas telefônicas VoIP", "x-telegram-field-docs": true}}, "required": ["_", "phone_call", "users"], "additionalProperties": false}, "upload.cdnFileReuploadNeeded": {"title": "upload.cdnFileReuploadNeeded", "description": "O arquivo foi limpo do cache temporário RAM do [CDN](https://core.telegram.org/cdn.md) e precisa ser reenviado.", "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 (veja [CDN](https://core.telegram.org/cdn.md))", "x-telegram-field-docs": true}}, "required": ["_", "request_token"], "additionalProperties": false}, "upload.cdnFile": {"title": "upload.cdnFile", "description": "Representa um pedaço de um arquivo [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": "Os dados", "x-telegram-field-docs": true}}, "required": ["_", "bytes"], "additionalProperties": false}, "cdnPublicKey": {"title": "cdnPublicKey", "type": "object", "properties": {"_": {"type": "string", "enum": ["cdnPublicKey"]}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "public_key": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "dc_id", "public_key"], "additionalProperties": false}, "cdnConfig": {"title": "cdnConfig", "description": "Configuração para downloads de arquivos [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 TL: CdnPublicKey."}, "x-tl-type": "Vector<CdnPublicKey>", "description": "Vetor de chaves públicas para usar **somente** durante handshakes para [CDN](https://core.telegram.org/cdn.md) DCs.", "x-telegram-field-docs": true}}, "required": ["_", "public_keys"], "additionalProperties": false}, "langPackString": {"title": "langPackString", "description": "String de localização traduzida", "externalDocs": {"url": "https://core.telegram.org/constructor/langPackString"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["langPackString"]}, "key": {"type": "string", "x-tl-type": "string", "description": "Chave 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": "langPackStringPluralized", "description": "Uma string de pacote de idiomas que possui diferentes formas com base no número de algum objeto mencionado. 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 obter mais informações", "externalDocs": {"url": "https://core.telegram.org/constructor/langPackStringPluralized"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["langPackStringPluralized"]}, "key": {"type": "string", "x-tl-type": "string", "description": "Chave de localização", "x-telegram-field-docs": true}, "zero_value": {"type": "string", "x-tl-type": "string", "description": "Valor para zero objetos", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "one_value": {"type": "string", "x-tl-type": "string", "description": "Valor para um objeto", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "two_value": {"type": "string", "x-tl-type": "string", "description": "Valor para dois objetos", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "few_value": {"type": "string", "x-tl-type": "string", "description": "Valor para alguns objetos", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "many_value": {"type": "string", "x-tl-type": "string", "description": "Valor para muitos objetos", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}, "other_value": {"type": "string", "x-tl-type": "string", "description": "Valor padrão", "x-telegram-field-docs": true}}, "required": ["_", "key", "other_value"], "additionalProperties": false}, "langPackStringDeleted": {"title": "langPackStringDeleted", "description": "String de localização excluída", "externalDocs": {"url": "https://core.telegram.org/constructor/langPackStringDeleted"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["langPackStringDeleted"]}, "key": {"type": "string", "x-tl-type": "string", "description": "Chave de localização", "x-telegram-field-docs": true}}, "required": ["_", "key"], "additionalProperties": false}, "langPackDifference": {"title": "langPackDiferença", "description": "Mudanças no pacote de localização do aplicativo", "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 do idioma", "x-telegram-field-docs": true}, "from_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número da versão anterior", "x-telegram-field-docs": true}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número da nova versão", "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": "Strings localizadas", "x-telegram-field-docs": true}}, "required": ["_", "lang_code", "from_version", "version", "strings"], "additionalProperties": false}, "langPackLanguage": {"title": "langPackIdioma", "description": "Identifica um pacote de localização", "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": "Se o pacote de idiomas é oficial", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "rtl": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Este é um pacote de localização para um idioma RTL", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "beta": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Este é um pacote de localização beta?", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "name": {"type": "string", "x-tl-type": "string", "description": "Nome do idioma", "x-telegram-field-docs": true}, "native_name": {"type": "string", "x-tl-type": "string", "description": "Nome do idioma no próprio idioma", "x-telegram-field-docs": true}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Código do idioma (identificador do pacote)", "x-telegram-field-docs": true}, "base_lang_code": {"type": "string", "x-tl-type": "string", "description": "Identificador de um pacote de idiomas base; pode estar vazio. Se uma string estiver faltando no pacote de idiomas, ela deverá ser buscada no pacote de idiomas base. Não suportado em pacotes de idiomas personalizados", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "plural_code": {"type": "string", "x-tl-type": "string", "description": "Um código de idioma a ser usado para aplicar formas plurais. 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 obter mais informações", "x-telegram-field-docs": true}, "strings_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de strings não excluídas do pacote de idiomas", "x-telegram-field-docs": true}, "translated_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de strings traduzidas do pacote de idiomas", "x-telegram-field-docs": true}, "translations_url": {"type": "string", "x-tl-type": "string", "description": "Link para interface de tradução de idiomas; vazio para pacotes de idiomas locais 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": "canalAdminLogEventActionChangeSobre", "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": "canalAdminLogEventActionChangePhoto", "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": "canalAdminLogEventActionUpdatePinned", "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: Mensagem."}}, "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: Mensagem."}, "new_message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensagem."}}, "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: Mensagem."}}, "required": ["_", "message"], "additionalProperties": false}, "channelAdminLogEventActionParticipantJoin": {"title": "canalAdminLogEventActionParticipantJoin", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantJoin"]}}, "required": ["_"], "additionalProperties": false}, "channelAdminLogEventActionParticipantLeave": {"title": "canalAdminLogEventActionParticipantLeave", "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 TL: ChannelParticipant."}}, "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 TL: ChannelParticipant."}, "new_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Tipo TL: ChannelParticipant."}}, "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 TL: ChannelParticipant."}, "new_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Tipo TL: ChannelParticipant."}}, "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 TL: ChatBannedRights."}, "new_banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatBannedRights"]}}, "description": "Tipo 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: Mensagem."}}, "required": ["_", "message"], "additionalProperties": false}, "channelAdminLogEventActionChangeLinkedChat": {"title": "canalAdminLogEventActionChangeLinkedChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeLinkedChat"]}, "prev_value": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "new_value": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeLocation": {"title": "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 TL: ChannelLocation."}, "new_value": {"type": "object", "x-tl-type": "ChannelLocation", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelLocationEmpty", "channelLocation"]}}, "description": "Tipo TL: ChannelLocation."}}, "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 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 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 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 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 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 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 TL: ExportedChatInvite."}}, "required": ["_", "invite"], "additionalProperties": false}, "channelAdminLogEventActionExportedInviteEdit": {"title": "canalAdminLogEventActionExportedInvite", "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 TL: ExportedChatInvite."}, "new_invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo 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 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 TL: ExportedChatInvite."}, "approved_by": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "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": "canalAdminLogEventActionSendMessage", "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: Mensagem."}}, "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 TL: ChatReactions."}, "new_value": {"type": "object", "x-tl-type": "ChatReactions", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatReactionsNone", "chatReactionsAll", "chatReactionsSome"]}}, "description": "Tipo TL: ChatReactions."}}, "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: ForumTopic."}}, "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: ForumTopic."}, "new_topic": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Tipo de TL: ForumTopic."}}, "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: ForumTopic."}}, "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: ForumTopic.", "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: ForumTopic.", "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 de parede."}, "new_value": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "Tipo TL: Papel de parede."}}, "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 TL: EmojiStatus."}, "new_value": {"type": "object", "x-tl-type": "EmojiStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["emojiStatusEmpty", "emojiStatus", "emojiStatusCollectible", "inputEmojiStatusCollectible"]}}, "description": "Tipo 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 TL: ChannelParticipant."}, "new_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Tipo TL: ChannelParticipant."}}, "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-битное целое в десятичной записи.", "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-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "action": {"type": "object", "x-tl-type": "ChannelAdminLogEventAction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeTitle", "channelAdminLogEventActionChangeAbout", "channelAdminLogEventActionChangeUsername", "channelAdminLogEventActionChangePhoto", "channelAdminLogEventActionToggleInvites", "channelAdminLogEventActionToggleSignatures", "channelAdminLogEventActionUpdatePinned", "channelAdminLogEventActionEditMessage", "channelAdminLogEventActionDeleteMessage", "channelAdminLogEventActionParticipantJoin", "channelAdminLogEventActionParticipantLeave", "channelAdminLogEventActionParticipantInvite", "channelAdminLogEventActionParticipantToggleBan", "channelAdminLogEventActionParticipantToggleAdmin", "channelAdminLogEventActionChangeStickerSet", "channelAdminLogEventActionTogglePreHistoryHidden", "channelAdminLogEventActionDefaultBannedRights", "channelAdminLogEventActionStopPoll", "channelAdminLogEventActionChangeLinkedChat", "channelAdminLogEventActionChangeLocation", "channelAdminLogEventActionToggleSlowMode", "channelAdminLogEventActionStartGroupCall", "channelAdminLogEventActionDiscardGroupCall", "channelAdminLogEventActionParticipantMute", "channelAdminLogEventActionParticipantUnmute", "channelAdminLogEventActionToggleGroupCallSetting", "channelAdminLogEventActionParticipantJoinByInvite", "channelAdminLogEventActionExportedInviteDelete", "channelAdminLogEventActionExportedInviteRevoke", "channelAdminLogEventActionExportedInviteEdit", "channelAdminLogEventActionParticipantVolume", "channelAdminLogEventActionChangeHistoryTTL", "channelAdminLogEventActionParticipantJoinByRequest", "channelAdminLogEventActionToggleNoForwards", "channelAdminLogEventActionSendMessage", "channelAdminLogEventActionChangeAvailableReactions", "channelAdminLogEventActionChangeUsernames", "channelAdminLogEventActionToggleForum", "channelAdminLogEventActionCreateTopic", "channelAdminLogEventActionEditTopic", "channelAdminLogEventActionDeleteTopic", "channelAdminLogEventActionPinTopic", "channelAdminLogEventActionToggleAntiSpam", "channelAdminLogEventActionChangePeerColor", "channelAdminLogEventActionChangeProfilePeerColor", "channelAdminLogEventActionChangeWallpaper", "channelAdminLogEventActionChangeEmojiStatus", "channelAdminLogEventActionChangeEmojiStickerSet", "channelAdminLogEventActionToggleSignatureProfiles", "channelAdminLogEventActionParticipantSubExtend", "channelAdminLogEventActionToggleAutotranslation", "channelAdminLogEventActionParticipantEditRank"]}}, "description": "Tipo TL: ChannelAdminLogEventAction."}}, "required": ["_", "id", "date", "user_id", "action"], "additionalProperties": false}, "channels.adminLogResults": {"title": "channels.adminLogResults", "description": "Eventos de registro do 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 TL: ChannelAdminLogEvent."}, "x-tl-type": "Vector<ChannelAdminLogEvent>", "description": "Eventos de registro do 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados em 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados em eventos", "x-telegram-field-docs": true}}, "required": ["_", "events", "chats", "users"], "additionalProperties": false}, "channelAdminLogEventsFilter": {"title": "canalAdminLogEventsFilter", "description": "Filtre apenas determinados eventos de log do 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": "[Participe de eventos](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantJoin.md), incluindo [participe usando links de convite](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantJoinByInvite.md) e [solicitações de ingresso](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": "[Sair dos 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": "[Convidar 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": "[Banir 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": "[Desbanir 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 chute](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": "[Desativar 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 promoção administrativa](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 rebaixamento de 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 alteração de informações (quando [sobre](https://core.telegram.org/constructor/channelAdminLogEventActionChangeAbout.md), [bate-papo vinculado](https://core.telegram.org/constructor/channelAdminLogEventActionChangeLinkedChat.md), [local](https://core.telegram.org/constructor/channelAdminLogEventActionChangeLocation.md), [foto](https://core.telegram.org/constructor/channelAdminLogEventActionChangePhoto.md), [conjunto de adesivos](https://core.telegram.org/constructor/channelAdminLogEventActionChangeStickerSet.md), [título](https://core.telegram.org/constructor/channelAdminLogEventActionChangeTitle.md) ou [nome de usuário](https://core.telegram.org/constructor/channelAdminLogEventActionChangeUsername.md), [modo lento](https://core.telegram.org/constructor/channelAdminLogEventActionToggleSlowMode.md), [histórico TTL](https://core.telegram.org/constructor/channelAdminLogEventActionChangeHistoryTTL.md)] as configurações de um canal são modificadas]", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?true"}, "settings": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Eventos de alteração de configurações ([convites](https://core.telegram.org/constructor/channelAdminLogEventActionToggleInvites.md), [pré-história oculta](https://core.telegram.org/constructor/channelAdminLogEventActionTogglePreHistoryHidden.md), [assinaturas](https://core.telegram.org/constructor/channelAdminLogEventActionToggleSignatures.md), [direitos banidos padrão](https://core.telegram.org/constructor/channelAdminLogEventActionDefaultBannedRights.md), [eventos de alternância do fórum](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 fixação de mensagem](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 edição de mensagens](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 exclusão de mensagens](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 chamada em grupo", "x-telegram-field-docs": true, "x-tl-flag": "flags.14?true"}, "invites": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Convidar eventos", "x-telegram-field-docs": true, "x-tl-flag": "flags.15?true"}, "send": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Uma mensagem foi postada em um canal", "x-telegram-field-docs": true, "x-tl-flag": "flags.16?true"}, "forums": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Eventos relacionados ao Fórum](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 extensão de assinatura do 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 em que a [tag (classificação) »](https://core.telegram.org/api/rank.md) personalizada de um participante foi alterada ([channelAdminLogEventActionParticipantEditRank](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantEditRank.md)).", "x-telegram-field-docs": true, "x-tl-flag": "flags.19?true"}}, "required": ["_"], "additionalProperties": false}, "popularContact": {"title": "popularContato", "type": "object", "properties": {"_": {"type": "string", "enum": ["popularContact"]}, "client_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "importers": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "client_id", "importers"], "additionalProperties": false}, "messages.favedStickersNotModified": {"title": "messages.favedStickersNotModified", "description": "Nenhum novo adesivo favorito foi encontrado", "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": "Adesivos favoritos", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.favedStickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.favedStickers"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](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: Pacote de adesivos."}, "x-tl-type": "Vector<StickerPack>", "description": "Emojis associados a adesivos", "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": "Adesivos favoritos", "x-telegram-field-docs": true}}, "required": ["_", "hash", "packs", "stickers"], "additionalProperties": false}, "recentMeUrlUnknown": {"title": "recenteMeUrlUnknown", "type": "object", "properties": {"_": {"type": "string", "enum": ["recentMeUrlUnknown"]}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url"], "additionalProperties": false}, "recentMeUrlUser": {"title": "recenteMeUrlUser", "type": "object", "properties": {"_": {"type": "string", "enum": ["recentMeUrlUser"]}, "url": {"type": "string", "x-tl-type": "string"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "url", "user_id"], "additionalProperties": false}, "recentMeUrlChat": {"title": "recenteMeUrlChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["recentMeUrlChat"]}, "url": {"type": "string", "x-tl-type": "string"}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "url", "chat_id"], "additionalProperties": false}, "recentMeUrlChatInvite": {"title": "recenteMeUrlChatInvite", "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 TL: ChatInvite."}}, "required": ["_", "url", "chat_invite"], "additionalProperties": false}, "recentMeUrlStickerSet": {"title": "recenteMeUrlStickerSet", "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: StickerSetCovered."}}, "required": ["_", "url", "set"], "additionalProperties": false}, "help.recentMeUrls": {"title": "help.recentMeUrls", "description": "URLs t.me recentes", "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 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários", "x-telegram-field-docs": true}}, "required": ["_", "urls", "chats", "users"], "additionalProperties": false}, "inputSingleMedia": {"title": "entradaSingleMedia", "description": "Uma única mídia em um [álbum ou mídia agrupada](https://core.telegram.org/api/files.md#albums-grouped-media) enviada com [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": "A mídia", "x-telegram-field-docs": true}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "É necessário um ID de mídia de cliente exclusivo para evitar o reenvio de mensagens. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatório e mapeamento updateMessageID.", "x-tl-type": "long", "x-telegram-field-docs": true}, "message": {"type": "string", "x-tl-type": "string", "description": "Uma legenda para a mídia", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "Mensagem [entidades](https://core.telegram.org/api/entities.md) para texto estilizado", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<MessageEntity>"}}, "required": ["_", "media", "random_id", "message"], "additionalProperties": false}, "webAuthorization": {"title": "webAutorização", "type": "object", "properties": {"_": {"type": "string", "enum": ["webAuthorization"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "domain": {"type": "string", "x-tl-type": "string"}, "browser": {"type": "string", "x-tl-type": "string"}, "platform": {"type": "string", "x-tl-type": "string"}, "date_created": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date_active": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "ip": {"type": "string", "x-tl-type": "string"}, "region": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "hash", "bot_id", "domain", "browser", "platform", "date_created", "date_active", "ip", "region"], "additionalProperties": false}, "account.webAuthorizations": {"title": "account.webAuthorizations", "description": "Autorizações da 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 TL: WebAuthorization."}, "x-tl-type": "Vector<WebAuthorization>", "description": "Lista de autorização da 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários", "x-telegram-field-docs": true}}, "required": ["_", "authorizations", "users"], "additionalProperties": false}, "inputMessageID": {"title": "ID da mensagem de entrada", "description": "Mensagem 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 da mensagem", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputMessageReplyTo": {"title": "inputMessageReplyTo", "description": "Mensagem à qual a mensagem especificada responde", "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 da mensagem que responde à mensagem que precisamos", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputMessagePinned": {"title": "inputMessagePinned", "description": "Mensagem fixada", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagePinned"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagePinned"]}}, "required": ["_"], "additionalProperties": false}, "inputMessageCallbackQuery": {"title": "inputMessageCallbackQuery", "description": "Usado por bots para buscar informações sobre a mensagem que originou uma consulta de retorno de chamada", "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 da mensagem", "x-telegram-field-docs": true}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de consulta de retorno de chamada", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "query_id"], "additionalProperties": false}, "inputDialogPeer": {"title": "inputDialogPeer", "description": "Um colega", "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": "Par", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "inputDialogPeerFolder": {"title": "inputDialogPeerFolder", "description": "Todos os pares em uma [pasta 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 da pasta peer, para mais informações clique aqui](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: InputChannel."}}, "required": ["_", "community"], "additionalProperties": false}, "dialogPeer": {"title": "diálogoPeer", "description": "Par", "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": "Par", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "dialogPeerFolder": {"title": "diálogoPeerFolder", "description": "[Pasta de pares](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 da pasta peer, para mais informações clique aqui](https://core.telegram.org/api/folders.md#peer-folders)", "x-telegram-field-docs": true}}, "required": ["_", "folder_id"], "additionalProperties": false}, "dialogPeerCommunity": {"title": "dialogPeerCommunity", "type": "object", "properties": {"_": {"type": "string", "enum": ["dialogPeerCommunity"]}, "community_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "community_id"], "additionalProperties": false}, "messages.foundStickerSetsNotModified": {"title": "messages.foundStickerSetsNotModified", "description": "Nenhum outro resultado foi encontrado", "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 adesivos encontrados", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.foundStickerSets"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.foundStickerSets"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](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: StickerSetCovered."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Conjuntos de adesivos encontrados", "x-telegram-field-docs": true}}, "required": ["_", "hash", "sets"], "additionalProperties": false}, "fileHash": {"title": "arquivoHash", "description": "SHA256 Hash de um arquivo enviado, a ser verificado quanto à validade após o download", "externalDocs": {"url": "https://core.telegram.org/constructor/fileHash"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["fileHash"]}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Deslocamento de onde começar a calcular SHA-256 hash", "x-tl-type": "long", "x-telegram-field-docs": true}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Comprimento", "x-telegram-field-docs": true}, "hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "SHA-256 Hash do pedaço do arquivo, a ser verificado quanto à validade após o download", "x-telegram-field-docs": true}}, "required": ["_", "offset", "limit", "hash"], "additionalProperties": false}, "inputClientProxy": {"title": "inputClientProxy", "description": "Informações sobre um [MTProxy](https://core.telegram.org/mtproto/mtproto-transports.md#transport-obfuscation) usado para conexão.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputClientProxy"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputClientProxy"]}, "address": {"type": "string", "x-tl-type": "string", "description": "Endereço proxy", "x-telegram-field-docs": true}, "port": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Porta proxy", "x-telegram-field-docs": true}}, "required": ["_", "address", "port"], "additionalProperties": false}, "help.termsOfServiceUpdateEmpty": {"title": "help.termsOfServiceUpdateEmpty", "description": "Nenhuma alteração foi feita nos termos de serviço do 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": "Novas atualizações TOS deverão ser consultadas usando [help.getTermsOfServiceUpdate](https://core.telegram.org/method/help.getTermsOfServiceUpdate.md) em `expires` segundos", "x-telegram-field-docs": true}}, "required": ["_", "expires"], "additionalProperties": false}, "help.termsOfServiceUpdate": {"title": "help.termsOfServiceUpdate", "description": "Informações sobre uma atualização dos termos de serviço do Telegram. Se os termos de serviço forem recusados, o método [account.deleteAccount](https://core.telegram.org/method/account.deleteAccount.md) deverá ser chamado com o motivo \"Recusar atualização 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": "Novas atualizações TOS deverão ser consultadas usando [help.getTermsOfServiceUpdate](https://core.telegram.org/method/help.getTermsOfServiceUpdate.md) em `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": "Novos termos de serviço", "x-telegram-field-docs": true}}, "required": ["_", "expires", "terms_of_service"], "additionalProperties": false}, "inputSecureFileUploaded": {"title": "inputSecureFileUploaded", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSecureFileUploaded"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "parts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "md5_checksum": {"type": "string", "x-tl-type": "string"}, "file_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "secret": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "id", "parts", "md5_checksum", "file_hash", "secret"], "additionalProperties": false}, "inputSecureFile": {"title": "inputSecureFile", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSecureFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "secureFileEmpty": {"title": "arquivoseguroEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["secureFileEmpty"]}}, "required": ["_"], "additionalProperties": false}, "secureFile": {"title": "arquivo seguro", "type": "object", "properties": {"_": {"type": "string", "enum": ["secureFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "size": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "file_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "secret": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "id", "access_hash", "size", "dc_id", "date", "file_hash", "secret"], "additionalProperties": false}, "secureData": {"title": "dados seguros", "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": "seguroPlainEmail", "type": "object", "properties": {"_": {"type": "string", "enum": ["securePlainEmail"]}, "email": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "email"], "additionalProperties": false}, "secureValueTypePersonalDetails": {"title": "secureValueTypePersonalDetails", "description": "Dados pessoais", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypePersonalDetails"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypePassport": {"title": "secureValueTypePassport", "description": "Passaporte", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypePassport"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypePassport"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeDriverLicense": {"title": "secureValueTypeDriverLicense", "description": "Carteira de motorista", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeDriverLicense"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeDriverLicense"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeIdentityCard": {"title": "secureValueTypeIdentityCard", "description": "Bilhete de identidade", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeIdentityCard"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeIdentityCard"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeInternalPassport": {"title": "secureValueTypeInternalPassport", "description": "Interno [passaporte](https://core.telegram.org/passport.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeInternalPassport"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeInternalPassport"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeAddress": {"title": "secureValueTypeAddress", "description": "Endereço", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeAddress"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeAddress"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeUtilityBill": {"title": "secureValueTypeUtilityBill", "description": "Conta de serviços públicos", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeUtilityBill"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeUtilityBill"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeBankStatement": {"title": "secureValueTypeBankStatement", "description": "Extrato bancário", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeBankStatement"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeBankStatement"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeRentalAgreement": {"title": "secureValueTypeRentalAgreement", "description": "Contrato de aluguel", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeRentalAgreement"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeRentalAgreement"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypePassportRegistration": {"title": "secureValueTypePassportRegistration", "description": "Registro interno [passaporte](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 temporário", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeTemporaryRegistration"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeTemporaryRegistration"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypePhone": {"title": "secureValueTypePhone", "description": "Telefone", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypePhone"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypePhone"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeEmail": {"title": "secureValueTypeEmail", "description": "E-mail", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeEmail"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeEmail"]}}, "required": ["_"], "additionalProperties": false}, "secureValue": {"title": "valor seguro", "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 [passaporte](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": "Dados do elemento [Telegram Passport](https://core.telegram.org/passport.md) criptografados", "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": "Arquivo criptografado [passaporte](https://core.telegram.org/passport.md) com a frente do 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": "Arquivo [passaporte](https://core.telegram.org/passport.md) criptografado com o verso do 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": "Arquivo [passaporte](https://core.telegram.org/passport.md) criptografado com uma selfie do usuário segurando o 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 TL: SecureFile."}, "x-tl-type": "Vector<SecureFile>", "description": "Matriz de arquivos criptografados [passport](https://core.telegram.org/passport.md) com versões traduzidas dos documentos fornecidos", "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 TL: SecureFile."}, "x-tl-type": "Vector<SecureFile>", "description": "Matriz de arquivos criptografados [passaporte](https://core.telegram.org/passport.md) com fotos dos 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 simples verificado [dados do passaporte](https://core.telegram.org/passport.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?SecurePlainData"}, "hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Hash de dados", "x-telegram-field-docs": true}}, "required": ["_", "type", "hash"], "additionalProperties": false}, "inputSecureValue": {"title": "entradaSecureValue", "description": "Valor seguro, [para mais informações consulte a documentação do passaporte »](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 [passaporte](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": "Dados do elemento [Telegram Passport](https://core.telegram.org/passport.md) criptografados", "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": "Arquivo criptografado [passaporte](https://core.telegram.org/passport.md) com a frente do 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": "Arquivo [passaporte](https://core.telegram.org/passport.md) criptografado com o verso do 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": "Arquivo [passaporte](https://core.telegram.org/passport.md) criptografado com uma selfie do usuário segurando o 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 TL: InputSecureFile."}, "x-tl-type": "Vector<InputSecureFile>", "description": "Matriz de arquivos criptografados [passport](https://core.telegram.org/passport.md) com versões traduzidas dos documentos fornecidos", "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 TL: InputSecureFile."}, "x-tl-type": "Vector<InputSecureFile>", "description": "Matriz de arquivos criptografados [passaporte](https://core.telegram.org/passport.md) com fotos dos 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 simples verificado [dados do passaporte](https://core.telegram.org/passport.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?SecurePlainData"}}, "required": ["_", "type"], "additionalProperties": false}, "secureValueHash": {"title": "secureValueHash", "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": "Hash", "x-telegram-field-docs": true}}, "required": ["_", "type", "hash"], "additionalProperties": false}, "secureValueErrorData": {"title": "secureValueErrorData", "description": "Representa um problema em um dos campos de dados fornecidos pelo usuário. O erro é considerado resolvido quando o valor do campo muda.", "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": "A seção do Telegram Passport do usuário que contém o erro, um 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 dados", "x-telegram-field-docs": true}, "field": {"type": "string", "x-tl-type": "string", "description": "Nome do campo de dados que contém o erro", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensagem de erro", "x-telegram-field-docs": true}}, "required": ["_", "type", "data_hash", "field", "text"], "additionalProperties": false}, "secureValueErrorFrontSide": {"title": "secureValueErrorFrontSide", "description": "Representa um problema na frente de um documento. O erro é considerado resolvido quando o arquivo da frente do documento é alterado.", "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": "Um 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 arquivo", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensagem de erro", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorReverseSide": {"title": "secureValueErrorReverseSide", "description": "Representa um problema no verso de um documento. O erro é considerado resolvido quando o arquivo com o verso do documento é alterado.", "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": "Um 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 arquivo", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensagem de erro", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorSelfie": {"title": "secureValueErrorSelfie", "description": "Representa um problema com a selfie com um documento. O erro é considerado resolvido quando o arquivo com a selfie é alterado.", "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": "Um 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 arquivo", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensagem de erro", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorFile": {"title": "secureValueErrorFile", "description": "Representa um problema com uma digitalização de documento. O erro é considerado resolvido quando o arquivo com a digitalização do documento é alterado.", "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": "Um 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 arquivo", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensagem de erro", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorFiles": {"title": "secureValueErrorFiles", "description": "Representa um problema com uma lista de verificações. O erro é considerado resolvido quando a lista de arquivos que contém as verificações é alterada.", "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": "Um 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 arquivo", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensagem de erro", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueError": {"title": "secureValueError", "description": "Erro 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 apresenta o problema", "x-telegram-field-docs": true}, "hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Hash", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensagem de erro", "x-telegram-field-docs": true}}, "required": ["_", "type", "hash", "text"], "additionalProperties": false}, "secureValueErrorTranslationFile": {"title": "secureValueErrorTranslationFile", "description": "Representa um problema com um dos arquivos que constituem a tradução de um documento. O erro é considerado resolvido quando o arquivo é alterado.", "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": "Um 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 arquivo", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensagem de erro", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorTranslationFiles": {"title": "secureValueErrorTranslationFiles", "description": "Representa um problema com a versão traduzida de um documento. O erro é considerado resolvido quando um arquivo com a tradução do documento é alterado.", "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": "Um 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": "Hash", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensagem de erro", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureCredentialsEncrypted": {"title": "secureCredentialsEncrypted", "description": "Credenciais criptografadas necessárias para descriptografar dados do [passaporte do telegrama](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": "Dados criptografados JSON serializados com carga útil de usuário exclusivo, hashes de dados e segredos necessários para descriptografia e autenticação EncryptedPassportElement, conforme descrito em [descriptografia de dados »](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 dados para autenticação de dados conforme descrito em [descriptografia de dados »](https://core.telegram.org/passport.md#decrypting-data)", "x-telegram-field-docs": true}, "secret": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Segredo, criptografado com a chave pública RSA do bot, necessária para descriptografia de dados conforme descrito em [descriptografia de dados »](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) formulário de autorização", "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 TL: SecureRequiredType."}, "x-tl-type": "Vector<SecureRequiredType>", "description": "Documentos necessários [Passaporte Telegram](https://core.telegram.org/passport.md)", "x-telegram-field-docs": true}, "values": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValue", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValue"]}}, "description": "Tipo TL: SecureValue."}, "x-tl-type": "Vector<SecureValue>", "description": "Documentos [Telegram Passport](https://core.telegram.org/passport.md) já enviados", "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 TL: SecureValueError."}, "x-tl-type": "Vector<SecureValueError>", "description": "[Telegram Passport](https://core.telegram.org/passport.md) erros", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações sobre o bot para o qual o formulário será enviado", "x-telegram-field-docs": true}, "privacy_policy_url": {"type": "string", "x-tl-type": "string", "description": "URL da política de privacidade do serviço", "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": "O código de e-mail 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": "O email (para o qual o código foi enviado) deve corresponder a este [padrão](https://core.telegram.org/api/pattern.md)", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O comprimento do código de verificação", "x-telegram-field-docs": true}}, "required": ["_", "email_pattern", "length"], "additionalProperties": false}, "help.deepLinkInfoEmpty": {"title": "help.deepLinkInfoEmpty", "description": "As informações do link direto estão vazias", "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": "Informações do link direto, consulte [aqui para mais detalhes](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": "É necessária uma atualização do aplicativo para analisar este link", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "message": {"type": "string", "x-tl-type": "string", "description": "Mensagem para mostrar ao usuário", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado](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": "salvoTelefoneContato", "description": "Contato salvo", "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 telefone", "x-telegram-field-docs": true}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Primeiro nome", "x-telegram-field-docs": true}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Sobrenome", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data adicionada", "x-telegram-field-docs": true}}, "required": ["_", "phone", "first_name", "last_name", "date"], "additionalProperties": false}, "account.takeout": {"title": "account.takeout", "description": "Informações para viagem", "externalDocs": {"url": "https://core.telegram.org/constructor/account.takeout"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.takeout"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de entrega", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "passwordKdfAlgoUnknown": {"title": "senhaKdfAlgoUnknown", "type": "object", "properties": {"_": {"type": "string", "enum": ["passwordKdfAlgoUnknown"]}}, "required": ["_"], "additionalProperties": false}, "passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow": {"title": "senhaKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow", "type": "object", "properties": {"_": {"type": "string", "enum": ["passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow"]}, "salt1": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "salt2": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "g": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "p": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "salt1", "salt2", "g", "p"], "additionalProperties": false}, "securePasswordKdfAlgoUnknown": {"title": "securePasswordKdfAlgoUnknown", "type": "object", "properties": {"_": {"type": "string", "enum": ["securePasswordKdfAlgoUnknown"]}}, "required": ["_"], "additionalProperties": false}, "securePasswordKdfAlgoPBKDF2HMACSHA512iter100000": {"title": "securePasswordKdfAlgoPBKDF2HMACSHA512iter100000", "type": "object", "properties": {"_": {"type": "string", "enum": ["securePasswordKdfAlgoPBKDF2HMACSHA512iter100000"]}, "salt": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "salt"], "additionalProperties": false}, "securePasswordKdfAlgoSHA512": {"title": "senha seguraKdfAlgoSHA512", "type": "object", "properties": {"_": {"type": "string", "enum": ["securePasswordKdfAlgoSHA512"]}, "salt": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "salt"], "additionalProperties": false}, "secureSecretSettings": {"title": "configuraçõesSecretSecure", "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 TL: SecurePasswordKdfAlgo."}, "secure_secret": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "secure_secret_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "secure_algo", "secure_secret", "secure_secret_id"], "additionalProperties": false}, "inputCheckPasswordEmpty": {"title": "inputCheckPasswordEmpty", "description": "Não há senha", "externalDocs": {"url": "https://core.telegram.org/constructor/inputCheckPasswordEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputCheckPasswordEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputCheckPasswordSRP": {"title": "inputCheckPasswordSRP", "description": "Construtor para verificar a validade de uma senha 2FA SRP (veja [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": "Parâmetro `A` (veja [SRP](https://core.telegram.org/api/srp.md))", "x-telegram-field-docs": true}, "M1": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Parâmetro `M1` (veja [SRP](https://core.telegram.org/api/srp.md))", "x-telegram-field-docs": true}}, "required": ["_", "srp_id", "A", "M1"], "additionalProperties": false}, "secureRequiredType": {"title": "seguroRequiredType", "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 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 TL: SecureRequiredType."}, "x-tl-type": "Vector<SecureRequiredType>"}}, "required": ["_", "types"], "additionalProperties": false}, "help.passportConfigNotModified": {"title": "help.passportConfigNotModified", "description": "Configuração de senha não 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": "Telegrama [configuração do passaporte](https://core.telegram.org/passport.md)", "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 usado para cache, para mais informações clique aqui](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": "Localização", "x-telegram-field-docs": true}}, "required": ["_", "hash", "countries_langs"], "additionalProperties": false}, "inputAppEvent": {"title": "entradaAppEvent", "description": "Evento que ocorreu na aplicação.", "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": "Carimbo de data/hora exato do cliente para o 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 arbitrário para seleção mais conveniente de determinados tipos de eventos ou eventos referentes a um 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": "Detalhes do 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 TL: JSONValue."}}, "required": ["_", "key", "value"], "additionalProperties": false}, "jsonNull": {"title": "jsonNulo", "description": "valor nulo JSON\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "jsonNumber", "description": "JSON valor numérico\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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": "jsonString", "description": "JSON sequência\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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 TL: JSONValue."}, "x-tl-type": "Vector<JSONValue>", "description": "JSON valores", "x-telegram-field-docs": true}}, "required": ["_", "value"], "additionalProperties": false}, "jsonObject": {"title": "jsonObject", "description": "JSON valor do objeto\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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 TL: JSONObjectValue."}, "x-tl-type": "Vector<JSONObjectValue>", "description": "Valores", "x-telegram-field-docs": true}}, "required": ["_", "value"], "additionalProperties": false}, "pageTableCell": {"title": "pageTableCell", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageTableCell"]}, "header": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "align_center": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "align_right": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "valign_middle": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "valign_bottom": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText.", "x-tl-flag": "flags.7?RichText"}, "colspan": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "rowspan": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}}, "required": ["_"], "additionalProperties": false}, "pageTableRow": {"title": "pageTableRow", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageTableRow"]}, "cells": {"type": "array", "items": {"type": "object", "x-tl-type": "PageTableCell", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageTableCell"]}}, "description": "Tipo TL: PageTableCell."}, "x-tl-type": "Vector<PageTableCell>"}}, "required": ["_", "cells"], "additionalProperties": false}, "pageCaption": {"title": "legenda da 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 TL: RichText."}, "credit": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text", "credit"], "additionalProperties": false}, "pageListItemText": {"title": "pageListItemText", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageListItemText"]}, "checkbox": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "checked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageListItemBlocks": {"title": "pageListItemBlocks", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageListItemBlocks"]}, "checkbox": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "checked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Tipo TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}}, "required": ["_", "blocks"], "additionalProperties": false}, "pageListOrderedItemText": {"title": "pageListOrderedItemText", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageListOrderedItemText"]}, "checkbox": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "checked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "num": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}, "value": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "type": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}}, "required": ["_", "text"], "additionalProperties": false}, "pageListOrderedItemBlocks": {"title": "pageListOrderedItemBlocks", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageListOrderedItemBlocks"]}, "checkbox": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "checked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "num": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Tipo TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "value": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "type": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}}, "required": ["_", "blocks"], "additionalProperties": false}, "pageRelatedArticle": {"title": "páginaRelacionadoArtigo", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageRelatedArticle"]}, "url": {"type": "string", "x-tl-type": "string"}, "webpage_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "description": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}, "author": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "published_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}}, "required": ["_", "url", "webpage_id"], "additionalProperties": false}, "page": {"title": "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: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "photos": {"type": "array", "items": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "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": "Nome localizado para suporte por telegrama", "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": "Nome 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": "Informações", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado](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": "Data", "x-telegram-field-docs": true}}, "required": ["_", "message", "entities", "author", "date"], "additionalProperties": false}, "pollAnswer": {"title": "enqueteResposta", "description": "Uma possível resposta de uma enquete", "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": "Representação textual da resposta (apenas usuários [Premium](https://core.telegram.org/api/premium.md) podem usar [entidades emoji personalizadas](https://core.telegram.org/api/custom-emoji.md) aqui).", "x-telegram-field-docs": true}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "O parâmetro que deve ser passado para [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": "Anexo de mídia opcional exibido ao lado da resposta", "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": "O colega que adicionou esta resposta; definido apenas para respostas adicionadas dinamicamente a uma enquete de resposta aberta, consulte [enquetes »](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": "Quando esta resposta foi adicionada; definido apenas para respostas adicionadas dinamicamente a uma enquete de resposta aberta", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "text", "option"], "additionalProperties": false}, "inputPollAnswer": {"title": "inputPollAnswer", "description": "Uma opção de resposta para adicionar a uma [enquete de resposta aberta »](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": "O texto da resposta", "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": "Anexo de mídia opcional para exibir junto com a resposta", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputMedia"}}, "required": ["_", "text"], "additionalProperties": false}, "poll": {"title": "enquete", "type": "object", "properties": {"_": {"type": "string", "enum": ["poll"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "closed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "public_voters": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "multiple_choice": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "quiz": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "open_answers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "revoting_disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "shuffle_answers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "hide_results_until_close": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "subscribers_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true"}, "question": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo TL: TextWithEntities."}, "answers": {"type": "array", "items": {"type": "object", "x-tl-type": "PollAnswer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pollAnswer", "inputPollAnswer"]}}, "description": "Tipo TL: PollAnswer."}, "x-tl-type": "Vector<PollAnswer>"}, "close_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "close_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "countries_iso2": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "x-tl-flag": "flags.12?Vector<string>"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "question", "answers", "hash"], "additionalProperties": false}, "pollAnswerVoters": {"title": "enqueteResponderEleitores", "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 da enquete", "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 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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.4?Vector<MessageEntity>"}, "solution_media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "Tipo TL: MessageMedia.", "x-tl-flag": "flags.5?MessageMedia"}}, "required": ["_"], "additionalProperties": false}, "chatOnlines": {"title": "chatOnline", "description": "Número de usuários online em um 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 usuários on-line", "x-telegram-field-docs": true}}, "required": ["_", "onlines"], "additionalProperties": false}, "statsURL": {"title": "URL de estatísticas", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsURL"]}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url"], "additionalProperties": false}, "chatAdminRights": {"title": "chatAdminRights", "description": "Representa os direitos de um administrador em um [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": "Se definido, permite que o administrador modifique a descrição do [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": "Se definido, permite que o administrador poste mensagens no [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": "Se definido, permite que o administrador também edite mensagens de outros administradores no [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": "Se definido, permite que o administrador também exclua mensagens de outros administradores no [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": "Se definido, permite ao administrador banir usuários do [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": "Se definido, permite que o administrador convide usuários no [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": "Se definido, permite que o administrador fixe mensagens no [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": "Se definido, permite que o administrador adicione outros administradores com as mesmas (ou mais limitadas) permissões no [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": "Se este administrador é anônimo", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?true"}, "manage_call": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, permite que o administrador crie e administre [chats de vídeo/transmissões ao 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": "Defina este sinalizador se nenhum dos outros sinalizadores estiver definido, mas você ainda deseja que o usuário seja um administrador: se este ou qualquer outro sinalizador estiver definido, o administrador pode obter o bate-papo [log de administrador](https://core.telegram.org/api/recent-actions.md), obter [estatísticas de bate-papo](https://core.telegram.org/api/stats.md), obter [estatísticas de mensagens nos canais](https://core.telegram.org/api/stats.md), obter membros do canal, ver administradores anônimos em supergrupos e ignorar o modo lento.", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?true"}, "manage_topics": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, permite que o administrador crie, exclua ou modifique [tópicos do fórum »](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": "Se definido, permite que o administrador poste [stories](https://core.telegram.org/api/stories.md) como o [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": "Se definido, permite que o administrador edite [stories](https://core.telegram.org/api/stories.md) postadas por outros administradores do [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": "Se definido, permite que o administrador exclua [stories](https://core.telegram.org/api/stories.md) postadas por outros administradores do [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": "Se definido, permite que o administrador gerencie o [monoforum de mensagens diretas »](https://core.telegram.org/api/monoforum.md) e [recusar postagens 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": "Se definido, permite que o administrador modifique a [tag de membro »](https://core.telegram.org/api/rank.md) de qualquer usuário.", "x-telegram-field-docs": true, "x-tl-flag": "flags.18?true"}, "manage_linked_peers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true"}, "manage_welcome_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.20?true"}}, "required": ["_"], "additionalProperties": false}, "chatBannedRights": {"title": "chatBannedRights", "description": "Representa os direitos de um usuário normal em um [supergrupo/canal/chat](https://core.telegram.org/api/channel.md). Nesse caso, os sinalizadores são invertidos: se definido, um sinalizador **não permite** que um usuário faça 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": "Se definido, não permite que um usuário visualize mensagens em um [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": "Se definido, não permite que um usuário envie mensagens em um [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": "Se definido, não permite que um usuário envie qualquer mídia em um [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": "Se definido, não permite que um usuário envie adesivos em um [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": "Se definido, não permite que um usuário envie gifs em um [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": "Se definido, não permite que um usuário envie jogos em um [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": "Se definido, não permite que um usuário use bots inline em um [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": "Se definido, não permite que um usuário incorpore links nas mensagens de um [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": "Se definido, não permite que um usuário envie enquetes em um [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": "Se definido, não permite que um usuário altere a descrição de um [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": "Se definido, não permite que um usuário convide usuários em um [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": "Se definido, não permite que um usuário fixe mensagens em um [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": "Se definido, não permite que um usuário crie, exclua ou modifique [tópicos do fórum »](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": "Se definido, não permite que um usuário envie fotos em um [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": "Se definido, não permite que um usuário envie vídeos em um [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": "Se definido, não permite que um usuário envie vídeos redondos em um [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": "Se definido, não permite que um usuário envie arquivos de áudio em um [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": "Se definido, não permite que um usuário envie mensagens de voz em um [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": "Se definido, não permite que um usuário envie documentos em um [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": "Se definido, não permite que um usuário envie mensagens de texto em um [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": "Se definido, não permite que um usuário edite sua própria [tag (classificação) »](https://core.telegram.org/api/rank.md) personalizada em um [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": "Se definido, não permite que um usuário reaja a mensagens em um 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": "Validade das referidas permissões (considera-se permanente qualquer valor inferior a 30 segundos ou superior a 366 dias).", "x-telegram-field-docs": true}}, "required": ["_", "until_date"], "additionalProperties": false}, "inputWallPaper": {"title": "inputWallPaper", "description": "[Papel de parede](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": "[Papel de parede](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 acesso", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputWallPaperSlug": {"title": "entradaWallPaperSlug", "description": "[Papel de parede](https://core.telegram.org/api/wallpapers.md) por slug (um ID exclusivo, obtido de um [link do papel de parede »](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 exclusivo do papel de parede", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "inputWallPaperNoFile": {"title": "inputWallPaperNoFile", "description": "[Wallpaper](https://core.telegram.org/api/wallpapers.md) sem hash de acesso a arquivo, usado, por exemplo, ao excluir (`unsave=true`) papéis de parede usando [account.saveWallPaper](https://core.telegram.org/method/account.saveWallPaper.md), especificando apenas o ID do papel de parede.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputWallPaperNoFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputWallPaperNoFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do papel de parede", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "account.wallPapersNotModified": {"title": "account.wallPapersNotModified", "description": "Nenhum novo [wallpapers](https://core.telegram.org/api/wallpapers.md) foi encontrado", "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 [papéis de parede](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 usado para cache, para mais informações clique aqui](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 de parede."}, "x-tl-type": "Vector<WallPaper>", "description": "[Papéis de parede](https://core.telegram.org/api/wallpapers.md)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "wallpapers"], "additionalProperties": false}, "codeSettings": {"title": "configurações de código", "description": "Configurações utilizadas pelos servidores de telegramas para envio do código de confirmação.\n\nImplementações de exemplo: [telegrama 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": "Se a verificação por telefone deve ser permitida por meio de [chamadas](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": "Passe verdadeiro se o número de telefone for usado no dispositivo atual. Ignorado se allow_flashcall não estiver definido.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "allow_app_hash": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se for necessário um token que será incluído em SMSs eventualmente enviados: obrigatório em versões mais recentes do Android, para usar as [Android SMS APIs do receptor](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": "Se este dispositivo suporta o recebimento do código usando o 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": "Se a autenticação do Firebase é compatível", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "unknown_number": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Defina este sinalizador se houver um cartão SIM no dispositivo atual, mas não for possível verificar se o número de telefone especificado corresponde ao número de telefone 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 autenticação futuros armazenados anteriormente, consulte [a documentação para obter mais informações »](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 apenas por aplicativos iOS oficiais para autenticação do 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 apenas por aplicativos iOS oficiais para autenticação do Firebase: se um certificado sandbox será usado durante a transmissão da notificação push.", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?Bool"}}, "required": ["_"], "additionalProperties": false}, "wallPaperSettings": {"title": "configurações de papel de parede", "description": "[Wallpaper](https://core.telegram.org/api/wallpapers.md) informações de renderização.", "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 [papéis de parede de imagem »](https://core.telegram.org/api/wallpapers.md#image-wallpapers): se definido, o JPEG deve ser reduzido para caber em um quadrado de 450x450 e depois desfocado com raio 12.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "motion": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, o fundo precisa ser ligeiramente movido quando o dispositivo é girado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "background_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Usado para preenchimentos [sólido »](https://core.telegram.org/api/wallpapers.md#solid-fill), [gradiente »](https://core.telegram.org/api/wallpapers.md#gradient-fill) e [gradiente de forma livre »](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": "Usado para preenchimentos [gradiente »](https://core.telegram.org/api/wallpapers.md#gradient-fill) e [gradiente de forma livre »](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": "Usado para preenchimentos de [gradiente de forma livre »](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": "Usado para preenchimentos de [gradiente de forma livre »](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": "Usado para [papéis de parede padrão »](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 rotação do gradiente no sentido horário, em graus; 0-359. Deve ser sempre divisível por 45.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Se definido, este papel de parede pode ser usado como papel de parede do canal e é representado pelo emoji UTF-8 especificado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?string"}}, "required": ["_"], "additionalProperties": false}, "autoDownloadSettings": {"title": "configurações de download automático", "description": "Configurações de download automático", "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": "Desativar downloads automáticos de mídia?", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "video_preload_large": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se deve pré-carregar os primeiros segundos de vídeos maiores que o limite especificado", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "audio_preload_next": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se deve pré-carregar a próxima faixa de áudio quando estiver ouvindo 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": "Se deve ativar o modo de economia de dados em chamadas telefônicas", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "stories_preload": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se deve pré-carregar [stories](https://core.telegram.org/api/stories.md); em particular, os primeiros [documentAttributeVideo](https://core.telegram.org/constructor/documentAttributeVideo.md).`preload_prefix_size` bytes de vídeos de histórias devem ser pré-carregados.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "photo_size_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tamanho máximo de fotos para pré-carregar", "x-telegram-field-docs": true}, "video_size_max": {"type": "string", "pattern": "^-?\\d+$", "description": "Tamanho máximo de vídeos para pré-carregar", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_size_max": {"type": "string", "pattern": "^-?\\d+$", "description": "Tamanho máximo de outros arquivos para pré-carregar", "x-tl-type": "long", "x-telegram-field-docs": true}, "video_upload_maxbitrate": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Taxa de bits máxima sugerida para **enviar** vídeos", "x-telegram-field-docs": true}, "small_queue_active_operations_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Um limite, especificando o número máximo de arquivos que devem ser baixados em paralelo do mesmo DC, para arquivos menores que 20 MB.", "x-telegram-field-docs": true}, "large_queue_active_operations_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Um limite, especificando o número máximo de arquivos que devem ser baixados em paralelo do mesmo DC, para arquivos maiores que 20MB.", "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": "Configurações de download automático de mídia", "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": "Predefinição de baixo uso de dados", "x-telegram-field-docs": true}, "medium": {"type": "object", "x-tl-type": "AutoDownloadSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoDownloadSettings"]}}, "description": "Predefinição de uso médio de dados", "x-telegram-field-docs": true}, "high": {"type": "object", "x-tl-type": "AutoDownloadSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoDownloadSettings"]}}, "description": "Predefinição de alto uso de dados", "x-telegram-field-docs": true}}, "required": ["_", "low", "medium", "high"], "additionalProperties": false}, "emojiKeyword": {"title": "emojiPalavra-chave", "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiKeyword"]}, "keyword": {"type": "string", "x-tl-type": "string"}, "emoticons": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}}, "required": ["_", "keyword", "emoticons"], "additionalProperties": false}, "emojiKeywordDeleted": {"title": "emojiKeywordDeleted", "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiKeywordDeleted"]}, "keyword": {"type": "string", "x-tl-type": "string"}, "emoticons": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}}, "required": ["_", "keyword", "emoticons"], "additionalProperties": false}, "emojiKeywordsDifference": {"title": "emojiPalavras-chaveDiferença", "description": "Mudanças nas palavras-chave 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 palavras-chave", "x-telegram-field-docs": true}, "from_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Versão anterior da lista de palavras-chave emoji", "x-telegram-field-docs": true}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Versão atual da lista de palavras-chave 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 TL: EmojiKeyword."}, "x-tl-type": "Vector<EmojiKeyword>", "description": "Emojis associados a palavras-chave", "x-telegram-field-docs": true}}, "required": ["_", "lang_code", "from_version", "version", "keywords"], "additionalProperties": false}, "emojiURL": {"title": "emojiURL", "description": "Um HTTP URL que pode ser usado para fazer login automaticamente na plataforma de tradução e sugerir novas substituições de emojis. O URL será válido por 30 segundos após a geração", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiURL"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiURL"]}, "url": {"type": "string", "x-tl-type": "string", "description": "Um HTTP URL que pode ser usado para fazer login automaticamente na plataforma de tradução e sugerir novas substituições de emojis. O URL será válido por 30 segundos após a geração", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "emojiLanguage": {"title": "emojiIdioma", "description": "Linguagem 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 do idioma", "x-telegram-field-docs": true}}, "required": ["_", "lang_code"], "additionalProperties": false}, "folder": {"title": "pasta", "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: ChatPhoto.", "x-tl-flag": "flags.3?ChatPhoto"}}, "required": ["_", "id", "title"], "additionalProperties": false}, "inputFolderPeer": {"title": "inputFolderPeer", "description": "Peer em uma pasta", "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": "Par", "x-telegram-field-docs": true}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[ID da pasta peer, para mais informações clique aqui](https://core.telegram.org/api/folders.md#peer-folders)", "x-telegram-field-docs": true}}, "required": ["_", "peer", "folder_id"], "additionalProperties": false}, "folderPeer": {"title": "pastaPeer", "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 quantos resultados seriam encontrados por uma chamada [messages.search](https://core.telegram.org/method/messages.search.md) com os mesmos 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": "Se definido, os resultados podem ser inexatos", "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 mensagens fornecido", "x-telegram-field-docs": true}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de resultados encontrados no servidor", "x-telegram-field-docs": true}}, "required": ["_", "filter", "count"], "additionalProperties": false}, "urlAuthResultRequest": {"title": "urlAuthResultRequest", "description": "Detalhes sobre a solicitação de autorização, para mais informações [clique aqui »](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": "Se o bot gostaria de enviar mensagens ao usuário", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "request_phone_number": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "O aplicativo/site está solicitando o número de telefone do usuário; se o usuário consentir, defina `share_phone_number` ao ligar para [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ó pode ser definido se `match_codes` também estiver definido; se definido, os clientes devem pedir ao usuário para selecionar o código correspondente *antes* de mostrar o restante da UI de confirmação de login e devem validar a seleção com [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": "Defina se uma solicitação OAuth foi originada de um aplicativo e não de um site; quando definido, `domain` deve ser substituído no prompt de confirmação por `verified_app_name` (se presente) ou \"Aplicativo não verificado\"", "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": "O nome de domínio do site no qual o usuário fará login.", "x-telegram-field-docs": true}, "browser": {"type": "string", "x-tl-type": "string", "description": "O navegador que o usuário usou para fazer a solicitação OAuth", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "platform": {"type": "string", "x-tl-type": "string", "description": "A plataforma (sistema operacional) do usuário que fez a solicitação OAuth", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "ip": {"type": "string", "x-tl-type": "string", "description": "O endereço IP do usuário que faz a solicitação OAuth", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "region": {"type": "string", "x-tl-type": "string", "description": "A localização do usuário, inferida a partir do endereço 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": "Uma lista de emojis ou códigos, um dos quais está sendo exibido na página de login do site/aplicativo; o usuário deve selecionar o correspondente e passá-lo para [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": "Pode conter o ID da conta para a qual a solicitação de login foi criada; se corresponder a uma conta logada, os clientes deverão mudar automaticamente para essa conta e invocar novamente [messages.requestUrlAuth](https://core.telegram.org/method/messages.requestUrlAuth.md) antes de mostrar o prompt", "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": "Só pode ser definido se `is_app` estiver definido e o aplicativo for verificado; deve substituir `domain` no prompt de confirmação quando presente", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?string"}, "tc_session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.9?long"}, "tc_client_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.10?string"}}, "required": ["_", "bot", "domain"], "additionalProperties": false}, "urlAuthResultAccepted": {"title": "urlAuthResultAceito", "description": "Detalhes sobre uma solicitação de autorização aceita, para mais informações [clique aqui »](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": "Se presente, o URL para abrir no navegador externo (pode usar um esquema personalizado para mudar diretamente para outro aplicativo); se ausente, o login foi bem-sucedido e os clientes deverão simplesmente mostrar um brinde de confirmação.  Sempre definido para [botão do bot URL autorização](https://core.telegram.org/api/url-authorization.md#bot-button-url-authorization) e [link URL autorização](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": "Detalhes sobre uma solicitação de autorização aceita, para mais informações [clique aqui »](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": "canalLocationEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelLocationEmpty"]}}, "required": ["_"], "additionalProperties": false}, "channelLocation": {"title": "localização do canal", "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": "peerLocalizado", "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": "peerSelfLocated", "type": "object", "properties": {"_": {"type": "string", "enum": ["peerSelfLocated"]}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "expires"], "additionalProperties": false}, "restrictionReason": {"title": "restriçãoMotivo", "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": "ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acesso", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputThemeSlug": {"title": "entradaThemeSlug", "description": "Tema por ID do 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 exclusivo obtido de um [link direto do 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": "Se o usuário atual é o criador deste tema", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "default": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este é o tema padrão", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "for_chat": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este tema deve ser usado como [tema de bate-papo](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 do tema", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acesso ao tema", "x-tl-type": "long", "x-telegram-field-docs": true}, "slug": {"type": "string", "x-tl-type": "string", "description": "ID de tema exclusivo", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nome do 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 TL: ThemeSettings."}, "x-tl-type": "Vector<ThemeSettings>", "description": "Configurações de tema", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Vector<ThemeSettings>"}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji de tema", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?string"}, "installs_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Contagem de instalações", "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": "Nenhum novo tema foi instalado", "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 usado para cache, para mais informações clique aqui](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 login (para [login com 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": "Data de validade do código QR", "x-telegram-field-docs": true}, "token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Token para renderizar em código QR", "x-telegram-field-docs": true}}, "required": ["_", "expires", "token"], "additionalProperties": false}, "auth.loginTokenMigrateTo": {"title": "auth.loginTokenMigrateTo", "description": "Repita a consulta para o 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 do DC", "x-telegram-field-docs": true}, "token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Token a ser usado para login", "x-telegram-field-docs": true}}, "required": ["_", "dc_id", "token"], "additionalProperties": false}, "auth.loginTokenSuccess": {"title": "auth.loginTokenSuccess", "description": "Login via token (código QR) bem-sucedido!", "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": "Informações de autorização", "x-telegram-field-docs": true}}, "required": ["_", "authorization"], "additionalProperties": false}, "account.contentSettings": {"title": "account.contentSettings", "description": "Configurações de conteúdo confidencial", "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": "Se a visualização de conteúdo confidencial (NSFW) está habilitada", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "sensitive_can_change": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o cliente atual pode alterar as configurações de conteúdo confidencial para visualizar o conteúdo NSFW", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}}, "required": ["_"], "additionalProperties": false}, "messages.inactiveChats": {"title": "messages.inactiveChats", "description": "Lista de bate-papo inativa", "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": "Quando o chat esteve ativo pela ú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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Lista de bate-papo", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados na lista de bate-papo", "x-telegram-field-docs": true}}, "required": ["_", "dates", "chats", "users"], "additionalProperties": false}, "baseThemeClassic": {"title": "baseThemeClassic", "description": "Tema clássico", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeClassic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeClassic"]}}, "required": ["_"], "additionalProperties": false}, "baseThemeDay": {"title": "baseThemeDay", "description": "Tema do dia", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeDay"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeDay"]}}, "required": ["_"], "additionalProperties": false}, "baseThemeNight": {"title": "baseThemeNight", "description": "Tema noturno", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeNight"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeNight"]}}, "required": ["_"], "additionalProperties": false}, "baseThemeTinted": {"title": "baseThemeTinted", "description": "Tema colorido", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeTinted"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeTinted"]}}, "required": ["_"], "additionalProperties": false}, "baseThemeArctic": {"title": "baseThemeArctic", "description": "Tema Ártico", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeArctic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeArctic"]}}, "required": ["_"], "additionalProperties": false}, "inputThemeSettings": {"title": "configurações de tema de entrada", "description": "Configurações de 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": "Se definido, o preenchimento gradiente de forma livre precisa ser animado em cada mensagem enviada", "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 padrão no qual este tema é baseado", "x-telegram-field-docs": true}, "accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Cor de destaque, formato ARGB", "x-telegram-field-docs": true}, "outbox_accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Cor de destaque das mensagens enviadas no 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": "O preenchimento a ser usado como plano de fundo para mensagens enviadas, no formato RGB24.  Se apenas uma ou duas cores iguais forem fornecidas, descreve um preenchimento sólido de um plano de fundo.  Se forem fornecidas duas cores diferentes, descreve as cores superior e inferior de um gradiente de 0 graus. Se forem fornecidas três ou quatro cores, descreve um preenchimento gradiente de forma livre de um plano de fundo.", "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) ou [inputWallPaperSlug](https://core.telegram.org/constructor/inputWallPaper.md) ao passar arquivos de papel de parede para papéis de parede [image](https://core.telegram.org/api/wallpapers.md#image-wallpapers) ou [pattern](https://core.telegram.org/api/wallpapers.md#pattern-wallpapers), [inputWallPaperNoFile](https://core.telegram.org/constructor/inputWallPaperNoFile.md) com `id=0` caso contrário.", "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": "[Papel de parede](https://core.telegram.org/api/wallpapers.md) configurações.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?WallPaperSettings"}}, "required": ["_", "base_theme", "accent_color"], "additionalProperties": false}, "themeSettings": {"title": "configurações do tema", "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 TL: BaseTheme."}, "accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "outbox_accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "message_colors": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.0?Vector<int>"}, "wallpaper": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "Tipo TL: Papel de parede.", "x-tl-flag": "flags.1?WallPaper"}}, "required": ["_", "base_theme", "accent_color"], "additionalProperties": false}, "webPageAttributeTheme": {"title": "webPageAttributeTheme", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageAttributeTheme"]}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "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 TL: ThemeSettings.", "x-tl-flag": "flags.1?ThemeSettings"}}, "required": ["_"], "additionalProperties": false}, "webPageAttributeStory": {"title": "webPageAttributeStory", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageAttributeStory"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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 TL: StoryItem.", "x-tl-flag": "flags.0?StoryItem"}}, "required": ["_", "peer", "id"], "additionalProperties": false}, "webPageAttributeStickerSet": {"title": "webPageAttributeStickerSet", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageAttributeStickerSet"]}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "text_color": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "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-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "emoji_id"], "additionalProperties": false}, "messages.votesList": {"title": "messages.votesList", "description": "Como os usuários votaram em uma enquete", "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 as opções (ou apenas para o escolhido `option`, se fornecido 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 TL: MessagePeerVote."}, "x-tl-type": "Vector<MessagePeerVote>", "description": "Informações de voto para cada usuário", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações sobre usuários que votaram na enquete", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento para usar com a próxima solicitação [messages.getPollVotes](https://core.telegram.org/method/messages.getPollVotes.md), string vazia se não houver mais resultados disponíveis.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "count", "votes", "chats", "users"], "additionalProperties": false}, "bankCardOpenUrl": {"title": "bancoCardOpenUrl", "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": "Informações do cartão de crédito, fornecidas pelo(s) banco(s) do cartão", "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 do cartão 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 TL: BankCardOpenUrl."}, "x-tl-type": "Vector<BankCardOpenUrl>", "description": "Informações URL(s) fornecidas pelo(s) banco(s) do cartão", "x-telegram-field-docs": true}}, "required": ["_", "title", "open_urls"], "additionalProperties": false}, "dialogFilter": {"title": "diálogoFiltro", "description": "Filtro de caixa de diálogo AKA [pasta](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": "Se todos os contatos devem ser incluídos nesta [pasta](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": "Se todos os não-contatos devem ser incluídos nesta [pasta](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": "Se todos os grupos devem ser incluídos nesta [pasta](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": "Se todos os canais devem ser incluídos nesta [pasta](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": "Se todos os bots devem ser incluídos nesta [pasta](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": "Se deseja excluir bate-papos silenciados desta [pasta](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": "Se deseja excluir chats de leitura desta [pasta](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": "Se deseja excluir bate-papos arquivados desta [pasta](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": "Se definido, quaisquer emojis animados presentes em `title` não deverão ser animados e deverão ser congelados no primeiro quadro.", "x-telegram-field-docs": true, "x-tl-flag": "flags.28?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Pasta](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": "[Nome da pasta](https://core.telegram.org/api/folders.md) (máximo de 12 UTF-8 caracteres)", "x-telegram-field-docs": true}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji para usar como ícone da pasta.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?string"}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Um ID de cor para a tag [folder associada a esta pasta, veja aqui »](https://core.telegram.org/api/folders.md#folder-tags) para mais informações.", "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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Bate-papos fixados, [pastas](https://core.telegram.org/api/folders.md) podem ter bate-papos fixados 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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Inclua os seguintes chats nesta [pasta](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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Exclua os seguintes chats desta [pasta](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": "Usado somente ao reordenar pastas para indicar a pasta padrão (todos os bate-papos).", "externalDocs": {"url": "https://core.telegram.org/constructor/dialogFilterDefault"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["dialogFilterDefault"]}}, "required": ["_"], "additionalProperties": false}, "dialogFilterChatlist": {"title": "dialogFilterChatlist", "description": "Uma pasta importada usando um [link direto da pasta de bate-papo »](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": "Se o usuário atual criou alguns [links diretos da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links) para compartilhar a pasta também.", "x-telegram-field-docs": true, "x-tl-flag": "flags.26?true"}, "title_noanimate": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, quaisquer emojis animados presentes em `title` não deverão ser animados e deverão ser congelados no primeiro quadro.", "x-telegram-field-docs": true, "x-tl-flag": "flags.28?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da pasta", "x-telegram-field-docs": true}, "title": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Nome da pasta (máximo de 12 UTF-8 caracteres)", "x-telegram-field-docs": true}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji para usar como ícone da pasta.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?string"}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Um ID de cor para a tag [folder associada a esta pasta, veja aqui »](https://core.telegram.org/api/folders.md#folder-tags) para mais informações.", "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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Bate-papos fixados, [pastas](https://core.telegram.org/api/folders.md) podem ter bate-papos fixados 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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Bate-papos para incluir na pasta", "x-telegram-field-docs": true}}, "required": ["_", "id", "title", "pinned_peers", "include_peers"], "additionalProperties": false}, "dialogFilterSuggested": {"title": "dialogFilterSuggested", "description": "[pastas](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": "[Informações da pasta](https://core.telegram.org/api/folders.md)", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "[Pasta](https://core.telegram.org/api/folders.md) descrição", "x-telegram-field-docs": true}}, "required": ["_", "filter", "description"], "additionalProperties": false}, "statsDateRangeDays": {"title": "estatí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": "estatí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": "estatísticasPercentValue", "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": "estatísticasGraphAsync", "description": "Este [gráfico de estatísticas do canal](https://core.telegram.org/api/stats.md) deve ser gerado de forma assíncrona usando [stats.loadAsyncGraph](https://core.telegram.org/method/stats.loadAsyncGraph.md) para reduzir a carga do 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 a ser usado para buscar o gráfico assíncrono", "x-telegram-field-docs": true}}, "required": ["_", "token"], "additionalProperties": false}, "statsGraphError": {"title": "estatísticasGraphError", "description": "Ocorreu um erro ao gerar o [gráfico de estatí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": "O erro", "x-telegram-field-docs": true}}, "required": ["_", "error"], "additionalProperties": false}, "statsGraph": {"title": "gráfico de estatísticas", "description": "[Gráfico de estatísticas do 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": "Dados estatísticos", "x-telegram-field-docs": true}, "zoom_token": {"type": "string", "x-tl-type": "string", "description": "Token de zoom", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "json"], "additionalProperties": false}, "stats.broadcastStats": {"title": "stats.broadcastStats", "description": "[Estatísticas do 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": "Período em consideração", "x-telegram-field-docs": true}, "followers": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Alteração na contagem de seguidores para o período em consideração", "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 postagens postadas durante o período em consideração.  Observe que, neste caso, `current` refere-se ao `period` em consideração (`min_date` até `max_date`) e `prev` refere-se ao período anterior (`(min_date - (max_date - min_date))` até `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 postagens postadas durante o período considerado.  Observe que, neste caso, `current` refere-se ao `period` em consideração (`min_date` até `max_date`) e `prev` refere-se ao período anterior (`(min_date - (max_date - min_date))` até `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 postagens postadas durante o período considerado.  Observe que, neste caso, `current` refere-se ao `period` em consideração (`min_date` até `max_date`) e `prev` refere-se ao período anterior (`(min_date - (max_date - min_date))` até `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 postagens postadas durante o período em consideração.  Observe que, neste caso, `current` refere-se ao `period` em consideração (`min_date` até `max_date`) e `prev` refere-se ao período anterior (`(min_date - (max_date - min_date))` até `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 postagens postadas durante o período considerado.  Observe que, neste caso, `current` refere-se ao `period` em consideração (`min_date` até `max_date`) e `prev` refere-se ao período anterior (`(min_date - (max_date - min_date))` até `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 postagens postadas durante o período em consideração.  Observe que, neste caso, `current` refere-se ao `period` em consideração (`min_date` até `max_date`) e `prev` refere-se ao período anterior (`(min_date - (max_date - min_date))` até `min_date`)", "x-telegram-field-docs": true}, "enabled_notifications": {"type": "object", "x-tl-type": "StatsPercentValue", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsPercentValue"]}}, "description": "Porcentagem de assinantes com notificações 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 crescimento do canal (contagem absoluta de inscritos)", "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 crescimento de seguidores (contagem relativa de assinantes)", "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 usuários 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 visualizações por hora (absoluta)", "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 interações (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 interações IV (absoluto)", "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": "Visualizações por gráfico de origem (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": "Novos seguidores por gráfico de origem (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 do idioma do assinante (gráfico de pizza)", "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": "Um gráfico contendo o número de reações em postagens categorizadas por emoção", "x-telegram-field-docs": true}, "story_interactions_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Um gráfico contendo o número de visualizações e compartilhamentos de histórias", "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": "Um gráfico contendo o número de reações em histórias categorizadas por emoção", "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 TL: PostInteractionCounters."}, "x-tl-type": "Vector<PostInteractionCounters>", "description": "Estatísticas detalhadas sobre o número de visualizações e compartilhamentos de mensagens e histórias enviadas recentemente", "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": "Nenhuma informação PSA/MTProxy está disponível", "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": "Busque novamente as informações de PSA/MTProxy após o número especificado de segundos", "x-telegram-field-docs": true}}, "required": ["_", "expires"], "additionalProperties": false}, "help.promoData": {"title": "help.promoData", "description": "Um conjunto de sugestões úteis e um peer patrocinado por PSA/MTProxy, veja [aqui »](https://core.telegram.org/api/config.md#suggestions) para mais informações.", "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": "Definido ao conectar usando um MTProxy que configurou um peer associado (que será passado em `peer`, i.e. o canal que patrocinou o MTProxy) que deve ser fixado no topo da 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 quando invocar novamente [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 ponto", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Peer"}, "psa_type": {"type": "string", "x-tl-type": "string", "description": "Para Anúncio de Serviço Público `peer`s, indica o tipo de PSA.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "psa_message": {"type": "string", "x-tl-type": "string", "description": "Para Anúncio de Serviço Público `peer`s, contém o próprio PSA.", "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": "Contém uma lista de [sugestões pendentes »](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": "Contém uma lista de [sugestões 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": "Contém uma lista de [sugestões pendentes personalizadas »](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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Informações de bate-papo", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações do usuário", "x-telegram-field-docs": true}}, "required": ["_", "expires", "pending_suggestions", "dismissed_suggestions", "chats", "users"], "additionalProperties": false}, "videoSize": {"title": "tamanho do vídeo", "description": "Uma [foto de perfil animada](https://core.telegram.org/api/files.md#animated-profile-pictures) no 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": "Largura do vídeo", "x-telegram-field-docs": true}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Altura do vídeo", "x-telegram-field-docs": true}, "size": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tamanho do arquivo", "x-telegram-field-docs": true}, "video_start_ts": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Carimbo de data/hora que deve ser mostrado como visualização estática para o usuário (segundos)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?double"}}, "required": ["_", "type", "w", "h", "size"], "additionalProperties": false}, "videoSizeEmojiMarkup": {"title": "videoSizeEmojiMarkup", "description": "Uma [foto de perfil animada](https://core.telegram.org/api/files.md#animated-profile-pictures) baseada em um [adesivo emoji personalizado](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): o adesivo de emoji personalizado é mostrado no centro da foto do perfil e ocupa no máximo 67% dela.", "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 ou 4 RBG-24 cores usadas para gerar um fundo sólido (1), gradiente (2) ou gradiente de forma livre (3, 4), semelhante a como [papéis de parede de preenchimento](https://core.telegram.org/api/wallpapers.md#fill-types) são gerados. O ângulo de rotação para fundos gradientes é 0.", "x-telegram-field-docs": true}}, "required": ["_", "emoji_id", "background_colors"], "additionalProperties": false}, "videoSizeStickerMarkup": {"title": "videoSizeStickerMarkup", "description": "Uma [foto de perfil animada](https://core.telegram.org/api/files.md#animated-profile-pictures) baseada em um [adesivo](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 adesivos", "x-telegram-field-docs": true}, "sticker_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do adesivo", "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 ou 4 RBG-24 cores usadas para gerar um fundo sólido (1), gradiente (2) ou gradiente de forma livre (3, 4), semelhante a como [papéis de parede de preenchimento](https://core.telegram.org/api/wallpapers.md#fill-types) são gerados. O ângulo de rotação para fundos gradientes é 0.", "x-telegram-field-docs": true}}, "required": ["_", "stickerset", "sticker_id", "background_colors"], "additionalProperties": false}, "statsGroupTopPoster": {"title": "estatísticasGroupTopPoster", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsGroupTopPoster"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "messages": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "avg_chars": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "messages", "avg_chars"], "additionalProperties": false}, "statsGroupTopAdmin": {"title": "estatísticasGroupTopAdmin", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsGroupTopAdmin"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "deleted": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "kicked": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "banned": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "deleted", "kicked", "banned"], "additionalProperties": false}, "statsGroupTopInviter": {"title": "estatísticasGroupTopInviter", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsGroupTopInviter"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "invitations": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "invitations"], "additionalProperties": false}, "stats.megagroupStats": {"title": "stats.megagroupStats", "description": "Supergrupo [estatí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": "Período em consideração", "x-telegram-field-docs": true}, "members": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Alteração na contagem de membros para o período em consideração", "x-telegram-field-docs": true}, "messages": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Alteração do número da mensagem para o período em consideração", "x-telegram-field-docs": true}, "viewers": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Número de usuários que visualizaram mensagens, considerando o intervalo", "x-telegram-field-docs": true}, "posters": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Número de usuários que postaram mensagens, considerando o intervalo", "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 crescimento do supergrupo (contagem absoluta de assinantes)", "x-telegram-field-docs": true}, "members_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Crescimento de membros (contagem relativa de assinantes)", "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": "Novos membros por gráfico de origem", "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 do idioma do assinante (gráfico de pizza)", "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 atividades de mensagens (gráfico de barras empilhadas, tipo de mensagem)", "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 atividades do grupo (mensagens excluídas, modificadas, usuários 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 atividade por hora (absoluto)", "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 atividade por dia da 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 TL: StatsGroupTopPoster."}, "x-tl-type": "Vector<StatsGroupTopPoster>", "description": "Informações sobre os membros mais ativos do 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 TL: StatsGroupTopAdmin."}, "x-tl-type": "Vector<StatsGroupTopAdmin>", "description": "Informações sobre os administradores de grupo mais ativos", "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 TL: StatsGroupTopInviter."}, "x-tl-type": "Vector<StatsGroupTopInviter>", "description": "Informações sobre os convidadores de grupos mais ativos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações sobre usuários mencionados nas estatí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": "configurações globais de privacidade", "description": "Configurações globais de privacidade", "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": "Se deve arquivar e silenciar novos bate-papos de pessoas que não são contatos", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "keep_archived_unmuted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se os bate-papos com som ativado serão mantidos na lista de bate-papos arquivados quando receberem uma nova mensagem.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "keep_archived_folders": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se os bate-papos com som ativado, sempre incluídos ou fixados em uma [pasta](https://core.telegram.org/api/folders.md), serão mantidos na lista de bate-papo do Arquivo quando receberem uma nova mensagem. Ignorado se `keep_archived_unmuted` estiver definido.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "hide_read_marks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se este sinalizador estiver definido, a chave [inputPrivacyKeyStatusTimestamp](https://core.telegram.org/constructor/inputPrivacyKeyStatusTimestamp.md) também se aplicará à capacidade de usar [messages.getOutboxReadDate](https://core.telegram.org/method/messages.getOutboxReadDate.md) em mensagens enviadas para nós.  Ou seja, os usuários que não podem ver *nossa* última data on-line exata devido ao valor atual da chave [inputPrivacyKeyStatusTimestamp](https://core.telegram.org/constructor/inputPrivacyKeyStatusTimestamp.md) receberão um erro `403 USER_PRIVACY_RESTRICTED` ao invocar [messages.getOutboxReadDate](https://core.telegram.org/method/messages.getOutboxReadDate.md) para buscar a data exata de leitura de uma mensagem que nos enviaram.  O sinalizador [userFull](https://core.telegram.org/constructor/userFull.md).`read_dates_private` será definido para usuários que possuem este sinalizador 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": "Veja [aqui para mais informações sobre esta bandeira »](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": "Ativa ou desativa nosso sinalizador [userFull](https://core.telegram.org/constructor/userFull.md).`display_gifts_button`: se o sinalizador [userFull](https://core.telegram.org/constructor/userFull.md).`display_gifts_button` de nós e de outro usuário estiver definido, um botão de presente deve sempre ser exibido no campo de texto em bate-papos privados com o outro usuário: uma vez clicado, a interface do usuário do presente deve ser exibida, oferecendo ao usuário opções para presentear [Telegram Premium »](https://core.telegram.org/api/premium.md#gifting-telegram-premium) assinaturas ou [Telegram Presentes »](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": "Se configurado, especifica o número de [estrelas](https://core.telegram.org/api/stars.md) que os usuários devem nos pagar para nos enviar uma mensagem, veja [aqui »](https://core.telegram.org/api/paid-messages.md) para mais informações sobre mensagens pagas.", "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": "Não permite o recebimento de tipos específicos de presentes.", "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": "A lista de países não mudou", "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": "Nome, código ISO, nome localizado e códigos/padrões telefônicos de todos os países disponíveis", "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": "Nome, código ISO, nome localizado e códigos/padrões telefônicos de todos os países disponíveis", "x-telegram-field-docs": true}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)", "x-telegram-field-docs": true}}, "required": ["_", "countries", "hash"], "additionalProperties": false}, "messageViews": {"title": "mensagensViews", "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 TL: MessageReplies.", "x-tl-flag": "flags.2?MessageReplies"}}, "required": ["_"], "additionalProperties": false}, "messages.messageViews": {"title": "messages.messageViews", "description": "Ver, contador de encaminhamento + informações sobre respostas", "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 TL: MessageViews."}, "x-tl-type": "Vector<MessageViews>", "description": "Ver, contador de encaminhamento + informações sobre respostas", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados no construtor", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados no construtor", "x-telegram-field-docs": true}}, "required": ["_", "views", "chats", "users"], "additionalProperties": false}, "messages.discussionMessage": {"title": "messages.discussionMessage", "description": "Informações sobre um [tópico de mensagens](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: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "As mensagens a partir das quais o thread é iniciado. As mensagens são retornadas em ordem cronológica inversa (i.e., em ordem decrescente de ID da mensagem).", "x-telegram-field-docs": true}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem da última resposta neste [tópico](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 da mensagem recebida mais recente lida neste [thread](https://core.telegram.org/api/threads.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "read_outbox_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem de saída lida mais recente neste [thread](https://core.telegram.org/api/threads.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de mensagens não lidas", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados no construtor", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados no construtor", "x-telegram-field-docs": true}}, "required": ["_", "messages", "unread_count", "chats", "users"], "additionalProperties": false}, "messageReplyHeader": {"title": "mensagemReplyHeader", "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 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 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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.7?Vector<MessageEntity>"}, "quote_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int"}, "todo_item_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.11?int"}, "poll_option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.12?bytes"}, "quote_rich": {"type": "array", "items": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}, "x-tl-type": "Vector<RichText>", "x-tl-flag": "flags.14?Vector<RichText>"}}, "required": ["_"], "additionalProperties": false}, "messageReplyStoryHeader": {"title": "mensagemReplyStoryHeader", "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": "mensagemRespostas", "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-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "read_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}}, "required": ["_", "replies", "replies_pts"], "additionalProperties": false}, "peerBlocked": {"title": "peerBlocked", "type": "object", "properties": {"_": {"type": "string", "enum": ["peerBlocked"]}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer_id", "date"], "additionalProperties": false}, "stats.messageStats": {"title": "stats.messageStats", "description": "Estatísticas de mensagens", "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 visualização de mensagens", "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": "Um gráfico contendo o número de reações em histórias categorizadas por emoção", "x-telegram-field-docs": true}}, "required": ["_", "views_graph", "reactions_by_emotion_graph"], "additionalProperties": false}, "groupCallDiscarded": {"title": "chamada de grupo descartada", "type": "object", "properties": {"_": {"type": "string", "enum": ["groupCallDiscarded"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "access_hash", "duration"], "additionalProperties": false}, "groupCall": {"title": "chamada de grupo", "type": "object", "properties": {"_": {"type": "string", "enum": ["groupCall"]}, "join_muted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "can_change_join_muted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "join_date_asc": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "schedule_start_subscribed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "can_start_video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "record_video_active": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true"}, "rtmp_stream": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true"}, "listeners_hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.13?true"}, "conference": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true"}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.15?true"}, "messages_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.17?true"}, "can_change_messages_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.18?true"}, "min": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "participants_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "stream_dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "record_start_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.7?int"}, "unmuted_video_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int"}, "unmuted_video_limit": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "invite_link": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.16?string"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.20?long"}, "default_send_as": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par.", "x-tl-flag": "flags.21?Peer"}}, "required": ["_", "id", "access_hash", "participants_count", "unmuted_video_limit", "version"], "additionalProperties": false}, "inputGroupCall": {"title": "entradaGroupCall", "description": "Aponta para uma [chamada de grupo](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 chamada em grupo", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acesso a chamadas em grupo", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputGroupCallSlug": {"title": "inputGroupCallSlug", "description": "Identifique uma [chamada em conferência »](https://core.telegram.org/api/group-calls.md#conference-calls) usando o slug do link de convite.\n\nEste construtor só pode ser usado para chamadas em conferência. Não pode ser usado para chats de vídeo/transmissões ao vivo, histórias ao vivo ou qualquer outro tipo de chamada em grupo.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputGroupCallSlug"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGroupCallSlug"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "Slug do [link da conferência »](https://core.telegram.org/api/links.md#conference-links).", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "inputGroupCallInviteMessage": {"title": "inputGroupCallInviteMessage", "description": "Identifica uma [chamada de conferência »](https://core.telegram.org/api/group-calls.md#conference-calls) usando sua mensagem de serviço de convite [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 do [messageActionConferenceCall](https://core.telegram.org/constructor/messageActionConferenceCall.md).", "x-telegram-field-docs": true}}, "required": ["_", "msg_id"], "additionalProperties": false}, "groupCallParticipant": {"title": "grupoCallParticipant", "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-битное целое в десятичной записи.", "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 TL: GroupCallParticipantVideo.", "x-tl-flag": "flags.6?GroupCallParticipantVideo"}, "presentation": {"type": "object", "x-tl-type": "GroupCallParticipantVideo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipantVideo"]}}, "description": "Tipo TL: GroupCallParticipantVideo.", "x-tl-flag": "flags.14?GroupCallParticipantVideo"}, "paid_stars_total": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.16?long"}}, "required": ["_", "peer", "date", "source"], "additionalProperties": false}, "phone.groupCall": {"title": "phone.groupCall", "description": "Contém informações sobre chamadas em grupo e uma página inicial do participante, consulte [obter informações sobre uma chamada em grupo »](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": "Informações sobre a chamada em grupo", "x-telegram-field-docs": true}, "participants": {"type": "array", "items": {"type": "object", "x-tl-type": "GroupCallParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}}, "description": "Tipo TL: GroupCallParticipant."}, "x-tl-type": "Vector<GroupCallParticipant>", "description": "Uma lista parcial de participantes.", "x-telegram-field-docs": true}, "participants_next_offset": {"type": "string", "x-tl-type": "string", "description": "Próximo deslocamento a ser usado ao buscar os 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados no vetor 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados no vetor de participantes", "x-telegram-field-docs": true}}, "required": ["_", "call", "participants", "participants_next_offset", "chats", "users"], "additionalProperties": false}, "phone.groupParticipants": {"title": "phone.groupParticipants", "description": "Contém uma página de participantes da chamada em grupo, consulte [obter informações sobre uma chamada em grupo »](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 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": "Se não estiver vazia, a lista especificada de participantes será parcial e mais participantes poderão ser obtidos especificando este parâmetro como `offset` em [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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Versão atual da lista de participantes, usada para aplicar e detectar lacunas nas atualizações versionadas [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 peer: chat privado com o próprio 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 peer: 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 peer: [chat](https://core.telegram.org/api/channel.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inlineQueryPeerTypeChat"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineQueryPeerTypeChat"]}}, "required": ["_"], "additionalProperties": false}, "inlineQueryPeerTypeMegagroup": {"title": "inlineQueryPeerTypeMegagroup", "description": "Tipo de peer: [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 peer: [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 peer: chat privado com um 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 uma [sessão de importação de chat específica, clique aqui para mais informações »](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 importação do histórico](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": "Contém informações sobre um arquivo de exportação de chat [gerado por um aplicativo de chat estrangeiro, clique aqui para mais informações](https://core.telegram.org/api/import.md).\nSe nenhum dos sinalizadores `pm` ou `group` estiver definido, a exportação de bate-papo especificada foi gerada a partir de um bate-papo de tipo desconhecido.", "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": "O arquivo de exportação do chat foi gerado a partir de um chat privado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "group": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "O arquivo de exportação do chat foi gerado a partir de um chat em grupo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "title": {"type": "string", "x-tl-type": "string", "description": "Título do bate-papo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}}, "required": ["_"], "additionalProperties": false}, "messages.affectedFoundMessages": {"title": "messages.affectedFoundMessages", "description": "Mensagens encontradas e afetadas por alterações", "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": "[Contagem de eventos após geração](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 foram gerados](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se for maior que zero, a solicitação deverá ser repetida para remover mais mensagens", "x-telegram-field-docs": true}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de mensagens afetadas", "x-telegram-field-docs": true}}, "required": ["_", "pts", "pts_count", "offset", "messages"], "additionalProperties": false}, "chatInviteImporter": {"title": "chatInviteImportador", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatInviteImporter"]}, "requested": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "via_chatlist": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "about": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "approved_by": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}}, "required": ["_", "user_id", "date"], "additionalProperties": false}, "messages.exportedChatInvites": {"title": "messages.exportedChatInvites", "description": "Informações sobre convites de bate-papo exportados por um 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 convites exportados pelo 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 TL: ExportedChatInvite."}, "x-tl-type": "Vector<ExportedChatInvite>", "description": "Convites exportados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações sobre o administrador", "x-telegram-field-docs": true}}, "required": ["_", "count", "invites", "users"], "additionalProperties": false}, "messages.exportedChatInvite": {"title": "messages.exportedChatInvite", "description": "Informações sobre um convite de bate-papo", "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": "Informações sobre o convite para bate-papo", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "invite", "users"], "additionalProperties": false}, "messages.exportedChatInviteReplaced": {"title": "messages.exportedChatInviteReplaced", "description": "O convite de bate-papo especificado foi substituído por outro", "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": "O convite de bate-papo substituído", "x-telegram-field-docs": true}, "new_invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "O convite que substitui o convite 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "invite", "new_invite", "users"], "additionalProperties": false}, "messages.chatInviteImporters": {"title": "messages.chatInviteImporters", "description": "Informações sobre os usuários que ingressaram no chat usando um convite de chat específico", "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 usuários que aderiram", "x-telegram-field-docs": true}, "importers": {"type": "array", "items": {"type": "object", "x-tl-type": "ChatInviteImporter", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteImporter"]}}, "description": "Tipo TL: ChatInviteImporter."}, "x-tl-type": "Vector<ChatInviteImporter>", "description": "Os usuários que aderiram", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Os usuários que aderiram", "x-telegram-field-docs": true}}, "required": ["_", "count", "importers", "users"], "additionalProperties": false}, "chatAdminWithInvites": {"title": "chatAdminWithInvites", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatAdminWithInvites"]}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "invites_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "revoked_invites_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "admin_id", "invites_count", "revoked_invites_count"], "additionalProperties": false}, "messages.chatAdminsWithInvites": {"title": "messages.chatAdminsWithInvites", "description": "Informações sobre convites de bate-papo gerados 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 TL: ChatAdminWithInvites."}, "x-tl-type": "Vector<ChatAdminWithInvites>", "description": "Informações sobre convites de bate-papo gerados 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "admins", "users"], "additionalProperties": false}, "messages.checkedHistoryImportPeer": {"title": "messages.checkedHistoryImportPeer", "description": "Contém um texto de confirmação a ser mostrado ao usuário, ao [importar histórico de chat, clique aqui para mais informações »](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": "Um texto de confirmação a ser mostrado ao usuário, ao [importar histórico 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": "Contém os pares que podem ser usados ​​para participar de um chat de vídeo/transmissão ao vivo, consulte [entrar em nome de canais próprios »](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": "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados no vetor 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados no vetor de pares", "x-telegram-field-docs": true}}, "required": ["_", "peers", "chats", "users"], "additionalProperties": false}, "phone.exportedGroupCallInvite": {"title": "phone.exportedGroupCallInvite", "description": "Um convite para uma chamada em grupo ou transmissão ao 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": "Link de convite", "x-telegram-field-docs": true}}, "required": ["_", "link"], "additionalProperties": false}, "groupCallParticipantVideoSourceGroup": {"title": "groupCallParticipantVideoSourceGroup", "type": "object", "properties": {"_": {"type": "string", "enum": ["groupCallParticipantVideoSourceGroup"]}, "semantics": {"type": "string", "x-tl-type": "string"}, "sources": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "semantics", "sources"], "additionalProperties": false}, "groupCallParticipantVideo": {"title": "grupoChamarParticipanteVídeo", "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 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": "Uma sugestão de nome curto para um pacote de adesivos", "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": "Nome curto sugerido", "x-telegram-field-docs": true}}, "required": ["_", "short_name"], "additionalProperties": false}, "botCommandScopeDefault": {"title": "botCommandScopeDefault", "description": "Os comandos serão válidos em todas as caixas 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": "Os comandos de bot especificados só serão válidos em todos os chats privados com usuários.", "externalDocs": {"url": "https://core.telegram.org/constructor/botCommandScopeUsers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botCommandScopeUsers"]}}, "required": ["_"], "additionalProperties": false}, "botCommandScopeChats": {"title": "botCommandScopeChats", "description": "Os comandos de bot especificados serão válidos em todos os [grupos e 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": "Os comandos de bot especificados serão válidos apenas para administradores de chat, em todos os [grupos e 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": "Os comandos de bot especificados serão válidos apenas em uma caixa de diálogo específica.", "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": "O diálogo", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "botCommandScopePeerAdmins": {"title": "botCommandScopePeerAdmins", "description": "Os comandos de bot especificados serão válidos para todos os administradores do [grupo ou 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": "O bate-papo", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "botCommandScopePeerUser": {"title": "botCommandScopePeerUser", "description": "Os comandos de bot especificados serão válidos apenas para um usuário específico no [grupo ou 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": "O bate-papo", "x-telegram-field-docs": true}, "user_id": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "O usuário", "x-telegram-field-docs": true}}, "required": ["_", "peer", "user_id"], "additionalProperties": false}, "account.resetPasswordFailedWait": {"title": "account.resetPasswordFailedWait", "description": "Recentemente, você solicitou uma redefinição de senha que foi cancelada. Aguarde até a data especificada antes de solicitar outra redefinição.", "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": "Aguarde até esta data antes de solicitar outra redefinição.", "x-telegram-field-docs": true}}, "required": ["_", "retry_date"], "additionalProperties": false}, "account.resetPasswordRequestedWait": {"title": "account.resetPasswordRequestedWait", "description": "Você solicitou uma redefinição de senha com sucesso. Aguarde até a data especificada antes de finalizar a redefinição.", "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": "Aguarde até esta data antes de finalizar a redefinição.", "x-telegram-field-docs": true}}, "required": ["_", "until_date"], "additionalProperties": false}, "account.resetPasswordOk": {"title": "account.resetPasswordOk", "description": "A senha 2FA foi redefinida com sucesso.", "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": "chatThemeUniqueGift", "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 TL: ThemeSettings."}, "x-tl-type": "Vector<ThemeSettings>"}}, "required": ["_", "gift", "theme_settings"], "additionalProperties": false}, "account.chatThemesNotModified": {"title": "account.chatThemesNotModified", "description": "Os temas de chat disponíveis não foram 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": "Disponível [temas de bate-papo](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 a ser passado para o método que retornou esse construtor, para evitar buscar novamente o resultado se ele não tiver sido alterado.", "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 TL: ChatTheme."}, "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados no 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados no campo `themes`.", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Próximo deslocamento para paginação.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "hash", "themes", "chats", "users"], "additionalProperties": false}, "sponsoredMessage": {"title": "mensagem patrocinada", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "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 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": "Um conjunto de mensagens patrocinadas associadas a um 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": "Se definido, especifica o número mínimo de mensagens entre mensagens patrocinadas mostradas; caso contrário, apenas uma mensagem patrocinada deverá ser mostrada após todas as mensagens comuns.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "start_delay": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para [mensagens patrocinadas para exibição nos vídeos do canal »](https://core.telegram.org/api/sponsored-messages.md#getting-sponsored-video-advertisements), o número de segundos de espera antes de exibir o primeiro anúncio.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "between_delay": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para [mensagens patrocinadas para exibição em vídeos do canal »](https://core.telegram.org/api/sponsored-messages.md#getting-sponsored-video-advertisements), o número de segundos de espera após a ocultação do anúncio anterior, antes de exibir o próximo anúncio.", "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 TL: SponsoredMessage."}, "x-tl-type": "Vector<SponsoredMessage>", "description": "Mensagens patrocinadas", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados nas mensagens patrocinadas", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados nas mensagens patrocinadas", "x-telegram-field-docs": true}}, "required": ["_", "messages", "chats", "users"], "additionalProperties": false}, "messages.sponsoredMessagesEmpty": {"title": "messages.sponsoredMessagesEmpty", "description": "Nenhuma mensagem patrocinada está disponível.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.sponsoredMessagesEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.sponsoredMessagesEmpty"]}}, "required": ["_"], "additionalProperties": false}, "searchResultsCalendarPeriod": {"title": "searchResultsCalendarPeriod", "type": "object", "properties": {"_": {"type": "string", "enum": ["searchResultsCalendarPeriod"]}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "min_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "max_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "date", "min_msg_id", "max_msg_id", "count"], "additionalProperties": false}, "messages.searchResultsCalendar": {"title": "messages.searchResultsCalendar", "description": "Informações sobre mensagens encontradas enviadas em um dia 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": "Se definido, indica que os resultados podem ser inexatos", "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 correspondentes à consulta", "x-telegram-field-docs": true}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Carimbo de data e hora inicial de mensagens anexadas", "x-telegram-field-docs": true}, "min_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data e hora final das mensagens anexadas", "x-telegram-field-docs": true}, "offset_id_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Indica a posição absoluta de `messages[0]` dentro do conjunto de resultados total com contagem `count`.  Isto é útil, por exemplo, se precisarmos exibir um contador `progress/total` (como `photo 134 of 200`, para todas as mídias em um chat, poderíamos simplesmente 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 TL: SearchResultsCalendarPeriod."}, "x-tl-type": "Vector<SearchResultsCalendarPeriod>", "description": "Usado para dividir `messages` por dias: vários construtores [SearchResultsCalendarPeriod](https://core.telegram.org/type/SearchResultsCalendarPeriod.md) são retornados, cada um contendo informações sobre a primeira, a última e o número total de mensagens correspondentes ao filtro que foram enviadas em um dia específico.   Esta informação pode ser facilmente usada para dividir o `messages` retornado por dia.", "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: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "Mensagens", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "count", "min_date", "min_msg_id", "periods", "messages", "chats", "users"], "additionalProperties": false}, "searchResultPosition": {"title": "posiçãoResultadopesquisa", "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": "Informações sobre posições esparsas de mensagens", "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 mensagens encontradas", "x-telegram-field-docs": true}, "positions": {"type": "array", "items": {"type": "object", "x-tl-type": "SearchResultsPosition", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["searchResultPosition"]}}, "description": "Tipo TL: SearchResultsPosition."}, "x-tl-type": "Vector<SearchResultsPosition>", "description": "Lista de posições de mensagens", "x-telegram-field-docs": true}}, "required": ["_", "count", "positions"], "additionalProperties": false}, "channels.sendAsPeers": {"title": "channels.sendAsPeers", "description": "Uma lista de pares que podem ser usados para enviar mensagens em um 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 TL: SendAsPeer."}, "x-tl-type": "Vector<SendAsPeer>", "description": "Pares que podem ser usados para enviar mensagens para o 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "peers", "chats", "users"], "additionalProperties": false}, "users.userFull": {"title": "users.userFull", "description": "Informações completas do usuário", "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": "Informações completas do usuário", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "full_user", "chats", "users"], "additionalProperties": false}, "messages.peerSettings": {"title": "messages.peerSettings", "description": "Configurações 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": "Configurações 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "settings", "chats", "users"], "additionalProperties": false}, "auth.loggedOut": {"title": "auth.loggedOut", "description": "[Token de autenticação futuro »](https://core.telegram.org/api/auth.md#future-auth-tokens) a ser usado em autorizações subsequentes", "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 autenticação futuro »](https://core.telegram.org/api/auth.md#future-auth-tokens) a ser usado em autorizações subsequentes", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?bytes"}}, "required": ["_"], "additionalProperties": false}, "reactionCount": {"title": "contagem de reação", "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: Reação."}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "reaction", "count"], "additionalProperties": false}, "messageReactions": {"title": "mensagemReações", "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 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 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 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 reagiram a uma mensagem específica", "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 reações correspondentes à 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 TL: MessagePeerReaction."}, "x-tl-type": "Vector<MessagePeerReaction>", "description": "Lista de pares que reagiram a uma mensagem 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Se definido, indica o próximo deslocamento a ser usado para carregar mais 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": "disponívelReação", "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": "Nenhuma nova reação está disponível", "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": "Animações e metadados associados a [reações de mensagens »](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 usado para cache, para mais informações clique aqui](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 TL: Reação Disponível."}, "x-tl-type": "Vector<AvailableReaction>", "description": "Animações e metadados associados a [reações de mensagens »](https://core.telegram.org/api/reactions.md)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "reactions"], "additionalProperties": false}, "messagePeerReaction": {"title": "mensagemPeerReaction", "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: Reação."}}, "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-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "channel", "scale", "last_timestamp_ms"], "additionalProperties": false}, "phone.groupCallStreamChannels": {"title": "phone.groupCallStreamChannels", "description": "Contém os canais disponíveis de uma chamada em grupo no modo RTMP, consulte [reproduzir uma transmissão ao 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 TL: GroupCallStreamChannel."}, "x-tl-type": "Vector<GroupCallStreamChannel>", "description": "Canais de transmissão disponíveis RTMP; pode estar vazio enquanto o editor externo não estiver enviando mídia", "x-telegram-field-docs": true}}, "required": ["_", "channels"], "additionalProperties": false}, "phone.groupCallStreamRtmpUrl": {"title": "phone.groupCallStreamRtmpUrl", "description": "Contém a publicação RTMP URL e a chave secreta da transmissão, consulte [criando e publicando uma transmissão ao vivo RTMP »](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": "Chave de fluxo secreta", "x-telegram-field-docs": true}}, "required": ["_", "url", "key"], "additionalProperties": false}, "attachMenuBotIconColor": {"title": "anexarMenuBotIconColor", "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": "anexarMenuBotIcon", "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: AttachMenuBotIconColor."}, "x-tl-type": "Vector<AttachMenuBotIconColor>", "x-tl-flag": "flags.0?Vector<AttachMenuBotIconColor>"}}, "required": ["_", "name", "icon"], "additionalProperties": false}, "attachMenuBot": {"title": "anexarMenuBot", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuBot"]}, "inactive": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "has_settings": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "request_write_access": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "show_in_attach_menu": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "show_in_side_menu": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "side_menu_disclaimer_needed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "short_name": {"type": "string", "x-tl-type": "string"}, "peer_types": {"type": "array", "items": {"type": "object", "x-tl-type": "AttachMenuPeerType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypeSameBotPM", "attachMenuPeerTypeBotPM", "attachMenuPeerTypePM", "attachMenuPeerTypeChat", "attachMenuPeerTypeBroadcast"]}}, "description": "Tipo TL: AttachMenuPeerType."}, "x-tl-type": "Vector<AttachMenuPeerType>", "x-tl-flag": "flags.3?Vector<AttachMenuPeerType>"}, "icons": {"type": "array", "items": {"type": "object", "x-tl-type": "AttachMenuBotIcon", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["attachMenuBotIcon"]}}, "description": "Tipo TL: AttachMenuBotIcon."}, "x-tl-type": "Vector<AttachMenuBotIcon>"}}, "required": ["_", "bot_id", "short_name", "icons"], "additionalProperties": false}, "attachMenuBotsNotModified": {"title": "anexarMenuBotsNotModified", "description": "A lista de miniaplicativos bot não mudou", "externalDocs": {"url": "https://core.telegram.org/constructor/attachMenuBotsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuBotsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuBots": {"title": "anexarMenuBots", "description": "Representa uma lista de [miniaplicativos bot que podem ser iniciados no menu de anexos »](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 usado para cache, para mais informações clique aqui](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: AttachMenuBot."}, "x-tl-type": "Vector<AttachMenuBot>", "description": "Lista de [mini aplicativos bot que podem ser iniciados no menu de anexos »](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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações sobre usuários/bots relacionados", "x-telegram-field-docs": true}}, "required": ["_", "hash", "bots", "users"], "additionalProperties": false}, "attachMenuBotsBot": {"title": "anexarMenuBotsBot", "description": "Representa um [mini aplicativo bot que pode ser iniciado no menu de anexos »](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 um [mini aplicativo bot que pode ser iniciado no menu de anexos »](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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações sobre usuários e bots relacionados", "x-telegram-field-docs": true}}, "required": ["_", "bot", "users"], "additionalProperties": false}, "webViewResultUrl": {"title": "webViewResultUrl", "description": "Contém o webview URL com tema apropriado e parâmetros de informações do usuário adicionados", "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": "Se definido, o aplicativo deverá ser aberto no modo de tamanho completo em vez do modo compacto.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, o aplicativo deverá ser aberto em tela cheia", "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 da sessão Webview (retornado apenas por [mini aplicativos de botão embutido](https://core.telegram.org/api/bots/webapps.md#inline-button-mini-apps), [mini aplicativos de botão de menu](https://core.telegram.org/api/bots/webapps.md#menu-button-mini-apps), [mini aplicativos de menu de anexos](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": "Webview URL para abrir", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "webViewMessageSent": {"title": "webViewMessageSent", "description": "Informações sobre uma mensagem webview in-line enviada", "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 da mensagem", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputBotInlineMessageID"}}, "required": ["_"], "additionalProperties": false}, "botMenuButtonDefault": {"title": "botMenuButtonDefault", "description": "O espaço reservado [botão de menu do bot](https://core.telegram.org/api/bots/menu.md) nunca foi retornado aos usuários: consulte [os documentos para obter mais informações](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": "botMenuButtonComandos", "description": "[Botão do menu do bot](https://core.telegram.org/api/bots/menu.md) que abre a lista de comandos do bot quando clicado.", "externalDocs": {"url": "https://core.telegram.org/constructor/botMenuButtonCommands"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botMenuButtonCommands"]}}, "required": ["_"], "additionalProperties": false}, "botMenuButton": {"title": "botMenuButton", "description": "[Botão do menu do bot](https://core.telegram.org/api/bots/menu.md) que abre um [aplicativo da web](https://core.telegram.org/api/bots/webapps.md) quando clicado.", "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 a ser exibido no botão de menu em vez de 'Menu'", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "URL de um [aplicativo web](https://core.telegram.org/api/bots/webapps.md) para abrir quando o usuário clica no botão", "x-telegram-field-docs": true}}, "required": ["_", "text", "url"], "additionalProperties": false}, "account.savedRingtonesNotModified": {"title": "account.savedRingtonesNotModified", "description": "A lista de sons de notificação não mudou.", "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": "Uma lista de sons de notificação salvos", "externalDocs": {"url": "https://core.telegram.org/constructor/account.savedRingtones"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.savedRingtones"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](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": "Sons de notificação salvos", "x-telegram-field-docs": true}}, "required": ["_", "hash", "ringtones"], "additionalProperties": false}, "notificationSoundDefault": {"title": "notificaçãoSoundDefault", "type": "object", "properties": {"_": {"type": "string", "enum": ["notificationSoundDefault"]}}, "required": ["_"], "additionalProperties": false}, "notificationSoundNone": {"title": "notificaçãoSomNenhum", "type": "object", "properties": {"_": {"type": "string", "enum": ["notificationSoundNone"]}}, "required": ["_"], "additionalProperties": false}, "notificationSoundLocal": {"title": "notificaçãoSoundLocal", "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": "notificaçãoSomRingtone", "type": "object", "properties": {"_": {"type": "string", "enum": ["notificationSoundRingtone"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id"], "additionalProperties": false}, "account.savedRingtone": {"title": "account.savedRingtone", "description": "O som de notificação já estava no formato MP3 e foi salvo sem qualquer modificação", "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": "O som de notificação não estava no formato MP3 e foi convertido e salvo com sucesso, use o [Documento](https://core.telegram.org/type/Document.md) retornado para consultar o som de notificação de agora em diante", "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": "O som de notificação convertido", "x-telegram-field-docs": true}}, "required": ["_", "document"], "additionalProperties": false}, "attachMenuPeerTypeSameBotPM": {"title": "anexarMenuPeerTypeSameBotPM", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypeSameBotPM"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuPeerTypeBotPM": {"title": "anexarMenuPeerTypeBotPM", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypeBotPM"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuPeerTypePM": {"title": "anexarMenuPeerTypePM", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypePM"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuPeerTypeChat": {"title": "anexarMenuPeerTypeChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypeChat"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuPeerTypeBroadcast": {"title": "anexarMenuPeerTypeBroadcast", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypeBroadcast"]}}, "required": ["_"], "additionalProperties": false}, "inputInvoiceMessage": {"title": "inputInvoiceMessage", "description": "Uma fatura contida em uma mensagem [messageMediaInvoice](https://core.telegram.org/constructor/messageMediaInvoice.md) ou [mídia paga »](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 para onde foi enviada a fatura/mídia paga", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id"], "additionalProperties": false}, "inputInvoiceSlug": {"title": "inputInvoiceSlug", "description": "Um slug de fatura obtido de um [link direto da fatura](https://core.telegram.org/api/links.md#invoice-links) ou do [`premium_invoice_slug` parâmetro de configuração do aplicativo »](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": "A lesma da fatura", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "inputInvoicePremiumGiftCode": {"title": "inputInvoicePremiumGiftCode", "description": "Usado se o usuário deseja iniciar um canal/supergrupo [giveaway](https://core.telegram.org/api/giveaways.md) ou enviar alguns [giftcodes](https://core.telegram.org/api/giveaways.md) para membros de um canal/supergrupo, em troca de [boosts](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": "Deve ser preenchido com [inputStorePaymentPremiumGiveaway](https://core.telegram.org/constructor/inputStorePaymentPremiumGiveaway.md) para [brindes](https://core.telegram.org/api/giveaways.md) e [inputStorePaymentPremiumGiftCode](https://core.telegram.org/constructor/inputStorePaymentPremiumGiftCode.md) para [presentes](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": "Deve ser preenchido com uma das opções de brindes retornadas por [payments.getPremiumGiftCodeOptions](https://core.telegram.org/method/payments.getPremiumGiftCodeOptions.md), consulte a documentação [brindes »](https://core.telegram.org/api/giveaways.md) para mais informações.", "x-telegram-field-docs": true}}, "required": ["_", "purpose", "option"], "additionalProperties": false}, "inputInvoiceStars": {"title": "inputInvoiceStars", "description": "Usado para recarregar o saldo [Telegram Stars](https://core.telegram.org/api/stars.md) da conta corrente ou da conta de outra pessoa, ou para iniciar um [sorteio 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": "Um [inputStorePaymentStarsGiveaway](https://core.telegram.org/constructor/inputStorePaymentStarsGiveaway.md), [inputStorePaymentStarsTopup](https://core.telegram.org/constructor/inputStorePaymentStarsTopup.md) ou [inputStorePaymentStarsGift](https://core.telegram.org/constructor/inputStorePaymentStarsGift.md).", "x-telegram-field-docs": true}}, "required": ["_", "purpose"], "additionalProperties": false}, "inputInvoiceChatInviteSubscription": {"title": "inputInvoiceChatInviteSubscrição", "description": "Usado para pagar uma [assinatura do 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": "O [link de convite da assinatura do Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions)", "x-telegram-field-docs": true}}, "required": ["_", "hash"], "additionalProperties": false}, "inputInvoiceStarGift": {"title": "inputInvoiceStarGift", "description": "Usado para comprar um [Telegram Star Gift, veja aqui »](https://core.telegram.org/api/gifts.md) para mais informações.", "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": "Se definido, seu nome ficará oculto se o usuário de destino decidir exibir o presente em seu perfil (ele ainda verá que você enviou o presente)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "include_upgrade": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Pague também por uma eventual atualização do presente para um [presente colecionável »](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": "Recebedor do presente.", "x-telegram-field-docs": true}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador do presente, 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": "Mensagem opcional, anexada ao presente.  O comprimento máximo para este campo é especificado no [stargifts_message_length_max valor de configuração do 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": "inputInvoiceStarGiftUpgrade", "description": "Usado para [pagar para atualizar um presente para um presente colecionável](https://core.telegram.org/api/gifts.md#upgrade-a-gift-to-a-collectible-gift), consulte a documentação [presentes colecionáveis »](https://core.telegram.org/api/gifts.md#collectible-gifts) para obter mais informações sobre o fluxo 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": "Defina este sinalizador para manter o texto original do presente, remetente e destinatário no presente atualizado como um 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": "O identificador do presente recebido para atualização.", "x-telegram-field-docs": true}}, "required": ["_", "stargift"], "additionalProperties": false}, "inputInvoiceStarGiftTransfer": {"title": "inputInvoiceStarGiftTransfer", "description": "Usado para [pagar para transferir um presente colecionável para outro colega](https://core.telegram.org/api/gifts.md#transferring-collectible-gifts), consulte a documentação [presentes »](https://core.telegram.org/api/gifts.md#transferring-collectible-gifts) para obter mais informações.", "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": "O identificador do presente recebido", "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": "O par de destino", "x-telegram-field-docs": true}}, "required": ["_", "stargift", "to_id"], "additionalProperties": false}, "inputInvoicePremiumGiftStars": {"title": "inputInvoicePremiumGiftStars", "description": "Usado para presentear outro usuário com uma assinatura do [Telegram Premium](https://core.telegram.org/api/premium.md), pagando com [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": "Quem receberá a assinatura presenteada.", "x-telegram-field-docs": true}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duração da assinatura em meses, deve ser uma das opções com `currency == \"XTR\"` retornado 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": "Mensagem anexada ao presente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?TextWithEntities"}}, "required": ["_", "user_id", "months"], "additionalProperties": false}, "inputInvoiceBusinessBotTransferStars": {"title": "inputInvoiceBusinessBotTransferStars", "description": "Transfira estrelas do saldo de uma conta de usuário [conectado a um business bot](https://core.telegram.org/api/bots/connected-business-bots.md), para o saldo do [business bot](https://core.telegram.org/api/bots/connected-business-bots.md), veja [aqui »](https://core.telegram.org/api/stars.md#transferring-stars-from-a-business-account-to-the-business-bot) para mais informações sobre o fluxo 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": "Sempre [inputUserSelf](https://core.telegram.org/constructor/inputUserSelf.md).", "x-telegram-field-docs": true}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "O número de estrelas a serem transferidas.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "bot", "stars"], "additionalProperties": false}, "inputInvoiceStarGiftResale": {"title": "inputInvoiceStarGiftResale", "description": "Usado para comprar um [presente colecionável](https://core.telegram.org/api/gifts.md#collectible-gifts) atualmente em revenda, veja [aqui](https://core.telegram.org/api/gifts.md#reselling-collectible-gifts) para obter mais informações sobre o fluxo 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": "Compre o presente 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": "Slug do presente 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": "O receptor do presente.", "x-telegram-field-docs": true}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo TL: TextWithEntities.", "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "slug", "to_id"], "additionalProperties": false}, "inputInvoiceStarGiftPrepaidUpgrade": {"title": "inputInvoiceStarGiftPrepaidUpgrade", "description": "[Pagamento antecipado separadamente para o upgrade de um presente »](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": "O par que possui o presente.", "x-telegram-field-docs": true}, "hash": {"type": "string", "x-tl-type": "string", "description": "O hash de atualização de [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md).`prepaid_upgrade_hash` ou [savedStarGift](https://core.telegram.org/constructor/savedStarGift.md).`prepaid_upgrade_hash`.", "x-telegram-field-docs": true}}, "required": ["_", "peer", "hash"], "additionalProperties": false}, "inputInvoicePremiumAuthCode": {"title": "inputInvoicePremiumAuthCode", "description": "Usado para pagar por códigos de login, em caso de alto custo de SMS códigos de verificação para o país/provedor do usuário, veja [aqui »](https://core.telegram.org/api/auth.md#paid-auth) para mais informações.", "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": "Deve conter um [inputStorePaymentAuthCode](https://core.telegram.org/constructor/inputStorePaymentAuthCode.md).", "x-telegram-field-docs": true}}, "required": ["_", "purpose"], "additionalProperties": false}, "inputInvoiceStarGiftDropOriginalDetails": {"title": "inputInvoiceStarGiftDropOriginalDetails", "description": "Usado para pagar pela remoção do atributo [starGiftAttributeOriginalDetails](https://core.telegram.org/constructor/starGiftAttributeOriginalDetails.md) de um presente colecionável, veja [aqui »](https://core.telegram.org/api/gifts.md#dropping-the-original-details-of-an-upgraded-gift) para o fluxo 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": "O presente colecionável cujo atributo [starGiftAttributeOriginalDetails](https://core.telegram.org/constructor/starGiftAttributeOriginalDetails.md) deve ser removido.", "x-telegram-field-docs": true}}, "required": ["_", "stargift"], "additionalProperties": false}, "inputInvoiceStarGiftAuctionBid": {"title": "inputInvoiceStarGiftAuctionBid", "description": "Usado para fazer um lance em um [leilão de presentes colecionáveis »](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": "Se definido, seu nome ficará oculto se o colega de destino decidir exibir o presente em seu perfil (ele ainda verá que você enviou o presente).     Não deve ser definido ao atualizar um lance existente, pois o valor não pode ser alterado para lances existentes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "update_bid": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Deve ser definido ao aumentar um lance já 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 do usuário ou canal (somente se [channelFull](https://core.telegram.org/constructor/channelFull.md).`stargifts_available` estiver definido) que receberá o presente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?InputPeer"}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador do presente, 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": "Valor total do lance em [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": "Mensagem opcional que será anexada ao presente se vencermos esta rodada: o comprimento máximo deste campo é especificado no [stargifts_message_length_max valor de configuração do cliente »](https://core.telegram.org/api/config.md#stargifts-message-length-max).     Não deve ser definido ao atualizar um lance existente, pois o valor não pode ser alterado para lances 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 [link direto da fatura](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 [link direto da fatura](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 uma mensagem 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": "Se a transcrição for parcial porque a transcrição do áudio ainda está em andamento, se definido, o usuário poderá receber mais atualizações [updateTransscribedAudio](https://core.telegram.org/constructor/updateTranscribedAudio.md) com a transcrição atualizada.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "transcription_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID da transcrição", "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 usuários não [Premium](https://core.telegram.org/api/premium.md), este sinalizador será definido, indicando as transcrições restantes no período de teste 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 usuários não-[Premium](https://core.telegram.org/api/premium.md), este sinalizador será definido, indicando a data em que o contador `trial_remains_num` será redefinido para o 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": "Informações da promoção Telegram Premium\n\nObserve que os campos `video_sections`+`videos` são uma lista de vídeos e os identificadores de recursos premium correspondentes.\nEles são equivalentes a uma seção => dicionário de vídeo, com chaves de `video_section` e valores de `videos`.\nAs chaves em `video_sections` correspondem a um identificador de recurso específico, e o vídeo promocional associado deve ser mostrado quando a linha do recurso associado é clicada.", "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": "Descrição do estado atual da assinatura Telegram Premium do usuário", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado](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": "Uma lista de [identificadores de recursos premium »](https://core.telegram.org/api/premium.md), associados 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": "Uma 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 TL: PremiumSubscriptionOption."}, "x-tl-type": "Vector<PremiumSubscriptionOption>", "description": "Opções de assinatura do 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações relacionadas ao usuário", "x-telegram-field-docs": true}}, "required": ["_", "status_text", "status_entities", "video_sections", "videos", "period_options", "users"], "additionalProperties": false}, "inputStorePaymentPremiumSubscription": {"title": "inputStorePaymentPremiumSubscrição", "description": "Informações sobre uma compra do 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": "Passe verdadeiro se for uma restauração de uma compra do Telegram Premium; apenas para a App Store", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "upgrade": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Passe verdadeiro se for uma atualização de uma assinatura mensal para uma assinatura anual; apenas para App Store", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}}, "required": ["_"], "additionalProperties": false}, "inputStorePaymentGiftPremium": {"title": "inputStorePaymentGiftPremium", "description": "Informações sobre uma compra de presente do Telegram Premium", "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": "O usuário ao qual a assinatura do Telegram Premium foi oferecida", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço do produto nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após a vírgula decimal para cada moeda (2 para a maioria das moedas).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentPremiumGiftCode": {"title": "inputStorePaymentPremiumGiftCode", "description": "Usado para presentear assinaturas do [Telegram Premium](https://core.telegram.org/api/premium.md) apenas para alguns assinantes específicos de um canal/supergrupo ou para alguns de nossos contatos, veja [aqui »](https://core.telegram.org/api/giveaways.md) para mais informações sobre brindes e presentes.", "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 TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Os usuários que receberão as assinaturas do [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": "Se definido, os presentes serão enviados em nome de um canal/supergrupo do qual somos administradores, que também atribuirá alguns [boosts](https://core.telegram.org/api/boost.md) a ele. Caso contrário, o presente será enviado diretamente do usuário atualmente logado e ganharemos alguns [boost slots](https://core.telegram.org/api/boost.md) extras. Veja [aqui »](https://core.telegram.org/api/giveaways.md) para mais informações sobre brindes e presentes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputPeer"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço total nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após o ponto decimal para cada moeda (2 para a maioria das moedas).", "x-tl-type": "long", "x-telegram-field-docs": true}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Mensagem anexada ao presente", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "users", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentPremiumGiveaway": {"title": "inputStorePaymentPremiumGiveaway", "description": "Costumava pagar por um [sorteio, veja aqui »](https://core.telegram.org/api/giveaways.md) para mais informações.", "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": "Se definido, apenas novos assinantes a partir da data de criação do sorteio poderão participar do sorteio.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "winners_are_visible": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, os vencedores do sorteio serão públicos e serão listados em uma mensagem [messageMediaGiveawayResults](https://core.telegram.org/constructor/messageMediaGiveawayResults.md) que será enviada automaticamente ao canal assim que o sorteio terminar.", "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": "O canal/supergrupo que inicia o sorteio, ao qual o usuário deve aderir para participar, que receberá o sorteio [boosts](https://core.telegram.org/api/boost.md); veja [aqui »](https://core.telegram.org/api/giveaways.md) para mais informações sobre brindes.", "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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Canais adicionais aos quais o usuário deve aderir para participar do sorteio podem ser especificados aqui.", "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": "O conjunto de usuários que podem participar do sorteio pode ser restringido passando aqui uma lista de permissões explícita de até [giveaway_countries_max](https://core.telegram.org/api/config.md#giveaway-countries-max) países, especificados como códigos de país ISO 3166-1 alfa-2 de duas letras.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?Vector<string>"}, "prize_description": {"type": "string", "x-tl-type": "string", "description": "Pode conter uma descrição textual de prêmios adicionais de brindes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatório para evitar o reenvio do sorteio. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID.", "x-tl-type": "long", "x-telegram-field-docs": true}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "A data de término do sorteio deve ser no máximo [giveaway_period_max](https://core.telegram.org/api/config.md#giveaway-period-max) segundos no futuro; veja [aqui »](https://core.telegram.org/api/giveaways.md) para mais informações sobre brindes.", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço total nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após o ponto decimal para cada moeda (2 para a maioria das moedas).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "boost_peer", "random_id", "until_date", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentStarsTopup": {"title": "inputStorePaymentStarsTopup", "description": "Usado para recarregar o [saldo Telegram Stars](https://core.telegram.org/api/stars.md) da conta corrente.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStorePaymentStarsTopup"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStorePaymentStarsTopup"]}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Quantidade de estrelas para recarregar", "x-tl-type": "long", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço total nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após o ponto decimal para cada moeda (2 para a maioria das moedas).", "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": "Deve ser preenchido com o par onde o processo de recarga foi iniciado devido a fundos baixos (i.e. um bot para pagamentos de bot, um canal para mídia/reações pagas, etc); deixe este sinalizador desocupado se o fluxo de recarga não foi iniciado ao tentar gastar mais estrelas do que o disponível atualmente no saldo da conta.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputPeer"}}, "required": ["_", "stars", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentStarsGift": {"title": "inputStorePaymentStarsGift", "description": "Costumava presentear [Telegram Stars](https://core.telegram.org/api/stars.md) para um 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": "O usuário ao qual as estrelas devem ser presenteadas.", "x-telegram-field-docs": true}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Quantidade de estrelas para presentear", "x-tl-type": "long", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço total nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após o ponto decimal para cada moeda (2 para a maioria das moedas).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "stars", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentStarsGiveaway": {"title": "inputStorePaymentStarsGiveaway", "description": "Costumava pagar por um [sorteio de estrelas, veja aqui »](https://core.telegram.org/api/giveaways.md#star-giveaways) para mais informações.", "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": "Se definido, apenas novos assinantes a partir da data de criação do sorteio poderão participar do sorteio.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "winners_are_visible": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, os vencedores do sorteio serão públicos e serão listados em uma mensagem [messageMediaGiveawayResults](https://core.telegram.org/constructor/messageMediaGiveawayResults.md) que será enviada automaticamente ao canal assim que o sorteio terminar.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Número total de estrelas do Telegram distribuídas (cada usuário receberá `stars/users` estrelas).", "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": "O canal/supergrupo que inicia o sorteio, ao qual o usuário deve aderir para participar, que receberá o sorteio [boosts](https://core.telegram.org/api/boost.md); veja [aqui »](https://core.telegram.org/api/giveaways.md) para mais informações sobre brindes.", "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 TL:InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Canais adicionais aos quais o usuário deve aderir para participar do sorteio podem ser especificados aqui.", "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": "O conjunto de usuários que podem participar do sorteio pode ser restringido passando aqui uma lista de permissões explícita de até [giveaway_countries_max](https://core.telegram.org/api/config.md#giveaway-countries-max) países, especificados como códigos de país ISO 3166-1 alfa-2 de duas letras.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?Vector<string>"}, "prize_description": {"type": "string", "x-tl-type": "string", "description": "Pode conter uma descrição textual de prêmios adicionais de brindes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatório para evitar o reenvio do sorteio. Consulte [aqui »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obter mais informações sobre desduplicação de ID aleatória e mapeamento updateMessageID.", "x-tl-type": "long", "x-telegram-field-docs": true}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "A data de término do sorteio deve ser no máximo [giveaway_period_max](https://core.telegram.org/api/config.md#giveaway-period-max) segundos no futuro; veja [aqui »](https://core.telegram.org/api/giveaways.md) para mais informações sobre brindes.", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço total nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após o ponto decimal para cada moeda (2 para a maioria das moedas).", "x-tl-type": "long", "x-telegram-field-docs": true}, "users": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de vencedores.", "x-telegram-field-docs": true}}, "required": ["_", "stars", "boost_peer", "random_id", "until_date", "currency", "amount", "users"], "additionalProperties": false}, "inputStorePaymentAuthCode": {"title": "inputStorePaymentAuthCode", "description": "Indica o pagamento por um código de login.", "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": "Defina este sinalizador para restaurar uma compra feita anteriormente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Número de telefone.", "x-telegram-field-docs": true}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "`phone_code_hash` retornado 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": "Duração em dias da assinatura do [Telegram Premium](https://core.telegram.org/api/premium.md) concedida por esta compra, conforme indicado em [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": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço do produto nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após a vírgula decimal para cada moeda (2 para a maioria das moedas).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "phone_number", "phone_code_hash", "premium_days", "currency", "amount"], "additionalProperties": false}, "paymentFormMethod": {"title": "pagamentoFormMethod", "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": "emojiStatusVazio", "description": "Nenhum status de emoji definido", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiStatusEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiStatusEmpty"]}}, "required": ["_"], "additionalProperties": false}, "emojiStatus": {"title": "emojiStatus", "description": "Um [status 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 do 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": "Se definido, o status do emoji ficará ativo até o horário unix especificado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "document_id"], "additionalProperties": false}, "emojiStatusCollectible": {"title": "emojiStatusCollectível", "description": "Um presente colecionável próprio ou [hospedado »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) como status de emoji.\n\n**Não pode** ser passado para [account.updateEmojiStatus](https://core.telegram.org/method/account.updateEmojiStatus.md), deve ser convertido para um [inputEmojiStatusCollectible](https://core.telegram.org/constructor/inputEmojiStatusCollectible.md) antes de passá-lo para esse 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 do colecionável (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 do [emoji personalizado](https://core.telegram.org/api/custom-emoji.md) que representa o status.", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nome do colecionável.", "x-telegram-field-docs": true}, "slug": {"type": "string", "x-tl-type": "string", "description": "Identificador exclusivo do colecionável que pode ser usado para criar um [link de presente colecionável »](https://core.telegram.org/api/links.md#collectible-gift-link) para o colecionável atual ou para obter mais informações sobre o colecionável usando [payments.getUniqueStarGift](https://core.telegram.org/method/payments.getUniqueStarGift.md).", "x-telegram-field-docs": true}, "pattern_document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "O ID de um padrão a ser aplicado no pano de fundo do perfil, correlacionado ao [starGiftAttributePattern](https://core.telegram.org/constructor/starGiftAttributePattern.md) do presente em `slug`.", "x-tl-type": "long", "x-telegram-field-docs": true}, "center_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Cor do centro do cenário do perfil no formato RGB24, do presente [starGiftAttributeBackdrop](https://core.telegram.org/constructor/starGiftAttributeBackdrop.md).", "x-telegram-field-docs": true}, "edge_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Cor das bordas do cenário do perfil no formato RGB24, do presente [starGiftAttributeBackdrop](https://core.telegram.org/constructor/starGiftAttributeBackdrop.md).", "x-telegram-field-docs": true}, "pattern_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Cor do `pattern_document_id` aplicada no cenário do perfil no formato RGB24, do [starGiftAttributeBackdrop](https://core.telegram.org/constructor/starGiftAttributeBackdrop.md) do presente.", "x-telegram-field-docs": true}, "text_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Cor do texto no pano de fundo do perfil no formato RGB24, do [starGiftAttributeBackdrop](https://core.telegram.org/constructor/starGiftAttributeBackdrop.md) do presente.", "x-telegram-field-docs": true}, "until": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se definido, o status do emoji ficará ativo até o horário unix especificado.", "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": "inputEmojiStatusCollectível", "description": "Um presente colecionável próprio ou [hospedado »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) como status de emoji: só pode ser usado em [account.updateEmojiStatus](https://core.telegram.org/method/account.updateEmojiStatus.md), nunca é devolvido pelo API.\n\nObserve que, uma vez definido, o status será retornado aos usuários como um construtor [emojiStatusCollectible](https://core.telegram.org/constructor/emojiStatusCollectible.md) (que **não** pode ser passado para [account.updateEmojiStatus](https://core.telegram.org/method/account.updateEmojiStatus.md) e deve ser convertido em um [inputEmojiStatusCollectible](https://core.telegram.org/constructor/inputEmojiStatusCollectible.md) primeiro).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEmojiStatusCollectible"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEmojiStatusCollectible"]}, "collectible_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do colecionável (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": "Se definido, o status do emoji ficará ativo até o horário unix especificado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "collectible_id"], "additionalProperties": false}, "account.emojiStatusesNotModified": {"title": "account.emojiStatusesNotModified", "description": "A lista do servidor de [status de emoji](https://core.telegram.org/api/emoji-status.md) não mudou", "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": "Uma lista de [status 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 usado para cache, para mais informações clique aqui](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 TL: EmojiStatus."}, "x-tl-type": "Vector<EmojiStatus>", "description": "[Status de emojis](https://core.telegram.org/api/emoji-status.md)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "statuses"], "additionalProperties": false}, "reactionEmpty": {"title": "reação Vazia", "description": "Sem reação", "externalDocs": {"url": "https://core.telegram.org/constructor/reactionEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionEmpty"]}}, "required": ["_"], "additionalProperties": false}, "reactionEmoji": {"title": "reaçãoEmoji", "description": "Reação normal à mensagem emoji", "externalDocs": {"url": "https://core.telegram.org/constructor/reactionEmoji"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionEmoji"]}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "reactionCustomEmoji": {"title": "reaçãoPersonalizadoEmoji", "description": "[Emoji personalizado](https://core.telegram.org/api/custom-emoji.md) reação à mensagem", "externalDocs": {"url": "https://core.telegram.org/constructor/reactionCustomEmoji"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionCustomEmoji"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[ID do 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": "reaçãoPago", "description": "Representa uma [reação paga do 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": "chatReactionsNenhum", "description": "Nenhuma reação é permitida", "externalDocs": {"url": "https://core.telegram.org/constructor/chatReactionsNone"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatReactionsNone"]}}, "required": ["_"], "additionalProperties": false}, "chatReactionsAll": {"title": "chatReactionsAll", "description": "Todas as reações ou todas as reações não personalizadas são permitidas", "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": "Se permitir reações personalizadas", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "chatReactionsSome": {"title": "bate-papoReaçõesAlguns", "description": "Algumas reações são permitidas", "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: Reação."}, "x-tl-type": "Vector<Reaction>", "description": "Conjunto permitido de reações: o campo de configuração [reactions_in_chat_max](https://core.telegram.org/api/config.md#reactions-in-chat-max) indica o número máximo de reações que podem ser especificadas neste campo.", "x-telegram-field-docs": true}}, "required": ["_", "reactions"], "additionalProperties": false}, "messages.reactionsNotModified": {"title": "messages.reactionsNotModified", "description": "A lista do servidor de [reações de mensagens](https://core.telegram.org/api/reactions.md) não mudou", "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 [reações à mensagem](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": "O hash usado para armazenamento em cache também pode ser regenerado localmente usando o algoritmo especificado [aqui »](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: Reação."}, "x-tl-type": "Vector<Reaction>", "description": "Reações", "x-telegram-field-docs": true}}, "required": ["_", "hash", "reactions"], "additionalProperties": false}, "emailVerifyPurposeLoginSetup": {"title": "emailVerifyPurposeLoginSetup", "description": "Finalidade da verificação de e-mail: configurar e-mail de login", "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 telefone", "x-telegram-field-docs": true}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash do código do telefone conforme especificado pela [documentação](https://core.telegram.org/api/auth.md#email-verification)", "x-telegram-field-docs": true}}, "required": ["_", "phone_number", "phone_code_hash"], "additionalProperties": false}, "emailVerifyPurposeLoginChange": {"title": "emailVerificarPurposeLoginAlterar", "description": "Finalidade da verificação de e-mail: alterar e-mail de login", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerifyPurposeLoginChange"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerifyPurposeLoginChange"]}}, "required": ["_"], "additionalProperties": false}, "emailVerifyPurposePassport": {"title": "emailVerifyPurposePassport", "description": "Verifique um e-mail para uso em [passaporte telegrama](https://core.telegram.org/api/passport.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerifyPurposePassport"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerifyPurposePassport"]}}, "required": ["_"], "additionalProperties": false}, "emailVerificationCode": {"title": "emailVerificationCode", "description": "Código de verificação de e-mail", "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 verificação recebido", "x-telegram-field-docs": true}}, "required": ["_", "code"], "additionalProperties": false}, "emailVerificationGoogle": {"title": "e-mailVerificaçãoGoogle", "description": "Token de verificação de e-mail do ID do Google", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerificationGoogle"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerificationGoogle"]}, "token": {"type": "string", "x-tl-type": "string", "description": "Símbolo", "x-telegram-field-docs": true}}, "required": ["_", "token"], "additionalProperties": false}, "emailVerificationApple": {"title": "emailVerificaçãoApple", "description": "Token de verificação de e-mail Apple ID", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerificationApple"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerificationApple"]}, "token": {"type": "string", "x-tl-type": "string", "description": "Símbolo", "x-telegram-field-docs": true}}, "required": ["_", "token"], "additionalProperties": false}, "account.emailVerified": {"title": "account.emailVerified", "description": "O e-mail foi verificado corretamente.", "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": "O endereço de e-mail verificado.", "x-telegram-field-docs": true}}, "required": ["_", "email"], "additionalProperties": false}, "account.emailVerifiedLogin": {"title": "account.emailVerifiedLogin", "description": "O e-mail foi verificado corretamente e um código de login acabou de ser enviado para ele.", "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": "O endereço de e-mail verificado.", "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": "Informações sobre o [código de login](https://core.telegram.org/api/auth.md) enviado", "x-telegram-field-docs": true}}, "required": ["_", "email", "sent_code"], "additionalProperties": false}, "premiumSubscriptionOption": {"title": "opção de assinatura 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-битное целое в десятичной записи.", "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": "enviarAsPeer", "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": "mensagemExtendedMediaPreview", "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: PhotoSize.", "x-tl-flag": "flags.1?PhotoSize"}, "video_duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}}, "required": ["_"], "additionalProperties": false}, "messageExtendedMedia": {"title": "mensagemExtendedMedia", "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 TL: MessageMedia."}}, "required": ["_", "media"], "additionalProperties": false}, "stickerKeyword": {"title": "adesivoKeyword", "type": "object", "properties": {"_": {"type": "string", "enum": ["stickerKeyword"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "keyword": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}}, "required": ["_", "document_id", "keyword"], "additionalProperties": false}, "username": {"title": "nome de usuário", "type": "object", "properties": {"_": {"type": "string", "enum": ["username"]}, "editable": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "active": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "deletable": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "expired": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "username": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "username"], "additionalProperties": false}, "forumTopicDeleted": {"title": "forumTopicDeleted", "type": "object", "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id"], "additionalProperties": false}, "forumTopic": {"title": "tópico do fórum", "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-битное целое в десятичной записи.", "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 TL: PeerNotifySettings."}, "draft": {"type": "object", "x-tl-type": "DraftMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["draftMessageEmpty", "draftMessage"]}}, "description": "Tipo TL: DraftMessage.", "x-tl-flag": "flags.4?DraftMessage"}}, "required": ["_", "id", "date", "peer", "title", "icon_color", "top_message", "read_inbox_max_id", "read_outbox_max_id", "unread_count", "unread_mentions_count", "unread_reactions_count", "unread_poll_votes_count", "from_id", "notify_settings"], "additionalProperties": false}, "messages.forumTopics": {"title": "messages.forumTopics", "description": "Contém informações sobre vários [tópicos do fórum](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": "Se os tópicos retornados estão ordenados por data de criação; se definido, a paginação por `offset_date` deve usar [forumTopic](https://core.telegram.org/constructor/forumTopic.md).`date`; caso contrário, os tópicos serão ordenados pela data da última mensagem, então paginar pelo `date` da [mensagem](https://core.telegram.org/type/Message.md) referenciada por [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-битное целое в десятичной записи.", "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 tópicos correspondentes à consulta; pode ser mais do que os tópicos contidos em `topics`, caso em que [paginação](https://core.telegram.org/api/offsets.md) é necessária.", "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: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "description": "Tópicos do fórum", "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: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "Mensagens relacionadas (contém as mensagens mencionadas 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários relacionados", "x-telegram-field-docs": true}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Contagem de eventos após geração](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}}, "required": ["_", "count", "topics", "messages", "chats", "users", "pts"], "additionalProperties": false}, "defaultHistoryTTL": {"title": "histórico padrãoTTL", "description": "Contém informações sobre o valor padrão da configuração Time-To-Live, aplicado a todos os novos chats.", "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": "Configuração Time-To-Live aplicada a todos os novos bate-papos.", "x-telegram-field-docs": true}}, "required": ["_", "period"], "additionalProperties": false}, "exportedContactToken": {"title": "exportadoContactToken", "description": "Descreve um [link de perfil temporário](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": "O [link temporário do perfil](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": "Sua data de validade", "x-telegram-field-docs": true}}, "required": ["_", "url", "expires"], "additionalProperties": false}, "requestPeerTypeUser": {"title": "requestPeerTypeUser", "type": "object", "properties": {"_": {"type": "string", "enum": ["requestPeerTypeUser"]}, "bot": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool"}, "premium": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.1?Bool"}}, "required": ["_"], "additionalProperties": false}, "requestPeerTypeChat": {"title": "solicitaçãoPeerTypeChat", "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 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 TL: ChatAdminRights.", "x-tl-flag": "flags.2?ChatAdminRights"}}, "required": ["_"], "additionalProperties": false}, "requestPeerTypeBroadcast": {"title": "requestPeerTypeBroadcast", "type": "object", "properties": {"_": {"type": "string", "enum": ["requestPeerTypeBroadcast"]}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "has_username": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool"}, "user_admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Tipo 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 TL: ChatAdminRights.", "x-tl-flag": "flags.2?ChatAdminRights"}}, "required": ["_"], "additionalProperties": false}, "requestPeerTypeCreateBot": {"title": "requestPeerTypeCreateBot", "type": "object", "properties": {"_": {"type": "string", "enum": ["requestPeerTypeCreateBot"]}, "bot_managed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "suggested_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "suggested_username": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}}, "required": ["_"], "additionalProperties": false}, "emojiListNotModified": {"title": "emojiListNotModified", "description": "A lista de [emojis personalizados](https://core.telegram.org/api/custom-emoji.md) não mudou.", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiListNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiListNotModified"]}}, "required": ["_"], "additionalProperties": false}, "emojiList": {"title": "lista de emojis", "description": "Representa uma 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 usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "document_id": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "IDs de emoji personalizados", "x-telegram-field-docs": true}}, "required": ["_", "hash", "document_id"], "additionalProperties": false}, "emojiGroup": {"title": "grupo emoji", "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiGroup"]}, "title": {"type": "string", "x-tl-type": "string"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "emoticons": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}}, "required": ["_", "title", "icon_emoji_id", "emoticons"], "additionalProperties": false}, "emojiGroupGreeting": {"title": "emojiGrupoSaudação", "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiGroupGreeting"]}, "title": {"type": "string", "x-tl-type": "string"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "emoticons": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}}, "required": ["_", "title", "icon_emoji_id", "emoticons"], "additionalProperties": false}, "emojiGroupPremium": {"title": "emojiGrupoPremium", "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiGroupPremium"]}, "title": {"type": "string", "x-tl-type": "string"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "title", "icon_emoji_id"], "additionalProperties": false}, "messages.emojiGroupsNotModified": {"title": "messages.emojiGroupsNotModified", "description": "A lista de [categorias de emoji](https://core.telegram.org/api/emoji-categories.md) não mudou.", "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 uma lista de [categorias 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 usado para cache, para mais informações clique aqui](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": "Uma lista de [categorias de emoji](https://core.telegram.org/api/emoji-categories.md).", "x-telegram-field-docs": true}}, "required": ["_", "hash", "groups"], "additionalProperties": false}, "textWithEntities": {"title": "textWithEntities", "description": "Texto estilizado com [entidades de mensagem](https://core.telegram.org/api/entities.md)\n\n<!-- blocos de esquema -->\n#### [Esquema ponta a ponta](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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado](https://core.telegram.org/api/entities.md)", "x-telegram-field-docs": true}}, "required": ["_", "text", "entities"], "additionalProperties": false}, "messages.translateResult": {"title": "messages.translateResult", "description": "Texto traduzido com [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 TL: TextWithEntities."}, "x-tl-type": "Vector<TextWithEntities>", "description": "Texto+[entidades](https://core.telegram.org/api/entities.md), para cada mensagem de entrada.", "x-telegram-field-docs": true}}, "required": ["_", "result"], "additionalProperties": false}, "autoSaveSettings": {"title": "configurações de salvamento automático", "description": "Configurações de salvamento automático de mídia", "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": "Se as fotos devem ser salvas automaticamente na galeria.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "videos": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se os vídeos devem ser salvos automaticamente na galeria.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "video_max_size": {"type": "string", "pattern": "^-?\\d+$", "description": "Se definido, especifica um limite de tamanho para vídeos salvos automaticamente", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?long"}}, "required": ["_"], "additionalProperties": false}, "autoSaveException": {"title": "autoSaveException", "type": "object", "properties": {"_": {"type": "string", "enum": ["autoSaveException"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "settings": {"type": "object", "x-tl-type": "AutoSaveSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoSaveSettings"]}}, "description": "Tipo TL: AutoSaveSettings."}}, "required": ["_", "peer", "settings"], "additionalProperties": false}, "account.autoSaveSettings": {"title": "account.autoSaveSettings", "description": "Contém configurações de salvamento automático de mídia", "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": "Configurações padrão de salvamento automático de mídia para bate-papos privados", "x-telegram-field-docs": true}, "chats_settings": {"type": "object", "x-tl-type": "AutoSaveSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoSaveSettings"]}}, "description": "Configurações padrão de salvamento automático de mídia para [grupos e 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": "Configurações padrão de salvamento automático de mídia para [canais](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 TL: AutoSaveException."}, "x-tl-type": "Vector<AutoSaveException>", "description": "Configurações granulares de salvamento automático específicas 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados nas configurações de salvamento automático granular específico do par", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados nas configurações de salvamento automático granular específico do peer", "x-telegram-field-docs": true}}, "required": ["_", "users_settings", "chats_settings", "broadcasts_settings", "exceptions", "chats", "users"], "additionalProperties": false}, "help.appConfigNotModified": {"title": "help.appConfigNotModified", "description": "Os parâmetros de configuração do cliente não foram alterados", "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": "Contém vários [parâmetros de configuração do 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 usado para cache, para mais informações clique aqui](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 configuração do cliente](https://core.telegram.org/api/config.md#client-configuration)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "config"], "additionalProperties": false}, "inputBotAppID": {"title": "inputBotAppID", "description": "Usado para buscar informações sobre um [link direto Mini App](https://core.telegram.org/api/bots/webapps.md#direct-link-mini-apps) por seu ID", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotAppID"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotAppID"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "[link direto Mini App](https://core.telegram.org/api/bots/webapps.md#direct-link-mini-apps) ID.", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acesso, obtido do construtor [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": "Usado para buscar informações sobre um [link direto Mini App](https://core.telegram.org/api/bots/webapps.md#direct-link-mini-apps) por seu nome abreviado", "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 do bot que possui o miniaplicativo bot", "x-telegram-field-docs": true}, "short_name": {"type": "string", "x-tl-type": "string", "description": "Nome curto, obtido de um [link direto do Direct Mini App](https://core.telegram.org/api/links.md#direct-mini-app-links)", "x-telegram-field-docs": true}}, "required": ["_", "bot_id", "short_name"], "additionalProperties": false}, "botAppNotModified": {"title": "botAppNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["botAppNotModified"]}}, "required": ["_"], "additionalProperties": false}, "botApp": {"title": "botApp", "type": "object", "properties": {"_": {"type": "string", "enum": ["botApp"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "short_name": {"type": "string", "x-tl-type": "string"}, "title": {"type": "string", "x-tl-type": "string"}, "description": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "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-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "access_hash", "short_name", "title", "description", "photo", "hash"], "additionalProperties": false}, "messages.botApp": {"title": "messages.botApp", "description": "Contém informações sobre um [link direto Mini App](https://core.telegram.org/api/bots/webapps.md#direct-link-mini-apps)", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.botApp"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.botApp"]}, "inactive": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o aplicativo da web nunca foi usado pelo usuário e a confirmação deve ser solicitada ao usuário antes de abri-lo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "request_write_access": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "O bot está pedindo permissão para enviar mensagens ao usuário: se o usuário concordar, defina o sinalizador `write_allowed` ao 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": "Sinalizador obsoleto, pode ser ignorado.", "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": "Informações do aplicativo bot", "x-telegram-field-docs": true}}, "required": ["_", "app"], "additionalProperties": false}, "inlineBotWebView": {"title": "inlineBotWebView", "description": "Especifica um botão [mini app de modo inline](https://core.telegram.org/api/bots/webapps.md#inline-mode-mini-apps), mostrado no topo da lista de resultados da consulta inline.", "externalDocs": {"url": "https://core.telegram.org/constructor/inlineBotWebView"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineBotWebView"]}, "text": {"type": "string", "x-tl-type": "string", "description": "Texto do botão", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "Aplicativo Web URL", "x-telegram-field-docs": true}}, "required": ["_", "text", "url"], "additionalProperties": false}, "readParticipantDate": {"title": "lerParticipantDate", "description": "Contém informações sobre quando um determinado participante leu uma mensagem", "externalDocs": {"url": "https://core.telegram.org/constructor/readParticipantDate"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["readParticipantDate"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do usuário", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Quando o usuário leu a mensagem", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "date"], "additionalProperties": false}, "inputChatlistDialogFilter": {"title": "inputChatlistDialogFilter", "description": "ID da pasta", "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": "[Pasta](https://core.telegram.org/api/folders.md)ID", "x-telegram-field-docs": true}}, "required": ["_", "filter_id"], "additionalProperties": false}, "exportedChatlistInvite": {"title": "exportadoChatlistInvite", "description": "Exportado [link direto da pasta de bate-papo »](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": "Nome do link", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "O [link direto da pasta de bate-papo »](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": "Informações sobre um [link direto da pasta de bate-papo] exportado »](https://core.telegram.org/api/links.md#chat-folder-links).", "externalDocs": {"url": "https://core.telegram.org/constructor/chatlists.exportedChatlistInvite"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatlists.exportedChatlistInvite"]}, "filter": {"type": "object", "x-tl-type": "DialogFilter", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialogFilter", "dialogFilterDefault", "dialogFilterChatlist"]}}, "description": "ID da pasta", "x-telegram-field-docs": true}, "invite": {"type": "object", "x-tl-type": "ExportedChatlistInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["exportedChatlistInvite"]}}, "description": "O [link direto da pasta de bate-papo 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": "Informações sobre vários links diretos da [pasta de bate-papo »](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 TL: ExportedChatlistInvite."}, "x-tl-type": "Vector<ExportedChatlistInvite>", "description": "Os [links diretos da pasta de bate-papo »](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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Informações relacionadas ao bate-papo", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações relacionadas ao usuário", "x-telegram-field-docs": true}}, "required": ["_", "invites", "chats", "users"], "additionalProperties": false}, "chatlists.chatlistInviteAlready": {"title": "chatlists.chatlistInviteAlready", "description": "Informações atualizadas sobre um [link direto da pasta de bate-papo »](https://core.telegram.org/api/links.md#chat-folder-links) que já 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 da pasta 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": "Novos pares a serem importados", "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 já foram 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Informações relacionadas ao bate-papo", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações relacionadas ao usuário", "x-telegram-field-docs": true}}, "required": ["_", "filter_id", "missing_peers", "already_peers", "chats", "users"], "additionalProperties": false}, "chatlists.chatlistInvite": {"title": "chatlists.chatlistInvite", "description": "Informações sobre um [link direto da pasta de bate-papo »](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": "Se definido, quaisquer emojis animados presentes em `title` não deverão ser animados e deverão ser congelados no primeiro quadro.", "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": "Nome do link", "x-telegram-field-docs": true}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji para usar como ícone da pasta.", "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 e canais para participar", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Informações relacionadas ao bate-papo", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações relacionadas ao usuário", "x-telegram-field-docs": true}}, "required": ["_", "title", "peers", "chats", "users"], "additionalProperties": false}, "chatlists.chatlistUpdates": {"title": "chatlists.chatlistUpdates", "description": "Informações atualizadas sobre um [link direto da pasta de bate-papo »](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": "Novos colegas para ingressar", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Informações relacionadas ao bate-papo", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações relacionadas ao usuário", "x-telegram-field-docs": true}}, "required": ["_", "missing_peers", "chats", "users"], "additionalProperties": false}, "bots.botInfo": {"title": "bots.botInfo", "description": "Informações localizadas sobre um 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": "Nome do bot", "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": "Descrição do bot", "x-telegram-field-docs": true}}, "required": ["_", "name", "about", "description"], "additionalProperties": false}, "messagePeerVote": {"title": "mensagemPeerVote", "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": "mensagemPeerVoteInputOption", "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": "mensagemPeerVoteMultiple", "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": "visualizações de história", "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 TL: ReactionCount."}, "x-tl-type": "Vector<ReactionCount>", "x-tl-flag": "flags.3?Vector<ReactionCount>"}, "reactions_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "recent_viewers": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.0?Vector<long>"}}, "required": ["_", "views_count"], "additionalProperties": false}, "storyItemDeleted": {"title": "históriaItemDeleted", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyItemDeleted"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id"], "additionalProperties": false}, "storyItemSkipped": {"title": "históriaItemSkipped", "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": "históriaItem", "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 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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "Tipo 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 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 TL: PrivacyRule."}, "x-tl-type": "Vector<PrivacyRule>", "x-tl-flag": "flags.2?Vector<PrivacyRule>"}, "views": {"type": "object", "x-tl-type": "StoryViews", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyViews"]}}, "description": "Tipo 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: Reação.", "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": "A lista de [stories](https://core.telegram.org/api/stories.md#watching-stories) ativas (ou ativas e ocultas) não mudou.", "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 ser usado para solicitar atualizações", "x-telegram-field-docs": true}, "stealth_mode": {"type": "object", "x-tl-type": "StoriesStealthMode", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storiesStealthMode"]}}, "description": "Informações atuais do [modo furtivo](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 histórias ativas (ou ativas e ocultas) [stories](https://core.telegram.org/api/stories.md#watching-stories).", "externalDocs": {"url": "https://core.telegram.org/constructor/stories.allStories"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stories.allStories"]}, "has_more": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se mais resultados podem ser obtidos conforme [descrito aqui »](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 histórias ativas (ou ativas e ocultas)", "x-telegram-field-docs": true}, "state": {"type": "string", "x-tl-type": "string", "description": "Estado a ser usado para paginação", "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": "Histórias", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}, "stealth_mode": {"type": "object", "x-tl-type": "StoriesStealthMode", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storiesStealthMode"]}}, "description": "Informações atuais do [modo furtivo](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 [histórias](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 histórias que podem ser buscadas", "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 TL: StoryItem."}, "x-tl-type": "Vector<StoryItem>", "description": "Histórias", "x-telegram-field-docs": true}, "pinned_to_top": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs de histórias fixadas.", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "count", "stories", "chats", "users"], "additionalProperties": false}, "storyView": {"title": "históriaVer", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyView"]}, "blocked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "blocked_my_stories_from": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "reaction": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "Tipo TL: Reação.", "x-tl-flag": "flags.2?Reaction"}}, "required": ["_", "user_id", "date"], "additionalProperties": false}, "storyViewPublicForward": {"title": "históriaViewPublicForward", "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: Mensagem."}}, "required": ["_", "message"], "additionalProperties": false}, "storyViewPublicRepost": {"title": "históriaViewPublicRepost", "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 TL: StoryItem."}}, "required": ["_", "peer_id", "story"], "additionalProperties": false}, "stories.storyViewsList": {"title": "stories.storyViewsList", "description": "Reação e contadores de visualização para uma [story](https://core.telegram.org/api/stories.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/stories.storyViewsList"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stories.storyViewsList"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de resultados que podem ser obtidos", "x-telegram-field-docs": true}, "views_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de visualizações de histórias", "x-telegram-field-docs": true}, "forwards_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de encaminhamentos/repostagens de histórias", "x-telegram-field-docs": true}, "reactions_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de reações que foram adicionadas à história", "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": "Data de visualização da história e informações de reação", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento para paginação", "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": "Reação e contadores de visualização para uma lista de [histórias](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 TL: StoryViews."}, "x-tl-type": "Vector<StoryViews>", "description": "Visualize informações de data e reação de várias histórias", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "views", "users"], "additionalProperties": false}, "inputReplyToMessage": {"title": "inputReplyToMessage", "description": "Responder a uma mensagem.", "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": "O ID da mensagem a ser respondida.", "x-telegram-field-docs": true}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Este campo deve conter o ID do tópico **somente** ao responder mensagens em tópicos de fórum diferentes do tópico \"Geral\" (i.e. `reply_to_msg_id` está definido e `reply_to_msg_id != topicID` e `topicID != 1`).   Se a mensagem respondida for excluída antes do método terminar a execução, o valor deste campo será utilizado para enviar a mensagem para o tópico correto, ao invés do tópico \"Geral\".", "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": "Usado para responder mensagens enviadas para outro chat (especificado aqui), só pode ser usado para chats e mensagens que não sejam do `protected`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?InputPeer"}, "quote_text": {"type": "string", "x-tl-type": "string", "description": "Usado para responder com citação apenas a uma determinada seção (especificada aqui) da mensagem original. O comprimento máximo UTF-8 para aspas é especificado na chave de configuração [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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado](https://core.telegram.org/api/entities.md) do 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": "Deslocamento da mensagem `quote_text` dentro da mensagem original (em [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": "Deve ser definido como o ID do tópico ao responder a uma mensagem dentro de um [tópico monoforum](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": "Pode ser configurado para responder ao item especificado de uma [lista de tarefas »](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": "Se definido, envia a mensagem como uma [resposta a uma opção de resposta de enquete específica »](https://core.telegram.org/api/poll.md#replying-to-poll-options), contendo os `option` bytes da resposta desejada.", "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 TL: RichText."}, "x-tl-type": "Vector<RichText>", "x-tl-flag": "flags.8?Vector<RichText>"}}, "required": ["_", "reply_to_msg_id"], "additionalProperties": false}, "inputReplyToStory": {"title": "inputReplyToStory", "description": "Responder a uma história.", "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": "Remetente da história", "x-telegram-field-docs": true}, "story_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da história a ser respondida.", "x-telegram-field-docs": true}}, "required": ["_", "peer", "story_id"], "additionalProperties": false}, "inputReplyToMonoForum": {"title": "inputReplyToMonoForum", "description": "Usado para enviar mensagens para um [tópico monoforum](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": "O ID do tópico.", "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 um [link direto da história](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": "O [link direto da história](https://core.telegram.org/api/stories.md#story-links).", "x-telegram-field-docs": true}}, "required": ["_", "link"], "additionalProperties": false}, "storiesStealthMode": {"title": "históriasStealthMode", "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": "mediaAreaCoordenadas", "type": "object", "properties": {"_": {"type": "string", "enum": ["mediaAreaCoordinates"]}, "x": {"type": "number", "format": "double", "x-tl-type": "double"}, "y": {"type": "number", "format": "double", "x-tl-type": "double"}, "w": {"type": "number", "format": "double", "x-tl-type": "double"}, "h": {"type": "number", "format": "double", "x-tl-type": "double"}, "rotation": {"type": "number", "format": "double", "x-tl-type": "double"}, "radius": {"type": "number", "format": "double", "x-tl-type": "double", "x-tl-flag": "flags.0?double"}}, "required": ["_", "x", "y", "w", "h", "rotation"], "additionalProperties": false}, "mediaAreaVenue": {"title": "mediaAreaVenue", "description": "Representa uma etiqueta de localização anexada a [story](https://core.telegram.org/api/stories.md), com informações adicionais do local.", "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": "O tamanho e a localização da área de mídia correspondente ao adesivo de localização na parte superior da mídia da história.", "x-telegram-field-docs": true}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Coordenadas do local", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nome do local", "x-telegram-field-docs": true}, "address": {"type": "string", "x-tl-type": "string", "description": "Endereço", "x-telegram-field-docs": true}, "provider": {"type": "string", "x-tl-type": "string", "description": "Provedor de local: atualmente apenas o “quadrangular” precisa ser suportado.", "x-telegram-field-docs": true}, "venue_id": {"type": "string", "x-tl-type": "string", "description": "ID do local no banco de dados do provedor", "x-telegram-field-docs": true}, "venue_type": {"type": "string", "x-tl-type": "string", "description": "Tipo de local no banco de dados do provedor", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "geo", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "inputMediaAreaVenue": {"title": "inputMediaAreaVenue", "description": "Representa uma [tag de localização](https://core.telegram.org/api/stories.md#media-areas) anexada a uma [story](https://core.telegram.org/api/stories.md), com informações adicionais sobre o local.", "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": "O tamanho e a localização da área de mídia correspondente ao adesivo de localização na parte superior da mídia da história.", "x-telegram-field-docs": true}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "O `query_id` de [messages.botResults](https://core.telegram.org/constructor/messages.botResults.md), veja [aqui »](https://core.telegram.org/api/stories.md#media-areas) para mais informações.", "x-tl-type": "long", "x-telegram-field-docs": true}, "result_id": {"type": "string", "x-tl-type": "string", "description": "O `id` do resultado escolhido, veja [aqui »](https://core.telegram.org/api/stories.md#media-areas) para mais informações.", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "query_id", "result_id"], "additionalProperties": false}, "mediaAreaGeoPoint": {"title": "mediaAreaGeoPoint", "description": "Representa uma tag de geolocalização anexada a um [story](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": "O tamanho e a posição da área de mídia correspondente ao adesivo de localização na parte superior da mídia da história.", "x-telegram-field-docs": true}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Coordenadas da etiqueta de geolocalização.", "x-telegram-field-docs": true}, "address": {"type": "object", "x-tl-type": "GeoPointAddress", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointAddress"]}}, "description": "Representação textual opcional do endereço.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?GeoPointAddress"}}, "required": ["_", "coordinates", "geo"], "additionalProperties": false}, "mediaAreaSuggestedReaction": {"title": "mediaAreaSuggestedReaction", "description": "Representa uma bolha de reação.", "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": "Se a bolha de reação tem fundo escuro.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "flipped": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se a bolha de reação é espelhada (veja [aqui »](https://core.telegram.org/api/stories.md#reactions) para mais informações).", "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": "As coordenadas da área de mídia correspondente ao botão de reação.", "x-telegram-field-docs": true}, "reaction": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "A reação que deve ser enviada quando esta área for clicada.", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "reaction"], "additionalProperties": false}, "mediaAreaChannelPost": {"title": "mediaAreaChannelPost", "description": "Representa uma postagem do 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": "O tamanho e a localização da área de mídia correspondente ao adesivo de localização na parte superior da mídia da história.", "x-telegram-field-docs": true}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "O canal que postou a mensagem", "x-tl-type": "long", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem do canal", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "channel_id", "msg_id"], "additionalProperties": false}, "inputMediaAreaChannelPost": {"title": "inputMediaAreaChannelPost", "description": "Representa uma postagem do 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": "O tamanho e a localização da área de mídia correspondente ao adesivo de localização na parte superior da mídia da história.", "x-telegram-field-docs": true}, "channel": {"type": "object", "x-tl-type": "InputChannel", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputChannelEmpty", "inputChannel", "inputChannelFromMessage"]}}, "description": "O canal que postou a mensagem", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem do canal", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "channel", "msg_id"], "additionalProperties": false}, "mediaAreaUrl": {"title": "mediaAreaUrl", "description": "Representa uma [URL área de mídia](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": "O tamanho e localização da área de mídia correspondente ao botão URL na parte superior da mídia da história.", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "URL para abrir quando clicado.", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "url"], "additionalProperties": false}, "mediaAreaWeather": {"title": "mídiaAreaWeather", "description": "Representa um [widget de clima »](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": "O tamanho e a localização da área de mídia correspondente ao widget na parte superior da mídia da história.", "x-telegram-field-docs": true}, "emoji": {"type": "string", "x-tl-type": "string", "description": "Emoji de clima deve ser renderizado como um [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 em graus Celsius.", "x-telegram-field-docs": true}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ARGB cor de fundo.", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "emoji", "temperature_c", "color"], "additionalProperties": false}, "mediaAreaStarGift": {"title": "mediaAreaStarGift", "description": "Representa um [presente colecionável »](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 da área de mídia.", "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 pode ser resolvido como [especificado aqui »](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": "histórias 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 TL: StoryItem."}, "x-tl-type": "Vector<StoryItem>"}}, "required": ["_", "peer", "stories"], "additionalProperties": false}, "stories.peerStories": {"title": "stories.peerStories", "description": "[Lista de histórias ativas](https://core.telegram.org/api/stories.md#watching-stories) de um colega 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": "Histórias", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "stories", "chats", "users"], "additionalProperties": false}, "messages.webPage": {"title": "messages.webPage", "description": "Representa uma página da Web do Instant View.", "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": "A página da web de visualização 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados na página da 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados na página da web.", "x-telegram-field-docs": true}}, "required": ["_", "webpage", "chats", "users"], "additionalProperties": false}, "premiumGiftCodeOption": {"title": "premiumGiftCodeOption", "description": "Contém informações sobre uma opção [oferta/presente](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 usuários que poderão ativar os códigos de presente.", "x-telegram-field-docs": true}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duração em meses de cada assinatura [Telegram Premium](https://core.telegram.org/api/premium.md)] presenteada.", "x-telegram-field-docs": true}, "store_product": {"type": "string", "x-tl-type": "string", "description": "Identificador do produto da loja associado à opção, apenas aplicativos oficiais.", "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 vezes que o produto da loja deve ser pago", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço total nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após o ponto decimal para cada moeda (2 para a maioria das moedas).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "users", "months", "currency", "amount"], "additionalProperties": false}, "payments.checkedGiftCode": {"title": "payments.checkedGiftCode", "description": "Contém informações sobre um [link do código de presente do 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": "Se este código de presente foi criado por um [sorteio](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": "O par que criou o código de presente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?Peer"}, "giveaway_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID da mensagem do sorteio no canal especificado em `from_id`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}, "to_id": {"type": "string", "pattern": "^-?\\d+$", "description": "O usuário de destino do presente.", "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": "Data de criação do código de presente.", "x-telegram-field-docs": true}, "days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duração da assinatura do Telegram Premium, em dias.", "x-telegram-field-docs": true}, "used_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Quando o giftcode foi importado, se foi importado.", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "date", "days", "chats", "users"], "additionalProperties": false}, "payments.giveawayInfo": {"title": "payments.giveawayInfo", "description": "Contém informações sobre um [sorteio](https://core.telegram.org/api/giveaways.md) em andamento.\n\nSe nenhum dos sinalizadores `participating`, `joined_too_early_date`, `admin_disallowed_chat_id` ou `disallowed_country` estiver definido, o usuário não está participando do sorteio, mas poderá participar ingressando em todos os canais especificados no 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": "O usuário atual está participando do sorteio.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "preparing_results": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, o sorteio terminou e os resultados estão sendo preparados.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Quando começou o sorteio", "x-telegram-field-docs": true}, "joined_too_early_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O usuário atual não pode participar do sorteio, pois já era membro do canal quando o sorteio começou e o `only_new_subscribers` foi definido no início do sorteio.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "admin_disallowed_chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Se definido, o usuário atual não poderá participar do sorteio, pois é administrador de um dos canais (ID especificado nesta flag) que criou o sorteio.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?long"}, "disallowed_country": {"type": "string", "x-tl-type": "string", "description": "Se definido, o usuário atual não poderá participar deste sorteio porque seu número de telefone é do país não permitido especificado (especificado como um código de país ISO 3166-1 alfa-2 de duas letras).", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}}, "required": ["_", "start_date"], "additionalProperties": false}, "payments.giveawayInfoResults": {"title": "payments.giveawayInfoResults", "description": "Um [sorteio](https://core.telegram.org/api/giveaways.md) terminou.", "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": "Quer sejamos um dos vencedores deste sorteio.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "refunded": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o sorteio foi cancelado e totalmente reembolsado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data de início do sorteio", "x-telegram-field-docs": true}, "gift_code_slug": {"type": "string", "x-tl-type": "string", "description": "Se formos um dos vencedores deste sorteio, contém o [código de presente Premium](https://core.telegram.org/api/links.md#premium-giftcode-links), veja [aqui »](https://core.telegram.org/api/giveaways.md) para mais informações sobre o fluxo completo do sorteio.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "stars_prize": {"type": "string", "pattern": "^-?\\d+$", "description": "Se formos um dos vencedores deste [sorteio Telegram Star](https://core.telegram.org/api/giveaways.md#star-giveaways), o número [Telegram Stars](https://core.telegram.org/api/stars.md) que ganhamos.", "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": "Data final do sorteio. Pode ser maior que a data de término especificada nos parâmetros do sorteio.", "x-telegram-field-docs": true}, "winners_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de vencedores no sorteio", "x-telegram-field-docs": true}, "activated_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de vencedores que ativaram seus [códigos de presente](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": "pré-pagoGiveaway", "type": "object", "properties": {"_": {"type": "string", "enum": ["prepaidGiveaway"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "quantity": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "months", "quantity", "date"], "additionalProperties": false}, "prepaidStarsGiveaway": {"title": "pré-pagoStarsGiveaway", "type": "object", "properties": {"_": {"type": "string", "enum": ["prepaidStarsGiveaway"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "quantity": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "boosts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "stars", "quantity", "boosts", "date"], "additionalProperties": false}, "boost": {"title": "impulsionar", "type": "object", "properties": {"_": {"type": "string", "enum": ["boost"]}, "gift": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "giveaway": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "unclaimed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "id": {"type": "string", "x-tl-type": "string"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "giveaway_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "used_gift_slug": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}, "multiplier": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.6?long"}}, "required": ["_", "id", "date", "expires"], "additionalProperties": false}, "premium.boostsList": {"title": "premium.boostsList", "description": "Lista de [boosts](https://core.telegram.org/api/boost.md) que foram aplicados a um par por vários usuários.", "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": "Deslocamento que pode ser usado para [paginação](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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "count", "boosts", "users"], "additionalProperties": false}, "myBoost": {"title": "meuBoost", "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": "Uma lista de pares que estamos atualmente [boosting](https://core.telegram.org/api/boost.md) e quantos [boost slots](https://core.telegram.org/api/boost.md) ainda nos restam.", "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": "Informações sobre pares impulsionados e slots de reforço 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários referenciados", "x-telegram-field-docs": true}}, "required": ["_", "my_boosts", "chats", "users"], "additionalProperties": false}, "premium.boostsStatus": {"title": "premium.boostsStatus", "description": "Contém informações sobre o [status de reforço](https://core.telegram.org/api/boost.md) atual de um 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": "Se estamos atualmente impulsionando este canal/supergrupo, `my_boost_slots` também será definido.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "level": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O nível de reforço atual do canal/supergrupo.", "x-telegram-field-docs": true}, "current_level_boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O número de reforços adquiridos até agora no nível atual.", "x-telegram-field-docs": true}, "boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de reforços adquiridos até agora.", "x-telegram-field-docs": true}, "gift_boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O número de impulsos adquiridos no Telegram Premium criado [códigos de presente](https://core.telegram.org/api/giveaways.md) e [brindes](https://core.telegram.org/api/giveaways.md); retornado apenas para 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 necessários para alcançar o próximo nível; se estiver ausente, o próximo nível não estará disponível.", "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": "Retornado apenas aos administradores do canal/supergrupo: contém o número aproximado de usuários Premium inscritos no canal/supergrupo, relacionado ao número total de inscritos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?StatsPercentValue"}, "boost_url": {"type": "string", "x-tl-type": "string", "description": "[Boost deep link »](https://core.telegram.org/api/links.md#boost-links) que pode ser usado para impulsionar o 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 de TL: Pré-pagoGiveaway."}, "x-tl-type": "Vector<PrepaidGiveaway>", "description": "Uma lista de [brindes](https://core.telegram.org/api/giveaways.md) pré-pagos disponíveis para o chat; retornado apenas para 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 qual dos nossos [slots de boost](https://core.telegram.org/api/boost.md) atribuímos a este peer (preenchido se `my_boost` estiver definido).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?Vector<int>"}}, "required": ["_", "level", "current_level_boosts", "boosts", "boost_url"], "additionalProperties": false}, "storyFwdHeader": {"title": "históriaFwdHeader", "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": "postInteractionCountersMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["postInteractionCountersMessage"]}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "views": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "forwards": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "reactions": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "msg_id", "views", "forwards", "reactions"], "additionalProperties": false}, "postInteractionCountersStory": {"title": "postInteractionCountersStory", "type": "object", "properties": {"_": {"type": "string", "enum": ["postInteractionCountersStory"]}, "story_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "views": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "forwards": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "reactions": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "story_id", "views", "forwards", "reactions"], "additionalProperties": false}, "stats.storyStats": {"title": "stats.storyStats", "description": "Contém [estatísticas](https://core.telegram.org/api/stats.md) sobre uma [história](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": "Um gráfico contendo o número de visualizações e compartilhamentos de histórias", "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": "Um gráfico de barras contendo o número de reações da história categorizadas por \"emoção\" (i.e. Positivas, Negativas, Outras, etc...)", "x-telegram-field-docs": true}}, "required": ["_", "views_graph", "reactions_by_emotion_graph"], "additionalProperties": false}, "publicForwardMessage": {"title": "publicForwardMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["publicForwardMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensagem."}}, "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 TL: StoryItem."}}, "required": ["_", "peer", "story"], "additionalProperties": false}, "stats.publicForwards": {"title": "stats.publicForwards", "description": "Contém informações sobre os encaminhamentos de uma [story](https://core.telegram.org/api/stories.md) como uma mensagem para bate-papos públicos e repostagens por canais 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 TL: PublicForward."}, "x-tl-type": "Vector<PublicForward>", "description": "Informações sobre os avanços de uma história.", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento usado para [paginação](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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "count", "forwards", "chats", "users"], "additionalProperties": false}, "peerColor": {"title": "peerColor", "description": "Representa uma [paleta de cores »](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 da paleta de cores, veja aqui »](https://core.telegram.org/api/colors.md) para mais informações; se não for definida, a paleta padrão deverá ser usada.", "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) usado para gerar o padrão.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?long"}}, "required": ["_"], "additionalProperties": false}, "peerColorCollectible": {"title": "peerColorCollectible", "description": "Representa uma [paleta de cores »](https://core.telegram.org/api/colors.md) associada a um [presente colecionável »](https://core.telegram.org/api/gifts.md#collectible-gifts), veja [aqui »](https://core.telegram.org/api/colors.md#collectible-gift-palettes) para mais informações.", "externalDocs": {"url": "https://core.telegram.org/constructor/peerColorCollectible"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["peerColorCollectible"]}, "collectible_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do [presente colecionável »](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 do emoji personalizado »](https://core.telegram.org/api/custom-emoji.md) do presente colecionável: uma única cópia deste emoji personalizado deve ser exibida como está (sem recolorir, ao contrário de `background_emoji_id`) no canto superior direito da 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) usado para gerar o padrão.", "x-tl-type": "long", "x-telegram-field-docs": true}, "accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Cor de destaque no formato RGB24, usada para fundos de resposta e nome do usuário nas mensagens.", "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 cores a serem usadas na faixa de resposta.", "x-telegram-field-docs": true}, "dark_accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Cor de destaque no formato RGB24, usada para planos de fundo de resposta e nome do usuário em mensagens no modo escuro (substituição para `accent_color` se 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 cores a serem usadas na faixa de resposta no modo escuro (retorne para `colors` se 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": "inputPeerColorCollectible", "description": "Representa uma [paleta de cores »](https://core.telegram.org/api/colors.md) associada a um [presente colecionável »](https://core.telegram.org/api/gifts.md#collectible-gifts), veja [aqui »](https://core.telegram.org/api/colors.md#collectible-gift-palettes) para mais informações.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerColorCollectible"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerColorCollectible"]}, "collectible_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do [presente colecionável »](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": "A lista de paletas de cores não mudou.", "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": "Contém informações sobre múltiplas [paletas de cores »](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 usado para cache, para mais informações clique aqui](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": "Digite TL: help.PeerColorOption."}, "x-tl-type": "Vector<help.PeerColorOption>", "description": "Utilizável [paletas de cores](https://core.telegram.org/api/colors.md).", "x-telegram-field-docs": true}}, "required": ["_", "hash", "colors"], "additionalProperties": false}, "storyReaction": {"title": "históriaReação", "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: Reação."}}, "required": ["_", "peer_id", "date", "reaction"], "additionalProperties": false}, "storyReactionPublicForward": {"title": "históriaReactionPublicForward", "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: Mensagem."}}, "required": ["_", "message"], "additionalProperties": false}, "storyReactionPublicRepost": {"title": "históriaReactionPublicRepost", "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 TL: StoryItem."}}, "required": ["_", "peer_id", "story"], "additionalProperties": false}, "stories.storyReactionsList": {"title": "stories.storyReactionsList", "description": "Lista de pares que reagiram ou interagiram com uma [história](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 reações correspondentes à 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 TL: StoryReaction."}, "x-tl-type": "Vector<StoryReaction>", "description": "Lista de colegas que reagiram ou interagiram com uma história 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Se definido, indica o próximo deslocamento a ser usado para carregar mais 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": "diálogo salvo", "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": "monoForumDialog", "type": "object", "properties": {"_": {"type": "string", "enum": ["monoForumDialog"]}, "unread_mark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "nopaid_messages_exception": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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 TL: DraftMessage.", "x-tl-flag": "flags.1?DraftMessage"}}, "required": ["_", "peer", "top_message", "read_inbox_max_id", "read_outbox_max_id", "unread_count", "unread_reactions_count"], "additionalProperties": false}, "messages.savedDialogs": {"title": "messages.savedDialogs", "description": "Representa algumas [caixas de diálogo de mensagens salvas »](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 TL: SavedDialog."}, "x-tl-type": "Vector<SavedDialog>", "description": "[Caixas de diálogo de mensagens salvas »](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: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "Lista das últimas mensagens de cada diálogo salvo", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "dialogs", "messages", "chats", "users"], "additionalProperties": false}, "messages.savedDialogsSlice": {"title": "messages.savedDialogsSlice", "description": "Lista incompleta de [caixas de diálogo de mensagens salvas »](https://core.telegram.org/api/saved-messages.md) com mensagens e dados 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 caixas de diálogo de mensagens salvas", "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 TL: SavedDialog."}, "x-tl-type": "Vector<SavedDialog>", "description": "Lista de caixas de diálogo de mensagens salvas", "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: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "Lista das últimas mensagens das caixas de 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "count", "dialogs", "messages", "chats", "users"], "additionalProperties": false}, "messages.savedDialogsNotModified": {"title": "messages.savedDialogsNotModified", "description": "As caixas de diálogo salvas não foram alteradas", "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 salvos](https://core.telegram.org/api/saved-messages.md) encontrados no servidor pela consulta", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "savedReactionTag": {"title": "salvaReactionTag", "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: Reação."}, "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": "A lista de nomes de [tag de reação »](https://core.telegram.org/api/saved-messages.md#tags) atribuídos pelo usuário não mudou.", "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 [tag de reação »](https://core.telegram.org/api/saved-messages.md#tags) nomes atribuídos pelo usuário.", "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 TL: SavedReactionTag."}, "x-tl-type": "Vector<SavedReactionTag>", "description": "Tags de reação salvas.", "x-telegram-field-docs": true}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation). Também pode ser regenerado manualmente, se necessário, usando o [algoritmo personalizado especificado aqui »](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": "caixa de saídaReadDate", "description": "Data exata de leitura de uma mensagem privada que enviamos para outro usuário.", "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 timestamp com a data de leitura.", "x-telegram-field-docs": true}}, "required": ["_", "date"], "additionalProperties": false}, "smsjobs.eligibleToJoin": {"title": "smsjobs.eligibleToJoin", "description": "SMS elegibilidade para empregos", "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": "Termos de serviço 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 internacionais", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "recent_sent": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Enviado recentemente", "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": "Link direto do último presente", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "terms_url": {"type": "string", "x-tl-type": "string", "description": "Termos de serviço URL", "x-telegram-field-docs": true}}, "required": ["_", "recent_sent", "recent_since", "recent_remains", "total_sent", "total_since", "terms_url"], "additionalProperties": false}, "smsJob": {"title": "smsJob", "description": "Informações sobre um trabalho 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 do trabalho", "x-telegram-field-docs": true}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Número de telefone 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": "businessWeeklyOpen", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessWeeklyOpen"]}, "start_minute": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "end_minute": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "start_minute", "end_minute"], "additionalProperties": false}, "businessWorkHours": {"title": "horário de trabalho comercial", "description": "Especifica um conjunto de [horário de funcionamento do 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": "Ignorado se definido ao invocar [account.updateBusinessWorkHours](https://core.telegram.org/method/account.updateBusinessWorkHours.md), retornado apenas pelo servidor em [userFull](https://core.telegram.org/constructor/userFull.md).`business_work_hours`, indicando se o negócio está aberto no momento de acordo com o horário atual e os valores em `weekly_open` e `timezone`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "timezone_id": {"type": "string", "x-tl-type": "string", "description": "Um ID de um dos fusos horários retornado por [help.getTimezonesList](https://core.telegram.org/method/help.getTimezonesList.md).     O ID do fuso horário está contido [timezone](https://core.telegram.org/constructor/timezone.md).`id`, um nome legível e localizado do fuso horário está disponível em [timezone](https://core.telegram.org/constructor/timezone.md).`name` e o campo [timezone](https://core.telegram.org/constructor/timezone.md).`utc_offset` contém o deslocamento UTC em segundos, que pode ser exibido no formato hh:mm pelo cliente junto com o nome legível 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 TL: BusinessWeeklyOpen."}, "x-tl-type": "Vector<BusinessWeeklyOpen>", "description": "Uma lista de intervalos de tempo (máximo 28) representados por [businessWeeklyOpen »](https://core.telegram.org/constructor/businessWeeklyOpen.md), indicando o horário de funcionamento do seu negócio.", "x-telegram-field-docs": true}}, "required": ["_", "timezone_id", "weekly_open"], "additionalProperties": false}, "businessLocation": {"title": "localização da empresa", "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": "inputBusinessRecipients", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBusinessRecipients"]}, "existing_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "new_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "non_contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "exclude_selected": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "Tipo TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "x-tl-flag": "flags.4?Vector<InputUser>"}}, "required": ["_"], "additionalProperties": false}, "businessRecipients": {"title": "destinatários empresariais", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessRecipients"]}, "existing_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "new_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "non_contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "exclude_selected": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.4?Vector<long>"}}, "required": ["_"], "additionalProperties": false}, "businessAwayMessageScheduleAlways": {"title": "businessAwayMessageScheduleAlways", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessAwayMessageScheduleAlways"]}}, "required": ["_"], "additionalProperties": false}, "businessAwayMessageScheduleOutsideWorkHours": {"title": "businessAwayMessageScheduleOutsideWorkHours", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessAwayMessageScheduleOutsideWorkHours"]}}, "required": ["_"], "additionalProperties": false}, "businessAwayMessageScheduleCustom": {"title": "businessAwayMessageScheduleCustom", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessAwayMessageScheduleCustom"]}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "end_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "start_date", "end_date"], "additionalProperties": false}, "inputBusinessGreetingMessage": {"title": "inputBusinessGreetingMessage", "description": "Descreve uma [Saudação comercial do Telegram](https://core.telegram.org/api/business.md#greeting-messages), enviada automaticamente para novos usuários que nos escrevem em particular pela primeira vez ou após um determinado período de inatividade.", "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 um [atalho de resposta rápida, contendo as mensagens de saudação a serem enviadas, veja aqui » para mais informações](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": "Destinatários permitidos para mensagens de saudação.", "x-telegram-field-docs": true}, "no_activity_days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "O número de dias após os quais um chat privado será considerado inativo; atualmente, deve ser um entre 7, 14, 21 ou 28.", "x-telegram-field-docs": true}}, "required": ["_", "shortcut_id", "recipients", "no_activity_days"], "additionalProperties": false}, "businessGreetingMessage": {"title": "mensagem de saudação empresarial", "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 TL: BusinessRecipients."}, "no_activity_days": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "shortcut_id", "recipients", "no_activity_days"], "additionalProperties": false}, "inputBusinessAwayMessage": {"title": "inputBusinessAwayMessage", "description": "Descreve uma [mensagem de ausência do Telegram Business](https://core.telegram.org/api/business.md#away-messages), enviada automaticamente aos usuários que nos escrevem quando estamos off-line, durante o horário de fechamento, enquanto estamos de férias ou em algum outro período personalizado quando não podemos responder imediatamente ao usuário.", "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": "Se definido, as mensagens não serão enviadas se a conta estiver online nos ú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 um [atalho de resposta rápida, contendo as mensagens de ausência a serem enviadas, veja aqui » para mais informações](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 quando as mensagens de ausência devem ser enviadas.", "x-telegram-field-docs": true}, "recipients": {"type": "object", "x-tl-type": "InputBusinessRecipients", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBusinessRecipients"]}}, "description": "Destinatários permitidos para mensagens de ausência.", "x-telegram-field-docs": true}}, "required": ["_", "shortcut_id", "schedule", "recipients"], "additionalProperties": false}, "businessAwayMessage": {"title": "businessAwayMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessAwayMessage"]}, "offline_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "schedule": {"type": "object", "x-tl-type": "BusinessAwayMessageSchedule", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessAwayMessageScheduleAlways", "businessAwayMessageScheduleOutsideWorkHours", "businessAwayMessageScheduleCustom"]}}, "description": "Tipo TL: BusinessAwayMessageSchedule."}, "recipients": {"type": "object", "x-tl-type": "BusinessRecipients", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessRecipients"]}}, "description": "Tipo TL: BusinessRecipients."}}, "required": ["_", "shortcut_id", "schedule", "recipients"], "additionalProperties": false}, "timezone": {"title": "fuso horário", "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": "A lista de fuso horário não mudou.", "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": "Informações de fuso horário que podem ser usadas em outras partes do API, como para definir [Horário de funcionamento do 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": "Digite TL: Fuso horário."}, "x-tl-type": "Vector<Timezone>", "description": "Fusos horários", "x-telegram-field-docs": true}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)", "x-telegram-field-docs": true}}, "required": ["_", "timezones", "hash"], "additionalProperties": false}, "quickReply": {"title": "resposta 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": "inputQuickReplyShortcut", "description": "Seleciona um [atalho de resposta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts) por nome.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputQuickReplyShortcut"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputQuickReplyShortcut"]}, "shortcut": {"type": "string", "x-tl-type": "string", "description": "Nome do atalho.", "x-telegram-field-docs": true}}, "required": ["_", "shortcut"], "additionalProperties": false}, "inputQuickReplyShortcutId": {"title": "inputQuickReplyShortcutId", "description": "Seleciona um [atalho de resposta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts) por seu 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": "ID do atalho.", "x-telegram-field-docs": true}}, "required": ["_", "shortcut_id"], "additionalProperties": false}, "messages.quickReplies": {"title": "messages.quickReplies", "description": "Informações sobre [atalhos de resposta 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: Resposta rápida."}, "x-tl-type": "Vector<QuickReply>", "description": "Atalhos de resposta 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: Mensagem."}, "x-tl-type": "Vector<Message>", "description": "Mensagens mencionadas em `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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "quick_replies", "messages", "chats", "users"], "additionalProperties": false}, "messages.quickRepliesNotModified": {"title": "messages.quickRepliesNotModified", "description": "As informações sobre [atalhos de resposta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) não mudaram.", "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-битное целое в десятичной записи.", "x-tl-type": "long"}, "recipients": {"type": "object", "x-tl-type": "BusinessBotRecipients", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessBotRecipients"]}}, "description": "Tipo TL: BusinessBotRecipients."}, "rights": {"type": "object", "x-tl-type": "BusinessBotRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessBotRights"]}}, "description": "Tipo 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": "Informações sobre [bots de negócios](https://core.telegram.org/api/bots/connected-business-bots.md) atualmente 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": "Informações sobre os 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações do bot", "x-telegram-field-docs": true}}, "required": ["_", "connected_bots", "users"], "additionalProperties": false}, "messages.dialogFilters": {"title": "messages.dialogFilters", "description": "[Pasta e tags de pasta](https://core.telegram.org/api/folders.md) informações", "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": "Se [tags de pasta](https://core.telegram.org/api/folders.md#folder-tags) estão 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 TL: DialogFilter."}, "x-tl-type": "Vector<DialogFilter>", "description": "Pastas.", "x-telegram-field-docs": true}}, "required": ["_", "filters"], "additionalProperties": false}, "birthday": {"title": "aniversário", "description": "[Informações sobre aniversário](https://core.telegram.org/api/profile.md#birthday) para um usuário.\n\nTambém usado para convidar usuários a presentear [assinaturas Telegram Premium »](https://core.telegram.org/api/premium.md#gifting-telegram-premium) para outros usuários com aniversários dentro de um intervalo de +1/-1 dia, relacionado ao dia atual.", "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 nascimento", "x-telegram-field-docs": true}, "month": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Mês de nascimento", "x-telegram-field-docs": true}, "year": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "(Opcional) ano de nascimento.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "day", "month"], "additionalProperties": false}, "botBusinessConnection": {"title": "botBusinessConnection", "type": "object", "properties": {"_": {"type": "string", "enum": ["botBusinessConnection"]}, "disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "connection_id": {"type": "string", "x-tl-type": "string"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "rights": {"type": "object", "x-tl-type": "BusinessBotRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessBotRights"]}}, "description": "Tipo TL: BusinessBotRights.", "x-tl-flag": "flags.2?BusinessBotRights"}}, "required": ["_", "connection_id", "user_id", "dc_id", "date"], "additionalProperties": false}, "inputBusinessIntro": {"title": "inputBusinessIntro", "description": "[Introdução ao 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 da mensagem de introdução", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Introdução ao perfil", "x-telegram-field-docs": true}, "sticker": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "Introdução opcional [adesivo](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": "negócioIntrodução", "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": "A lista de [conjuntos de adesivos pertencentes à conta corrente »](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 adesivos próprios.", "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: StickerSetCovered."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Conjuntos de adesivos", "x-telegram-field-docs": true}}, "required": ["_", "count", "sets"], "additionalProperties": false}, "inputCollectibleUsername": {"title": "inputCollectibleUsername", "description": "Representa um [fragmento de nome de usuário colecionável](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": "Nome de usuário", "x-telegram-field-docs": true}}, "required": ["_", "username"], "additionalProperties": false}, "inputCollectiblePhone": {"title": "inputCollectiblePhone", "description": "Representa um [fragmento de número de telefone colecionável](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 telefone", "x-telegram-field-docs": true}}, "required": ["_", "phone"], "additionalProperties": false}, "fragment.collectibleInfo": {"title": "fragment.collectibleInfo", "description": "Informações sobre um [fragmento colecionável](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": "Data de compra (horário unix)", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies) para `amount`", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço total nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após o ponto decimal para cada moeda (2 para a maioria das moedas).", "x-tl-type": "long", "x-telegram-field-docs": true}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Nome da criptomoeda.", "x-telegram-field-docs": true}, "crypto_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço, nas menores unidades da criptomoeda.", "x-tl-type": "long", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "[Fragmento](https://fragment.com) URL com mais informações sobre o colecionável", "x-telegram-field-docs": true}}, "required": ["_", "purchase_date", "currency", "amount", "crypto_currency", "crypto_amount", "url"], "additionalProperties": false}, "inputBusinessBotRecipients": {"title": "inputBusinessBotRecipients", "description": "Especifica os bate-papos privados com os quais um [bot de negócios conectado »](https://core.telegram.org/api/bots/connected-business-bots.md) pode interagir.", "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": "Seleciona todos os 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": "Seleciona todos os novos chats privados.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Seleciona todos os chats privados com contatos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "non_contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Seleciona todos os chats privados com pessoas que não são contatos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "exclude_selected": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, todos os chats privados *exceto* aqueles selecionados por `existing_chats`, `new_chats`, `contacts`, `non_contacts` e `users` serão escolhidos.  Observe que se este sinalizador for definido, quaisquer valores passados ​​em `exclude_users` serão mesclados e movidos para `users` pelo 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 TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Bate-papos privados explicitamente selecionados.", "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 TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Identificadores de chats privados que são sempre excluídos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?Vector<InputUser>"}}, "required": ["_"], "additionalProperties": false}, "businessBotRecipients": {"title": "businessBotRecipients", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessBotRecipients"]}, "existing_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "new_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "non_contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "exclude_selected": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.4?Vector<long>"}, "exclude_users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.6?Vector<long>"}}, "required": ["_"], "additionalProperties": false}, "contactBirthday": {"title": "contatoAniversário", "type": "object", "properties": {"_": {"type": "string", "enum": ["contactBirthday"]}, "contact_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "birthday": {"type": "object", "x-tl-type": "Birthday", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["birthday"]}}, "description": "Tipo TL: Aniversário."}}, "required": ["_", "contact_id", "birthday"], "additionalProperties": false}, "contacts.contactBirthdays": {"title": "contacts.contactBirthdays", "description": "Informações de aniversário dos nossos contatos.", "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: ContactBirthday."}, "x-tl-type": "Vector<ContactBirthday>", "description": "Informações de aniversário", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações do usuário", "x-telegram-field-docs": true}}, "required": ["_", "contacts", "users"], "additionalProperties": false}, "missingInvitee": {"title": "faltandoConvidado", "type": "object", "properties": {"_": {"type": "string", "enum": ["missingInvitee"]}, "premium_would_allow_invite": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "premium_required_for_pm": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "user_id"], "additionalProperties": false}, "messages.invitedUsers": {"title": "messages.invitedUsers", "description": "Contém informações sobre usuários [convidados »](https://core.telegram.org/api/invites.md#direct-invites) com sucesso ou sem sucesso.", "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 atualizações sobre usuários convidados com sucesso (e eventualmente informações sobre o grupo criado)", "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 TL: MissingInvitee."}, "x-tl-type": "Vector<MissingInvitee>", "description": "Uma lista de usuários que não puderam ser convidados, juntamente com o motivo pelo qual não puderam ser convidados.", "x-telegram-field-docs": true}}, "required": ["_", "updates", "missing_invitees"], "additionalProperties": false}, "inputBusinessChatLink": {"title": "inputBusinessChatLink", "description": "Contém informações sobre um [link direto do bate-papo comercial »](https://core.telegram.org/api/business.md#business-chat-links) a ser criado pela conta atual.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBusinessChatLink"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBusinessChatLink"]}, "message": {"type": "string", "x-tl-type": "string", "description": "Mensagem para preencher previamente o campo de entrada da mensagem.", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado](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": "Nome do link legível por humanos, para simplificar o gerenciamento na UI (visível apenas para o criador do link).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}}, "required": ["_", "message"], "additionalProperties": false}, "businessChatLink": {"title": "negóciosChatLink", "description": "Contém informações sobre um [link direto do bate-papo comercial »](https://core.telegram.org/api/business.md#business-chat-links) criado pela conta atual.", "externalDocs": {"url": "https://core.telegram.org/constructor/businessChatLink"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["businessChatLink"]}, "link": {"type": "string", "x-tl-type": "string", "description": "[Link direto do bate-papo de negócios](https://core.telegram.org/api/links.md#business-chat-links).", "x-telegram-field-docs": true}, "message": {"type": "string", "x-tl-type": "string", "description": "Mensagem para preencher previamente o campo de entrada da mensagem.", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado](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": "Nome do link legível por humanos, para simplificar o gerenciamento na UI (visível apenas para o criador do link).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "views": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de vezes que o link foi resolvido (clicado/digitalizado/etc...).", "x-telegram-field-docs": true}}, "required": ["_", "link", "message", "views"], "additionalProperties": false}, "account.businessChatLinks": {"title": "account.businessChatLinks", "description": "Contém informações sobre [links diretos de bate-papo comercial »](https://core.telegram.org/api/business.md#business-chat-links) criados pela conta atual.", "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": "Ligações", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "links", "chats", "users"], "additionalProperties": false}, "account.resolvedBusinessChatLinks": {"title": "account.resolvedBusinessChatLinks", "description": "Contém informações sobre um único [link direto de chat de negócios »](https://core.telegram.org/api/business.md#business-chat-links) resolvido.", "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": "Mensagem para preencher previamente o campo de entrada da mensagem.", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensagem para texto estilizado](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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários 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-битное целое в десятичной записи.", "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-битное целое в десятичной записи.", "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-битное целое в десятичной записи.", "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": "patrocinadoMessageReportOption", "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": "O usuário deve escolher uma opção de relatório dentre as opções localizadas disponíveis em `options`, e após a seleção, [messages.reportSponsoredMessage](https://core.telegram.org/method/messages.reportSponsoredMessage.md) deve ser invocado novamente, passando o campo `option` da opção para o parâmetro `option` do 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 do pop-up de seleção de opções.", "x-telegram-field-docs": true}, "options": {"type": "array", "items": {"type": "object", "x-tl-type": "SponsoredMessageReportOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["sponsoredMessageReportOption"]}}, "description": "Tipo TL: SponsoredMessageReportOption."}, "x-tl-type": "Vector<SponsoredMessageReportOption>", "description": "Lista localizada de opções.", "x-telegram-field-docs": true}}, "required": ["_", "title", "options"], "additionalProperties": false}, "channels.sponsoredMessageReportResultAdsHidden": {"title": "channels.sponsoredMessageReportResultAdsHidden", "description": "As mensagens patrocinadas foram ocultadas para o usuário em todos os 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": "A mensagem patrocinada foi reportada com sucesso.", "externalDocs": {"url": "https://core.telegram.org/constructor/channels.sponsoredMessageReportResultReported"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channels.sponsoredMessageReportResultReported"]}}, "required": ["_"], "additionalProperties": false}, "reactionNotificationsFromContacts": {"title": "reaçãoNotificaçõesFromContacts", "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionNotificationsFromContacts"]}}, "required": ["_"], "additionalProperties": false}, "reactionNotificationsFromAll": {"title": "reaçãoNotificaçõesDeTodos", "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionNotificationsFromAll"]}}, "required": ["_"], "additionalProperties": false}, "reactionsNotifySettings": {"title": "reaçõesNotifySettings", "description": "Configurações de notificação de reação, veja [aqui »](https://core.telegram.org/api/reactions.md#notifications-about-reactions) para mais informações.", "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": "As configurações de notificação de reação a mensagens, se não forem definidas, desativam completamente notificações/atualizações sobre reações a mensagens.", "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": "As configurações de notificação de reação da história, se não forem definidas, desativam completamente as notificações/atualizações sobre as reações às histórias.", "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": "[Votação de enquete não anônima »](https://core.telegram.org/api/poll.md#unread-poll-votes) configurações de notificação, se não definidas, desativa completamente as notificações/atualizações sobre votos dados nas enquetes não anônimas do usuário.", "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": "[Som de notificação para reações »](https://core.telegram.org/api/ringtones.md)", "x-telegram-field-docs": true}, "show_previews": {"type": "boolean", "x-tl-type": "Bool", "description": "Se for falso, [notificações push »](https://core.telegram.org/api/push-updates.md) sobre reações de mensagens/histórias serão apenas do tipo `REACT_HIDDEN`/`REACT_STORY_HIDDEN`, sem qualquer informação sobre a história que reagiu ou a reação em si.", "x-telegram-field-docs": true}}, "required": ["_", "sound", "show_previews"], "additionalProperties": false}, "availableEffect": {"title": "disponívelEfeito", "type": "object", "properties": {"_": {"type": "string", "enum": ["availableEffect"]}, "premium_required": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "emoticon": {"type": "string", "x-tl-type": "string"}, "static_icon_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "effect_sticker_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "effect_animation_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}}, "required": ["_", "id", "emoticon", "effect_sticker_id"], "additionalProperties": false}, "messages.availableEffectsNotModified": {"title": "messages.availableEffectsNotModified", "description": "A lista completa de [efeitos de mensagens animadas »](https://core.telegram.org/api/effects.md) utilizáveis não mudou.", "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": "A lista completa de [efeitos de mensagens animadas »](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 usado para cache, para mais informações clique aqui](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: DisponívelEfeito."}, "x-tl-type": "Vector<AvailableEffect>", "description": "Efeitos de mensagem", "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 nos construtores `effects`.", "x-telegram-field-docs": true}}, "required": ["_", "hash", "effects", "documents"], "additionalProperties": false}, "factCheck": {"title": "verificação de fatos", "description": "Representa uma [verificação de fatos »](https://core.telegram.org/api/factcheck.md) criada por um verificador de fatos independente.", "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": "Se definidos, os campos `country`/`text` **não** serão definidos, e a verificação de fatos deverá ser buscada manualmente pelo cliente (se ainda não estiver armazenada em cache com a chave especificada em `hash`) usando solicitações [messages.getFactCheck](https://core.telegram.org/method/messages.getFactCheck.md) agrupadas, quando a mensagem com a verificação de fatos for exibida.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "country": {"type": "string", "x-tl-type": "string", "description": "Um código de duas letras ISO 3166-1 alfa-2 do país para o qual a verificação de fatos deve ser mostrada.", "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": "A verificação dos fatos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?TextWithEntities"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash usado para cache, para mais informações clique aqui](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "hash"], "additionalProperties": false}, "starsTransactionPeerUnsupported": {"title": "estrelasTransactionPeerUnsupported", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerUnsupported"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeerAppStore": {"title": "estrelasTransactionPeerAppStore", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerAppStore"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeerPlayMarket": {"title": "estrelasTransactionPeerPlayMarket", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerPlayMarket"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeerPremiumBot": {"title": "estrelasTransactionPeerPremiumBot", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerPremiumBot"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeerFragment": {"title": "estrelasTransactionPeerFragment", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerFragment"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeer": {"title": "estrelasTransactionPeer", "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": "estrelasTransactionPeerAds", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerAds"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeerAPI": {"title": "estrelasTransactionPeerAPI", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerAPI"]}}, "required": ["_"], "additionalProperties": false}, "starsTopupOption": {"title": "estrelasTopupOption", "description": "[Opção de recarga do 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": "Se definida, a opção só deverá ser mostrada na lista completa de opções de recarga.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Quantidade de estrelas do Telegram.", "x-tl-type": "long", "x-telegram-field-docs": true}, "store_product": {"type": "string", "x-tl-type": "string", "description": "Identificador do produto da loja associado à opção, apenas aplicativos oficiais.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço do produto nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após a vírgula decimal para cada moeda (2 para a maioria das moedas).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "stars", "currency", "amount"], "additionalProperties": false}, "starsTransaction": {"title": "estrelasTransação", "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: StarsAmount."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peer": {"type": "object", "x-tl-type": "StarsTransactionPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerUnsupported", "starsTransactionPeerAppStore", "starsTransactionPeerPlayMarket", "starsTransactionPeerPremiumBot", "starsTransactionPeerFragment", "starsTransactionPeer", "starsTransactionPeerAds", "starsTransactionPeerAPI"]}}, "description": "Tipo 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 TL: WebDocument.", "x-tl-flag": "flags.2?WebDocument"}, "transaction_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "transaction_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.5?string"}, "bot_payload": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.7?bytes"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.8?int"}, "extended_media": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "Tipo 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: StarsAmount.", "x-tl-flag": "flags.17?StarsAmount"}, "paid_messages": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.19?int"}, "premium_gift_months": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.20?int"}, "ads_proceeds_from_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.23?int"}, "ads_proceeds_to_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.23?int"}}, "required": ["_", "id", "amount", "date", "peer"], "additionalProperties": false}, "payments.starsStatus": {"title": "payments.starsStatus", "description": "Informações sobre as atuais [assinaturas do Telegram Star, saldo e histórico de transações »](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 atual do 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: StarsSubscription."}, "x-tl-type": "Vector<StarsSubscription>", "description": "Informações sobre as assinaturas atuais do Telegram Star, retornadas apenas ao invocar [payments.getStarsTransactions](https://core.telegram.org/method/payments.getStarsTransactions.md) e [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": "Deslocamento para paginação de assinaturas: utilizável apenas e retornado ao 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": "O número de Telegram Stars que o usuário deve comprar para poder estender as assinaturas expiradas em breve (i.e. o saldo atual não é suficiente para estender todas as assinaturas expiradas).", "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 transações do Telegram Star (parcial se `next_offset` estiver definido).", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Vector<StarsTransaction>"}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento a ser usado para buscar mais transações do histórico de transações 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados em `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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados em `history`.", "x-telegram-field-docs": true}}, "required": ["_", "balance", "chats", "users"], "additionalProperties": false}, "foundStory": {"title": "história 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 TL: StoryItem."}}, "required": ["_", "peer", "story"], "additionalProperties": false}, "stories.foundStories": {"title": "stories.foundStories", "description": "Histórias encontradas usando [pesquisa global de histórias »](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 a 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 TL: FoundStory."}, "x-tl-type": "Vector<FoundStory>", "description": "Histórias correspondentes.", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento usado para buscar a próxima página; se não for definido, esta será a 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados", "x-telegram-field-docs": true}}, "required": ["_", "count", "stories", "chats", "users"], "additionalProperties": false}, "geoPointAddress": {"title": "endereço geoPoint", "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": "estrelasReceitaStatus", "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: StarsAmount."}, "available_balance": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Tipo TL: StarsAmount."}, "overall_revenue": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Tipo TL: StarsAmount."}, "next_withdrawal_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}}, "required": ["_", "current_balance", "available_balance", "overall_revenue"], "additionalProperties": false}, "payments.starsRevenueStats": {"title": "payments.starsRevenueStats", "description": "[Estatísticas de receita de estrelas, veja aqui »](https://core.telegram.org/api/stars.md) para mais informações.\n\nObserve que todos os saldos e valores de moeda e valores gráficos estão em estrelas.", "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 estatísticas de receita de anúncios, gráfico de impressões de anúncios", "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 receita de estrelas (número de estrelas ganhas)", "x-telegram-field-docs": true}, "status": {"type": "object", "x-tl-type": "StarsRevenueStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsRevenueStatus"]}}, "description": "Saldo atual, saldo sacável atual e estrelas do Telegram ganhas em geral", "x-telegram-field-docs": true}, "usd_rate": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Taxa de conversão atual de Telegram Stars para USD", "x-telegram-field-docs": true}}, "required": ["_", "revenue_graph", "status", "usd_rate"], "additionalProperties": false}, "payments.starsRevenueWithdrawalUrl": {"title": "payments.starsRevenueWithdrawalUrl", "description": "Contém o URL para usar para [retirar receita do 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": "Contém o URL para usar para [retirar receita do 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": "Contém um URL que leva a uma página onde o usuário poderá colocar anúncios do canal/bot, pagando usando [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": "entradaEstrelasTransação", "description": "Usado para buscar informações sobre uma [transação 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": "Se definido, busca informações sobre a transação de reembolso desta transação.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "id": {"type": "string", "x-tl-type": "string", "description": "ID da transação.", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "starsGiftOption": {"title": "estrelasGiftOption", "description": "[Opção de presente 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": "Se definida, a opção só deverá ser mostrada na lista completa de opções de recarga.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Quantidade de estrelas do Telegram.", "x-tl-type": "long", "x-telegram-field-docs": true}, "store_product": {"type": "string", "x-tl-type": "string", "description": "Identificador do produto da loja associado à opção, apenas aplicativos oficiais.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço do produto nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após a vírgula decimal para cada moeda (2 para a maioria das moedas).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "stars", "currency", "amount"], "additionalProperties": false}, "bots.popularAppBots": {"title": "bots.popularAppBots", "description": "Populares [Principais Mini Apps](https://core.telegram.org/api/bots/webapps.md#main-mini-apps), para serem usados na [guia de aplicativos da pesquisa 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": "Deslocamento para [paginação](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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Os bots associados a cada [Mini App Principal, veja aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-apps) para mais informações.", "x-telegram-field-docs": true}}, "required": ["_", "users"], "additionalProperties": false}, "botPreviewMedia": {"title": "botPreviewMedia", "description": "Representa uma [mídia de visualização do Mini App Principal, veja aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para mais informações.", "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": "Quando esta mídia foi atualizada pela ú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": "A foto/vídeo real.", "x-telegram-field-docs": true}}, "required": ["_", "date", "media"], "additionalProperties": false}, "bots.previewInfo": {"title": "bots.previewInfo", "description": "Contém informações sobre [visualizações do mini aplicativo principal, veja aqui »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para mais informações.", "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 TL: BotPreviewMedia."}, "x-tl-type": "Vector<BotPreviewMedia>", "description": "Todas as mídias de visualização para o código de idioma passado para [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 os códigos de idioma disponíveis para os quais as mídias de visualização foram carregadas (independentemente do código de idioma passado para [bots.getPreviewInfo](https://core.telegram.org/method/bots.getPreviewInfo.md)).", "x-telegram-field-docs": true}}, "required": ["_", "media", "lang_codes"], "additionalProperties": false}, "starsSubscriptionPricing": {"title": "estrelasPreço de assinatura", "description": "Preço de uma [assinatura 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": "O usuário deverá pagar `amount` estrelas a cada `period` segundos para obter e manter acesso ao canal.  Atualmente o único período de assinatura permitido é `30*24*60*60`, i.e. o valor de estrelas será debitado do usuário todos os meses.", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço da assinatura no Telegram Stars.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "period", "amount"], "additionalProperties": false}, "starsSubscription": {"title": "estrelasAssinatura", "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 TL: StarsSubscriptionPricing."}, "chat_invite_hash": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Tipo TL: WebDocument.", "x-tl-flag": "flags.5?WebDocument"}, "invoice_slug": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.6?string"}}, "required": ["_", "id", "peer", "until_date", "pricing"], "additionalProperties": false}, "messageReactor": {"title": "mensagemReactor", "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": "estrelasGiveawayOption", "description": "Contém informações sobre uma opção [doação 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": "Se definida, esta opção só deve ser mostrada na lista completa de opções de sorteio (i.e. devem ser adicionadas à lista somente quando o usuário clicar no botão expandir).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "default": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definida, esta opção deverá ser pré-selecionada por padrão na lista de opções.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "A quantidade de Telegram Stars que serão distribuídas entre os vencedores", "x-tl-type": "long", "x-telegram-field-docs": true}, "yearly_boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de vezes que o chat será impulsionado por um ano se o sinalizador [inputStorePaymentStarsGiveaway](https://core.telegram.org/constructor/inputStorePaymentStarsGiveaway.md).`boost_peer` estiver preenchido", "x-telegram-field-docs": true}, "store_product": {"type": "string", "x-tl-type": "string", "description": "Identificador do produto da loja associado à opção, apenas aplicativos oficiais.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço total nas menores unidades da moeda (inteiro, não flutuante/duplo). Por exemplo, por um preço de `US$ 1.45` passe `amount = 145`. Veja o parâmetro exp em [currencies.json](https://core.telegram.org/bots/payments/currencies.json), ele mostra o número de dígitos após o ponto decimal para cada moeda (2 para a maioria das moedas).", "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 TL: StarsGiveawayWinnersOption."}, "x-tl-type": "Vector<StarsGiveawayWinnersOption>", "description": "Opções permitidas para o número de vencedores do sorteio.", "x-telegram-field-docs": true}}, "required": ["_", "stars", "yearly_boosts", "currency", "amount", "winners"], "additionalProperties": false}, "starsGiveawayWinnersOption": {"title": "estrelasGiveawayWinnersOption", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsGiveawayWinnersOption"]}, "default": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "users": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "per_user_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "users", "per_user_stars"], "additionalProperties": false}, "starGift": {"title": "estrelaGift", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGift"]}, "limited": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "sold_out": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "birthday": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "require_premium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "limited_per_user": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "peer_color_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "auction": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true"}, "new": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "sticker": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "availability_remains": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "availability_total": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "availability_resale": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "convert_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "first_sale_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "last_sale_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "upgrade_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}, "resell_min_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.5?string"}, "released_by": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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": "starGiftUnique", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftUnique"]}, "require_premium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "resale_ton_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "theme_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "burned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true"}, "crafted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.15?true"}, "onchain_sale": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.17?true"}, "fixed_sale": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true"}, "my_sale": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.21?true"}, "offer_min_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.18?long"}, "fee_bps": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.20?int"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string"}, "slug": {"type": "string", "x-tl-type": "string"}, "num": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "owner_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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 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: StarsAmount."}, "x-tl-type": "Vector<StarsAmount>", "x-tl-flag": "flags.4?Vector<StarsAmount>"}, "released_by": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par.", "x-tl-flag": "flags.5?Peer"}, "value_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.8?long"}, "value_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.8?string"}, "value_usd_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.8?long"}, "theme_peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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": "A lista de [presentes »](https://core.telegram.org/api/gifts.md) disponíveis não mudou.", "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": "Disponível [presentes »](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 usado para cache, para mais informações clique aqui](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 presentes disponíveis.", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados no 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados no campo `gifts`.", "x-telegram-field-docs": true}}, "required": ["_", "hash", "gifts", "chats", "users"], "additionalProperties": false}, "messageReportOption": {"title": "mensagemReportOption", "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": "relatórioResultChooseOption", "description": "O usuário deve escolher uma das seguintes opções e então [messages.report](https://core.telegram.org/method/messages.report.md) deve ser invocado novamente, passando o identificador `option` da opção para [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 do pop-up de opção", "x-telegram-field-docs": true}, "options": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageReportOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReportOption"]}}, "description": "Tipo TL: MessageReportOption."}, "x-tl-type": "Vector<MessageReportOption>", "description": "Opções disponíveis, renderizadas como entradas de menu.", "x-telegram-field-docs": true}}, "required": ["_", "title", "options"], "additionalProperties": false}, "reportResultAddComment": {"title": "reportResultAddComment", "description": "O usuário deve inserir um comentário adicional para os moderadores e então [messages.report](https://core.telegram.org/method/messages.report.md) deve ser invocado novamente, passando o comentário para [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": "Se esta etapa pode ser ignorada pelo usuário, passando um `message` vazio para [messages.report](https://core.telegram.org/method/messages.report.md), ou se um `message` não vazio é obrigatório.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "O método [messages.report](https://core.telegram.org/method/messages.report.md) deve ser invocado novamente, passando esta opção para `option`", "x-telegram-field-docs": true}}, "required": ["_", "option"], "additionalProperties": false}, "reportResultReported": {"title": "relatórioResultReportado", "description": "O relatório foi enviado com sucesso, nenhuma ação adicional é necessária.", "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 uma [mensagem embutida preparada salva por um bot, para ser enviada ao usuário por meio de um aplicativo da 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": "O ID da mensagem salva, a ser passada para o campo `id` do evento [web_app_send_prepared_message »](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": "Data de expiração da mensagem", "x-telegram-field-docs": true}}, "required": ["_", "id", "expire_date"], "additionalProperties": false}, "messages.preparedInlineMessage": {"title": "messages.preparedInlineMessage", "description": "Representa uma [mensagem inline preparada recebida por meio de um miniaplicativo de bot, que pode ser enviada para alguns 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": "O `query_id` para passar para [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": "O conteúdo da mensagem, a ser mostrado em uma visualização", "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 TL: InlineQueryPeerType."}, "x-tl-type": "Vector<InlineQueryPeerType>", "description": "Tipos de chats para onde esta mensagem pode ser enviada", "x-telegram-field-docs": true}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Validade de cache dos 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados nos resultados", "x-telegram-field-docs": true}}, "required": ["_", "query_id", "result", "peer_types", "cache_time", "users"], "additionalProperties": false}, "botAppSettings": {"title": "botAppSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["botAppSettings"]}, "placeholder_path": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}, "background_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "background_dark_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "header_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "header_dark_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}}, "required": ["_"], "additionalProperties": false}, "starRefProgram": {"title": "programa starRef", "description": "Informações sobre um [programa de afiliados oferecido por um 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 do bot que oferece o programa", "x-tl-type": "long", "x-telegram-field-docs": true}, "commission_permille": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Um afiliado recebe uma comissão de [starRefProgram](https://core.telegram.org/constructor/starRefProgram.md).`commission_permille`‰ [Telegram Stars](https://core.telegram.org/api/stars.md) para cada transação de mini aplicativo feita por usuários que ele indica", "x-telegram-field-docs": true}, "duration_months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Um afiliado recebe uma comissão por cada transação de miniaplicativo feita pelos usuários que ele indica, por `duration_months` meses após a importação de um link de indicação, iniciando o bot pela primeira vez", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "end_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Momento no tempo (carimbo de data e hora Unix) em que o programa de afiliados será fechado (opcional, se não for definido, o programa de afiliados não está programado para ser fechado)", "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": "O valor da receita diária por usuário no Telegram Stars do bot que criou o programa de afiliados.  Para obter a receita aproximada por usuário referido, multiplique esse valor por `commission_permille` e 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "commission_permille": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "duration_months": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "participants": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "revenue": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "url", "date", "bot_id", "commission_permille", "participants", "revenue"], "additionalProperties": false}, "payments.connectedStarRefBots": {"title": "payments.connectedStarRefBots", "description": "Ativo [afiliações](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 afiliações ativas", "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": "As afiliações", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Pares mencionados em `connected_bots`", "x-telegram-field-docs": true}}, "required": ["_", "count", "connected_bots", "users"], "additionalProperties": false}, "payments.suggestedStarRefBots": {"title": "payments.suggestedStarRefBots", "description": "Uma lista de [mini aplicativos](https://core.telegram.org/api/bots/webapps.md) sugeridos com [programas afiliados](https://core.telegram.org/api/bots/referrals.md) disponíveis", "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 paginação)", "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 (lista completa ou parcial a ser obtida por paginação)", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Pares mencionados em `suggested_bots`", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Próximo deslocamento para [paginação](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": "estrelasQuantidade", "description": "Descreve uma quantidade real (i.e. possivelmente 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": "A quantidade inteira de estrelas do Telegram.", "x-tl-type": "long", "x-telegram-field-docs": true}, "nanos": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "A quantidade decimal de estrelas do telegrama, expressa como nanoestrelas (i.e. 1 nanoestrela é igual a `1/1_000_000_000`th (um bilionésimo) de uma estrela do telegrama).  Este campo também pode ser negativo (o intervalo permitido é de `-999_999_999` a `999_999_999`).", "x-telegram-field-docs": true}}, "required": ["_", "amount", "nanos"], "additionalProperties": false}, "starsTonAmount": {"title": "estrelasTonAmount", "description": "Descreve uma quantidade de Gram em nanogramas (i.e. `1/1_000_000_000` de um Gram).", "externalDocs": {"url": "https://core.telegram.org/constructor/starsTonAmount"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTonAmount"]}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "A quantidade em nanogramas.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "amount"], "additionalProperties": false}, "messages.foundStickersNotModified": {"title": "messages.foundStickersNotModified", "description": "Nenhum novo adesivo foi encontrado para a 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": "Deslocamento para [paginação](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": "Adesivos encontrados", "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": "Deslocamento para [paginação](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 usado para cache, para mais informações clique aqui](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": "Adesivos encontrados", "x-telegram-field-docs": true}}, "required": ["_", "hash", "stickers"], "additionalProperties": false}, "botVerifierSettings": {"title": "botVerifierSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["botVerifierSettings"]}, "can_modify_custom_description": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "icon": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "company": {"type": "string", "x-tl-type": "string"}, "custom_description": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo TL: TextWithEntities.", "x-tl-flag": "flags.0?TextWithEntities"}}, "required": ["_", "icon", "company"], "additionalProperties": false}, "botVerification": {"title": "botVerificação", "type": "object", "properties": {"_": {"type": "string", "enum": ["botVerification"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "icon": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "description": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo TL: TextWithEntities."}}, "required": ["_", "bot_id", "icon", "description"], "additionalProperties": false}, "starGiftAttributeModel": {"title": "starGiftAttributeModel", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeModel"]}, "crafted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "name": {"type": "string", "x-tl-type": "string"}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "rarity": {"type": "object", "x-tl-type": "StarGiftAttributeRarity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarity", "starGiftAttributeRarityUncommon", "starGiftAttributeRarityRare", "starGiftAttributeRarityEpic", "starGiftAttributeRarityLegendary"]}}, "description": "Tipo TL: StarGiftAttributeRarity."}}, "required": ["_", "name", "document", "rarity"], "additionalProperties": false}, "starGiftAttributePattern": {"title": "estrelaGiftAttributePattern", "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 TL: StarGiftAttributeRarity."}}, "required": ["_", "name", "document", "rarity"], "additionalProperties": false}, "starGiftAttributeBackdrop": {"title": "starGiftAttributeBackdrop", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeBackdrop"]}, "name": {"type": "string", "x-tl-type": "string"}, "backdrop_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "center_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "edge_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pattern_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "text_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "rarity": {"type": "object", "x-tl-type": "StarGiftAttributeRarity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarity", "starGiftAttributeRarityUncommon", "starGiftAttributeRarityRare", "starGiftAttributeRarityEpic", "starGiftAttributeRarityLegendary"]}}, "description": "Tipo TL: StarGiftAttributeRarity."}}, "required": ["_", "name", "backdrop_id", "center_color", "edge_color", "pattern_color", "text_color", "rarity"], "additionalProperties": false}, "starGiftAttributeOriginalDetails": {"title": "starGiftAttributeOriginalDetails", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeOriginalDetails"]}, "sender_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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 TL: TextWithEntities.", "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "recipient_id", "date"], "additionalProperties": false}, "payments.starGiftUpgradePreview": {"title": "payments.starGiftUpgradePreview", "description": "Uma prévia dos possíveis atributos (escolhidos aleatoriamente) que um [presente »](https://core.telegram.org/api/gifts.md) pode receber após atualizá-lo para um [presente colecionável »](https://core.telegram.org/api/gifts.md#collectible-gifts), veja [aqui »](https://core.telegram.org/api/gifts.md#collectible-gifts) para mais informações.", "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 TL: StarGiftAttribute."}, "x-tl-type": "Vector<StarGiftAttribute>", "description": "Possíveis atributos de presente", "x-telegram-field-docs": true}, "prices": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftUpgradePrice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftUpgradePrice"]}}, "description": "Tipo TL: StarGiftUpgradePrice."}, "x-tl-type": "Vector<StarGiftUpgradePrice>", "description": "Contém uma lista semelhante de preços de atualização e carimbos de data e hora, não tão granular como em `next_prices` (i.e. os preços têm aproximadamente 1 mês de intervalo), para ser usada principalmente para dimensionar o gráfico de preços e para mostrar uma visão geral futura do preço de atualização.", "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 TL: StarGiftUpgradePrice."}, "x-tl-type": "Vector<StarGiftUpgradePrice>", "description": "Contém o preço atual da atualização e uma lista de preços futuros, cada um associado a um timestamp UNIX que indica quando o preço entra em vigor (o preço atual é válido apenas até o próximo entrar em vigor, e assim por diante para todos os preços na lista).", "x-telegram-field-docs": true}}, "required": ["_", "sample_attributes", "prices", "next_prices"], "additionalProperties": false}, "users.users": {"title": "users.users", "description": "Descreve uma lista de usuários (ou 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários", "x-telegram-field-docs": true}}, "required": ["_", "users"], "additionalProperties": false}, "users.usersSlice": {"title": "users.usersSlice", "description": "Descreve uma lista parcial de usuários.", "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 usuários (maior que os usuários especificados em `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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Subconjunto de usuários.", "x-telegram-field-docs": true}}, "required": ["_", "count", "users"], "additionalProperties": false}, "payments.uniqueStarGift": {"title": "payments.uniqueStarGift", "description": "Representa um [presente colecionável »](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": "O construtor [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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados no 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados no campo `gift`.", "x-telegram-field-docs": true}}, "required": ["_", "gift", "chats", "users"], "additionalProperties": false}, "messages.webPagePreview": {"title": "messages.webPagePreview", "description": "Representa uma visualização de página da 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": "O [messageMediaWebPage](https://core.telegram.org/constructor/messageMediaWebPage.md) ou um [messageMediaEmpty](https://core.telegram.org/constructor/messageMediaEmpty.md) se não houver visualização.", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados no 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados no objeto `media`.", "x-telegram-field-docs": true}}, "required": ["_", "media", "chats", "users"], "additionalProperties": false}, "savedStarGift": {"title": "salvoStarGift", "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 TL: TextWithEntities.", "x-tl-flag": "flags.2?TextWithEntities"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "saved_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.11?long"}, "convert_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "upgrade_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.6?long"}, "can_export_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.7?int"}, "transfer_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.8?long"}, "can_transfer_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.13?int"}, "can_resell_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.14?int"}, "collection_id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.15?Vector<int>"}, "prepaid_upgrade_hash": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.16?string"}, "drop_original_details_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.18?long"}, "gift_num": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.19?int"}, "can_craft_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.20?int"}}, "required": ["_", "date", "gift"], "additionalProperties": false}, "payments.savedStarGifts": {"title": "payments.savedStarGifts", "description": "Representa uma lista de [presentes](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 (pode ser menor que o `gifts` retornado, caso em que `next_offset` será definido).", "x-telegram-field-docs": true}, "chat_notifications_enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Valor ternário: não pode ser definido, definido e verdadeiro, definido e falso.  Só pode ser definido para canais que possuímos: o valor indica se [habilitamos notificações de presentes](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 TL: SavedStarGift."}, "x-tl-type": "Vector<SavedStarGift>", "description": "Presentes", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento para passar para [payments.getSavedStarGifts](https://core.telegram.org/method/payments.getSavedStarGifts.md) para buscar a próxima 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Canais mencionados em `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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados em `gifts`", "x-telegram-field-docs": true}}, "required": ["_", "count", "gifts", "chats", "users"], "additionalProperties": false}, "inputSavedStarGiftUser": {"title": "inputSavedStarGiftUser", "description": "Um presente recebido em um chat privado com outro usuário.", "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 do [messageService](https://core.telegram.org/constructor/messageService.md) com o [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md) com o presente.", "x-telegram-field-docs": true}}, "required": ["_", "msg_id"], "additionalProperties": false}, "inputSavedStarGiftChat": {"title": "inputSavedStarGiftChat", "description": "Um presente recebido por um canal nosso.", "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": "O canal.", "x-telegram-field-docs": true}, "saved_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do presente deve ser `saved_id` de um construtor [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": "inputSavedStarGiftSlug", "description": "Aponta para um [presente colecionável obtido em um link de presente colecionável »](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": "Lesma do link.", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "payments.starGiftWithdrawalUrl": {"title": "payments.starGiftWithdrawalUrl", "description": "Um URL que pode ser usado para importar o NFT exportado no Fragment.", "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": "O URL para abrir.", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "paidReactionPrivacyDefault": {"title": "pagoReactionPrivacyDefault", "description": "Usa a privacidade de reação padrão, definida 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": "pagoReactionPrivacyAnonymous", "description": "Envie reações pagas anonimamente.", "externalDocs": {"url": "https://core.telegram.org/constructor/paidReactionPrivacyAnonymous"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["paidReactionPrivacyAnonymous"]}}, "required": ["_"], "additionalProperties": false}, "paidReactionPrivacyPeer": {"title": "pagoReactionPrivacyPeer", "description": "Envie reações pagas como o peer especificado, obtido usando [channels.getSendAs](https://core.telegram.org/method/channels.getSendAs.md) com o sinalizador `for_paid_reactions` definido.", "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": "O par para o qual enviar reações.", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "account.paidMessagesRevenue": {"title": "account.paidMessagesRevenue", "description": "Número total de [Estrelas do Telegram](https://core.telegram.org/api/stars.md) não reembolsadas que um usuário gastou no envio de mensagens diretamente ou por meio de um canal, consulte [aqui »](https://core.telegram.org/api/paid-messages.md) para obter mais informações sobre mensagens pagas.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.paidMessagesRevenue"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.paidMessagesRevenue"]}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Quantidade em [Estrelas](https://core.telegram.org/api/stars.md).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "stars_amount"], "additionalProperties": false}, "requirementToContactEmpty": {"title": "requisitoToContactEmpty", "description": "Este usuário pode ser contatado livremente.", "externalDocs": {"url": "https://core.telegram.org/constructor/requirementToContactEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["requirementToContactEmpty"]}}, "required": ["_"], "additionalProperties": false}, "requirementToContactPremium": {"title": "requisitoToContactPremium", "description": "Este usuário exige que compremos uma assinatura [Premium](https://core.telegram.org/api/premium.md) para contatá-lo.", "externalDocs": {"url": "https://core.telegram.org/constructor/requirementToContactPremium"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["requirementToContactPremium"]}}, "required": ["_"], "additionalProperties": false}, "requirementToContactPaidMessages": {"title": "requisitoToContactPaidMessages", "description": "Este usuário exige que paguemos a quantia especificada de [Telegram Stars](https://core.telegram.org/api/stars.md) para enviar uma mensagem, veja [aqui »](https://core.telegram.org/api/paid-messages.md) para o fluxo completo.", "externalDocs": {"url": "https://core.telegram.org/constructor/requirementToContactPaidMessages"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["requirementToContactPaidMessages"]}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "A quantidade necessária de [Estrelas do Telegram](https://core.telegram.org/api/stars.md).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "stars_amount"], "additionalProperties": false}, "businessBotRights": {"title": "negóciosBotRights", "description": "[Direitos do bot 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": "Se o bot pode enviar e editar mensagens em chats privados que receberam mensagens nas ú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": "Se o bot pode marcar mensagens privadas recebidas como lidas.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "delete_sent_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o bot pode excluir mensagens enviadas pelo bot.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "delete_received_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o bot pode excluir mensagens privadas recebidas em chats gerenciados.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "edit_name": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o bot pode editar o nome e o sobrenome da conta comercial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "edit_bio": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o bot pode editar a biografia da conta comercial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "edit_profile_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o bot pode editar a foto do perfil da conta comercial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "edit_username": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o bot pode editar o nome de usuário da conta comercial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "view_gifts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o bot pode visualizar os presentes e a quantidade de Telegram Stars pertencentes à conta empresarial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?true"}, "sell_gifts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o bot pode converter presentes regulares de propriedade da conta comercial em 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": "Se o bot pode alterar as configurações de privacidade relativas a presentes para a conta 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": "Se o bot pode transferir e atualizar presentes pertencentes à conta comercial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?true"}, "transfer_stars": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o bot pode transferir Telegram Stars recebidas pela conta empresarial para sua própria conta ou usá-las para atualizar e transferir presentes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?true"}, "manage_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se o bot pode postar, editar e excluir histórias em nome da conta comercial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}}, "required": ["_"], "additionalProperties": false}, "disallowedGiftsSettings": {"title": "não permitidoGiftsSettings", "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": "Não há 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": "Pares 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: SponsoredPeer."}, "x-tl-type": "Vector<SponsoredPeer>", "description": "Pares 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Informações sobre chats e canais 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Informações sobre usuários patrocinados", "x-telegram-field-docs": true}}, "required": ["_", "peers", "chats", "users"], "additionalProperties": false}, "starGiftAttributeIdModel": {"title": "starGiftAttributeIdModel", "description": "O ID de um modelo de [presente colecionável »](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": "O [adesivo](https://core.telegram.org/api/stickers.md) representando o presente atualizado", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "document_id"], "additionalProperties": false}, "starGiftAttributeIdPattern": {"title": "starGiftAttributeIdPattern", "description": "O ID de um padrão de [presente colecionável »](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": "O [adesivo](https://core.telegram.org/api/stickers.md) representando o símbolo", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "document_id"], "additionalProperties": false}, "starGiftAttributeIdBackdrop": {"title": "starGiftAttributeIdBackdrop", "description": "O ID de um cenário de um [presente colecionável »](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": "ID exclusivo do cenário.", "x-telegram-field-docs": true}}, "required": ["_", "backdrop_id"], "additionalProperties": false}, "starGiftAttributeCounter": {"title": "estrelaGiftAttributeCounter", "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 TL: StarGiftAttributeId."}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "attribute", "count"], "additionalProperties": false}, "payments.resaleStarGifts": {"title": "payments.resaleStarGifts", "description": "Lista de presentes atualmente em [revenda »](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": "Presentes colecionáveis na revenda (pode ser inferior a `count`, caso em que `next_offset` será definido).", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Deslocamento para paginação, passe para [payments.getResaleStarGifts](https://core.telegram.org/method/payments.getResaleStarGifts.md).`offset` para buscar os próximos 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 TL: StarGiftAttribute."}, "x-tl-type": "Vector<StarGiftAttribute>", "description": "Possíveis atributos de presente, definidos apenas se [payments.getResaleStarGifts](https://core.telegram.org/method/payments.getResaleStarGifts.md).`attributes_hash` estiver definido (na primeira chamada deve ser igual a `0`).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<StarGiftAttribute>"}, "attributes_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash do campo `attributes`, passe para [payments.getResaleStarGifts](https://core.telegram.org/method/payments.getResaleStarGifts.md).`attributes_hash` para evitar o retorno de quaisquer atributos (sinalizador não definido) se eles não tiverem sido alterados.", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados nos 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 TL: StarGiftAttributeCounter."}, "x-tl-type": "Vector<StarGiftAttributeCounter>", "description": "Indica o número total de brindes que possuem um atributo específico, definido apenas se [payments.getResaleStarGifts](https://core.telegram.org/method/payments.getResaleStarGifts.md).`offset` estiver vazio (como este campo não está relacionado à página de resultados atual, mas a todas elas, ele só é retornado na primeira 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados nos atributos.", "x-telegram-field-docs": true}}, "required": ["_", "count", "gifts", "chats", "users"], "additionalProperties": false}, "stories.canSendStoryCount": {"title": "stories.canSendStoryCount", "description": "Contém o número de slots de histórias ativas disponíveis (igual ao valor do [`story_expiring_limit_*` parâmetro de configuração do cliente](https://core.telegram.org/api/config.md#story-expiring-limit-default) menos o número de histórias ativas no momento).", "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": "Slots de história ativos restantes.", "x-telegram-field-docs": true}}, "required": ["_", "count_remains"], "additionalProperties": false}, "pendingSuggestion": {"title": "sugestão pendente", "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 TL: TextWithEntities."}, "description": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo TL: TextWithEntities."}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "suggestion", "title", "description", "url"], "additionalProperties": false}, "todoItem": {"title": "todoItem", "description": "Um item de uma [lista de tarefas »](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 do item, um número inteiro positivo (diferente de zero) exclusivo na lista atual.", "x-telegram-field-docs": true}, "title": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Texto do item, comprimento máximo 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 tarefas", "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 TL: TextWithEntities."}, "list": {"type": "array", "items": {"type": "object", "x-tl-type": "TodoItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["todoItem"]}}, "description": "Tipo TL: TodoItem."}, "x-tl-type": "Vector<TodoItem>"}}, "required": ["_", "title", "list"], "additionalProperties": false}, "todoCompletion": {"title": "todoCompletion", "type": "object", "properties": {"_": {"type": "string", "enum": ["todoCompletion"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "completed_by": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "completed_by", "date"], "additionalProperties": false}, "suggestedPost": {"title": "postagem sugerida", "description": "Contém informações sobre uma [postagem 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": "Se a postagem sugerida foi aceita.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "rejected": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se a postagem sugerida foi rejeitada.", "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": "Preço da postagem sugerida.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?StarsAmount"}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data de agendamento.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_"], "additionalProperties": false}, "starsRating": {"title": "estrelasClassificação", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsRating"]}, "level": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "current_level_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "next_level_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "level", "current_level_stars", "stars"], "additionalProperties": false}, "starGiftCollection": {"title": "starGiftCollection", "description": "Representa uma [coleção de presentes de estrelas »](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": "O ID da coleção.", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Título da coleção.", "x-telegram-field-docs": true}, "icon": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Ícone opcional da coleção, retirado do primeiro presente da coleção.", "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 presentes na coleção.", "x-telegram-field-docs": true}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Campo a ser usado **em vez de `collection_id`** ao gerar o hash para passar para [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": "A lista de [coleções de presentes de estrelas »](https://core.telegram.org/api/gifts.md#gift-collections) não mudou.", "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 uma lista de [coleções de presentes de estrelas »](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": "Coleções de presentes de estrelas.", "x-telegram-field-docs": true}}, "required": ["_", "collections"], "additionalProperties": false}, "storyAlbum": {"title": "históriaÁlbum", "description": "Representa um [álbum de histórias »](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 do álbum.", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nome do álbum.", "x-telegram-field-docs": true}, "icon_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Foto da primeira história do álbum, se for 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 da primeira história do álbum, se for um 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": "A [lista de álbuns de história »](https://core.telegram.org/api/stories.md#story-albums) não mudou.", "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": "[Álbuns de histórias »](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 passar para [stories.getAlbums](https://core.telegram.org/method/stories.getAlbums.md) para evitar retornar quaisquer resultados se eles não tiverem sido alterados.", "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": "Digite TL: StoryAlbum."}, "x-tl-type": "Vector<StoryAlbum>", "description": "Os álbuns.", "x-telegram-field-docs": true}}, "required": ["_", "hash", "albums"], "additionalProperties": false}, "searchPostsFlood": {"title": "pesquisaPostsFlood", "description": "Indica se a [pesquisa de postagem global »](https://core.telegram.org/api/search.md#posts-tab) especificada requer pagamento.", "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": "A consulta especificada é gratuita (e **não utilizará espaços de pesquisa livres**).", "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 espaços de pesquisa gratuitos diários.", "x-telegram-field-docs": true}, "remains": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número restante de espaços de pesquisa gratuitos.", "x-telegram-field-docs": true}, "wait_till": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se não houver mais slots de pesquisa, especifica o horário unix em que mais slots de pesquisa estarão disponíveis.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "O número de [Estrelas do Telegram](https://core.telegram.org/api/stars.md) para pagar por cada pesquisa não gratuita.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "total_daily", "remains", "stars_amount"], "additionalProperties": false}, "payments.uniqueStarGiftValueInfo": {"title": "payments.uniqueStarGiftValueInfo", "description": "Informações sobre o valor de um [presente colecionável »](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": "Se definido, a última venda foi concluída no Fragment.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "value_is_average": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se definido, `value` é calculado a partir do valor médio dos presentes vendidos do mesmo tipo. Caso contrário, é baseado no preço de venda do presente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Três letras ISO 4217 [código de moeda](https://core.telegram.org/bots/payments.md#supported-currencies) (uma moeda fiduciária localizada usada para representar preços e estimativas de preços neste construtor).", "x-telegram-field-docs": true}, "value": {"type": "string", "pattern": "^-?\\d+$", "description": "Valor estimado do presente, na menor unidade da moeda especificada em `currency`.", "x-tl-type": "long", "x-telegram-field-docs": true}, "initial_sale_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data inicial de compra do presente.", "x-telegram-field-docs": true}, "initial_sale_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço inicial de compra em estrelas.", "x-tl-type": "long", "x-telegram-field-docs": true}, "initial_sale_price": {"type": "string", "pattern": "^-?\\d+$", "description": "Preço de compra inicial na menor unidade da moeda especificada em `currency` (convertido automaticamente 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": "Data da última revenda do presente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "last_sale_price": {"type": "string", "pattern": "^-?\\d+$", "description": "Último preço de revenda, na menor unidade da moeda especificada em `currency`.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?long"}, "floor_price": {"type": "string", "pattern": "^-?\\d+$", "description": "O preço mínimo atual de presentes colecionáveis do mesmo tipo, na menor unidade da moeda especificada em `currency`.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?long"}, "average_price": {"type": "string", "pattern": "^-?\\d+$", "description": "O preço médio atual de venda de presentes colecionáveis do mesmo tipo, na menor unidade da moeda especificada em `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 presentes do mesmo tipo revendidos atualmente no 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 presentes do mesmo tipo sendo revendidos atualmente em fragmento.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?int"}, "fragment_listed_url": {"type": "string", "x-tl-type": "string", "description": "Link do fragmento para a lista de presentes do mesmo tipo atualmente revendidos no 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": "perfilTabPostagens", "description": "Representa a guia [stories](https://core.telegram.org/api/stories.md) de uma página de perfil.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabPosts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabPosts"]}}, "required": ["_"], "additionalProperties": false}, "profileTabGifts": {"title": "perfilTabGifts", "description": "Representa a guia [gifts](https://core.telegram.org/api/gifts.md) de uma 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 a guia de mídia de uma 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 a guia de arquivos compartilhados de um perfil.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabFiles"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabFiles"]}}, "required": ["_"], "additionalProperties": false}, "profileTabMusic": {"title": "perfilTabMusic", "description": "Representa a aba [music](https://core.telegram.org/api/profile.md#music) de uma 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 a guia de mensagens de voz de uma página de perfil.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabVoice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabVoice"]}}, "required": ["_"], "additionalProperties": false}, "profileTabLinks": {"title": "perfilTabLinks", "description": "Representa a guia de links compartilhados de uma 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 a guia gifs de uma 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 músicas atualmente fixadas no perfil de um usuário não mudou, veja [aqui »](https://core.telegram.org/api/profile.md#music) para mais informações.", "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 músicas no perfil do usuário.", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "users.savedMusic": {"title": "users.savedMusic", "description": "Lista de músicas atualmente fixadas no perfil de um usuário, veja [aqui »](https://core.telegram.org/api/profile.md#music) para mais informações.", "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 músicas (pode ser maior que `documents` dependendo do `limit` aprovado e do máximo padrão `limit`, caso em que a paginação é necessária).", "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": "Músicas.", "x-telegram-field-docs": true}}, "required": ["_", "count", "documents"], "additionalProperties": false}, "account.savedMusicIdsNotModified": {"title": "account.savedMusicIdsNotModified", "description": "A lista de IDs de músicas ([document](https://core.telegram.org/constructor/document.md).`id`s) atualmente fixadas em nosso perfil não mudou.", "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 IDs de músicas ([document](https://core.telegram.org/constructor/document.md).`id`s) atualmente fixadas em nosso perfil, veja [aqui »](https://core.telegram.org/api/profile.md#music) para mais informações.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.savedMusicIds"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.savedMusicIds"]}, "ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "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": "O presente especificado pode ser enviado.", "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": "O presente especificado ainda não pode ser enviado pelo 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": "A razão pela qual ainda não pode ser enviado.", "x-telegram-field-docs": true}}, "required": ["_", "reason"], "additionalProperties": false}, "inputChatThemeEmpty": {"title": "inputChatThemeEmpty", "description": "Remova qualquer tema atualmente configurado.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChatThemeEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChatThemeEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputChatTheme": {"title": "entradaChatTheme", "description": "Defina um tema de bate-papo baseado em emoji, retornado 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": "Os emojis.", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "inputChatThemeUniqueGift": {"title": "inputChatThemeUniqueGift", "description": "Defina um tema com base em um presente colecionável próprio ou [hospedado »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts), retornado 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": "A lesma de [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`slug`.", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "starGiftUpgradePrice": {"title": "starGiftUpgradePrice", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftUpgradePrice"]}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "upgrade_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "date", "upgrade_stars"], "additionalProperties": false}, "groupCallMessage": {"title": "grupoCallMessage", "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 TL: TextWithEntities."}, "paid_message_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "id", "from_id", "date", "message"], "additionalProperties": false}, "groupCallDonor": {"title": "grupoCallDonor", "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-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "stars"], "additionalProperties": false}, "phone.groupCallStars": {"title": "phone.groupCallStars", "description": "Contém o total de doações e os principais doadores de uma história ao vivo, consulte [doações pagas para histórias ao 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 Stars doado para a história ao 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 TL: GroupCallDonor."}, "x-tl-type": "Vector<GroupCallDonor>", "description": "Principais doadores", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados em `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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados em `top_donors`", "x-telegram-field-docs": true}}, "required": ["_", "total_stars", "top_donors", "chats", "users"], "additionalProperties": false}, "recentStory": {"title": "história recente", "description": "Resumo das [histórias ativas »](https://core.telegram.org/api/stories.md#recent-story-summaries) de um par, incorporadas em [usuário](https://core.telegram.org/constructor/user.md).`stories_max_id` e [canal](https://core.telegram.org/constructor/channel.md).`stories_max_id` e retornadas 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": "Se o par está transmitindo uma [história ao 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": "Se `live` estiver definido, ID da [história ao vivo »](https://core.telegram.org/api/stories.md#live-stories) ativa do par; caso contrário, ID da história ativa máxima do par.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_"], "additionalProperties": false}, "auctionBidLevel": {"title": "leilãoBidLevel", "type": "object", "properties": {"_": {"type": "string", "enum": ["auctionBidLevel"]}, "pos": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "pos", "amount", "date"], "additionalProperties": false}, "starGiftAuctionStateNotModified": {"title": "starGiftAuctionStateNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAuctionStateNotModified"]}}, "required": ["_"], "additionalProperties": false}, "starGiftAuctionState": {"title": "starGiftAuctionState", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAuctionState"]}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "end_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "min_bid_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "bid_levels": {"type": "array", "items": {"type": "object", "x-tl-type": "AuctionBidLevel", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["auctionBidLevel"]}}, "description": "Tipo de TL: AuctionBidLevel."}, "x-tl-type": "Vector<AuctionBidLevel>"}, "top_bidders": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}, "next_round_at": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "last_gift_num": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "gifts_left": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "current_round": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "total_rounds": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "rounds": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftAuctionRound", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionRound", "starGiftAuctionRoundExtendable"]}}, "description": "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": "starGiftAuctionStateFinished", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAuctionStateFinished"]}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "end_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "average_price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "listed_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "fragment_listed_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "fragment_listed_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "start_date", "end_date", "average_price"], "additionalProperties": false}, "starGiftAuctionUserState": {"title": "starGiftAuctionUserState", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAuctionUserState"]}, "returned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "bid_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "bid_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "min_bid_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "bid_peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "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": "Descreve um [leilão de presentes colecionáveis »](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": "O presente atualmente sendo distribuído no leilão.", "x-telegram-field-docs": true}, "state": {"type": "object", "x-tl-type": "StarGiftAuctionState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionStateNotModified", "starGiftAuctionState", "starGiftAuctionStateFinished"]}}, "description": "Estado do leilão.", "x-telegram-field-docs": true}, "user_state": {"type": "object", "x-tl-type": "StarGiftAuctionUserState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionUserState"]}}, "description": "Estado do leilão relacionado ao usuário atual (i.e. informações sobre lances feitos, presentes ganhos e assim por diante).", "x-telegram-field-docs": true}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Invoque novamente o método [payments.getStarGiftAuctionState](https://core.telegram.org/method/payments.getStarGiftAuctionState.md) após `timeout` segundos para continuar recebendo atualizações do leilão, veja [aqui »](https://core.telegram.org/api/auctions.md) para obter mais informações sobre o fluxo 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados", "x-telegram-field-docs": true}}, "required": ["_", "gift", "state", "user_state", "timeout", "users", "chats"], "additionalProperties": false}, "starGiftAuctionAcquiredGift": {"title": "starGiftAuctionAcquiredGift", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAuctionAcquiredGift"]}, "name_hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "bid_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "round": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pos": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo TL: TextWithEntities.", "x-tl-flag": "flags.1?TextWithEntities"}, "gift_num": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}}, "required": ["_", "peer", "date", "bid_amount", "round", "pos"], "additionalProperties": false}, "payments.starGiftAuctionAcquiredGifts": {"title": "payments.starGiftAuctionAcquiredGifts", "description": "Descreve todos os presentes que o usuário atual ganhou em um [leilão](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 TL: StarGiftAuctionAcquiredGift."}, "x-tl-type": "Vector<StarGiftAuctionAcquiredGift>", "description": "Os presentes", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados", "x-telegram-field-docs": true}}, "required": ["_", "gifts", "users", "chats"], "additionalProperties": false}, "starGiftActiveAuctionState": {"title": "starGiftActiveAuctionState", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftActiveAuctionState"]}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Tipo TL: StarGift."}, "state": {"type": "object", "x-tl-type": "StarGiftAuctionState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionStateNotModified", "starGiftAuctionState", "starGiftAuctionStateFinished"]}}, "description": "Tipo TL: StarGiftAuctionState."}, "user_state": {"type": "object", "x-tl-type": "StarGiftAuctionUserState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionUserState"]}}, "description": "Tipo TL: StarGiftAuctionUserState."}}, "required": ["_", "gift", "state", "user_state"], "additionalProperties": false}, "payments.starGiftActiveAuctionsNotModified": {"title": "payments.starGiftActiveAuctionsNotModified", "description": "A lista de [leilões de presentes](https://core.telegram.org/api/auctions.md) atualmente ativos **onde o usuário fez um lance** não mudou.", "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": "Descreve todos os [leilões de presentes](https://core.telegram.org/api/auctions.md) atualmente ativos onde o usuário fez um lance**.", "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 TL: StarGiftActiveAuctionState."}, "x-tl-type": "Vector<StarGiftActiveAuctionState>", "description": "Leilões onde o usuário fez um lance", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários 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: Bate-papo."}, "x-tl-type": "Vector<Chat>", "description": "Bate-papos mencionados", "x-telegram-field-docs": true}}, "required": ["_", "auctions", "users", "chats"], "additionalProperties": false}, "inputStarGiftAuction": {"title": "inputStarGiftAuction", "description": "Usado para buscar [leilões](https://core.telegram.org/api/auctions.md) usando o ID do [presente colecionável](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 presente colecionável](https://core.telegram.org/api/gifts.md#collectible-gifts)", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "gift_id"], "additionalProperties": false}, "inputStarGiftAuctionSlug": {"title": "inputStarGiftAuctionSlug", "description": "Usado para buscar [leilões](https://core.telegram.org/api/auctions.md) usando o [slug de um link direto de leilão »](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 link direto do leilão »](https://core.telegram.org/api/links.md#auction-links).", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "passkey": {"title": "chave de acesso", "description": "Informações legíveis por humanos sobre uma chave de acesso associada a uma conta, retornadas ao [criar uma chave de acesso »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) ou [listar chaves de acesso »](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 senha exclusiva, utilizável, por exemplo, em [account.deletePasskey](https://core.telegram.org/method/account.deletePasskey.md).", "x-telegram-field-docs": true}, "name": {"type": "string", "x-tl-type": "string", "description": "Nome da chave de acesso legível", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Data de criação da chave de acesso", "x-telegram-field-docs": true}, "software_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do [emoji personalizado](https://core.telegram.org/api/custom-emoji.md) usado como ícone para o software ou gerenciador de senhas que criou a chave de acesso", "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": "Data em que a senha foi usada pela última vez para fazer login", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "id", "name", "date"], "additionalProperties": false}, "account.passkeys": {"title": "account.passkeys", "description": "Lista de [senhas »](https://core.telegram.org/api/passkeys.md#list-passkeys) associadas à conta corrente.", "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: Senha."}, "x-tl-type": "Vector<Passkey>", "description": "Lista de senhas que podem ser usadas para fazer login na conta atual", "x-telegram-field-docs": true}}, "required": ["_", "passkeys"], "additionalProperties": false}, "account.passkeyRegistrationOptions": {"title": "account.passkeyRegistrationOptions", "description": "Opções de registro de senha, veja [aqui »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) para mais informações sobre o fluxo 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 em JSON cujo campo `publicKey` contém um 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": "Opções de login com chave de acesso, consulte [aqui »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey) para obter mais informações sobre o fluxo 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 em JSON cujo campo `publicKey` contém um objeto [`PublicKeyCredentialRequestOptions`](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredentialRequestOptions).", "x-telegram-field-docs": true}}, "required": ["_", "options"], "additionalProperties": false}, "inputPasskeyResponseRegister": {"title": "inputPasskeyResponseRegister", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPasskeyResponseRegister"]}, "client_data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Tipo TL: DataJSON."}, "attestation_data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "client_data", "attestation_data"], "additionalProperties": false}, "inputPasskeyResponseLogin": {"title": "inputPasskeyResponseLogin", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPasskeyResponseLogin"]}, "client_data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Tipo 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": "inputPasskeyCredentialPublicKey", "description": "Credencial de chave pública usada para registro e login, consulte [criando uma chave de acesso »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) e [efetuando login com uma chave de acesso »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey) para ver os fluxos 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 um [PublicKeyCredential](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential), passado como está, sem decodificação base64url ao usar a representação JSON", "x-telegram-field-docs": true}, "raw_id": {"type": "string", "x-tl-type": "string", "description": "`rawId` campo de um [PublicKeyCredential](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential), passado como está, sem decodificação base64url ao usar a representação JSON", "x-telegram-field-docs": true}, "response": {"type": "object", "x-tl-type": "InputPasskeyResponse", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPasskeyResponseRegister", "inputPasskeyResponseLogin"]}}, "description": "Resposta de registro ou login.", "x-telegram-field-docs": true}}, "required": ["_", "id", "raw_id", "response"], "additionalProperties": false}, "starGiftBackground": {"title": "estrelaGiftBackground", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftBackground"]}, "center_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "edge_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "text_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "center_color", "edge_color", "text_color"], "additionalProperties": false}, "starGiftAuctionRound": {"title": "starGiftAuctionRound", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAuctionRound"]}, "num": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "num", "duration"], "additionalProperties": false}, "starGiftAuctionRoundExtendable": {"title": "starGiftAuctionRoundExtensível", "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 apenas dos atributos colecionáveis que podem aparecer para um tipo de presente depois que ele for atualizado para [presente colecionável »](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 TL: StarGiftAttribute."}, "x-tl-type": "Vector<StarGiftAttribute>", "description": "Lista completa de possíveis atributos que podem ser atribuídos quando presentes do tipo especificado são transformados em [presentes colecionáveis »](https://core.telegram.org/api/gifts.md#collectible-gifts), incluindo modelos somente artesanais marcados com [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-битное целое в десятичной записи.", "x-tl-type": "long"}, "ton_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "seed", "stake_ton_amount", "ton_amount"], "additionalProperties": false}, "messages.emojiGameUnavailable": {"title": "messages.emojiGameUnavailable", "description": "Informações do jogo 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": "Informações do jogo 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": "Hash do jogo.", "x-telegram-field-docs": true}, "prev_stake": {"type": "string", "pattern": "^-?\\d+$", "description": "Participação anterior.", "x-tl-type": "long", "x-telegram-field-docs": true}, "current_streak": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Sequência atual.", "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": "Jogadas restantes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "game_hash", "prev_stake", "current_streak", "params"], "additionalProperties": false}, "starGiftAttributeRarity": {"title": "starGiftAttributeRarity", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarity"]}, "permille": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "permille"], "additionalProperties": false}, "starGiftAttributeRarityUncommon": {"title": "starGiftAttributeRarityUncommon", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarityUncommon"]}}, "required": ["_"], "additionalProperties": false}, "starGiftAttributeRarityRare": {"title": "starGiftAttributeRarityRare", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarityRare"]}}, "required": ["_"], "additionalProperties": false}, "starGiftAttributeRarityEpic": {"title": "starGiftAttributeRarityEpic", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarityEpic"]}}, "required": ["_"], "additionalProperties": false}, "starGiftAttributeRarityLegendary": {"title": "estrelaGiftAttributeRaridadeLegendary", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarityLegendary"]}}, "required": ["_"], "additionalProperties": false}, "keyboardButtonStyle": {"title": "tecladoButtonStyle", "type": "object", "properties": {"_": {"type": "string", "enum": ["keyboardButtonStyle"]}, "bg_primary": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "bg_danger": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "bg_success": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "icon": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}}, "required": ["_"], "additionalProperties": false}, "inputMessageReadMetric": {"title": "inputMessageReadMetric", "description": "Métrica de leitura para exposição de uma única mensagem, descrevendo por quanto tempo a mensagem ficou visível na janela de visualização do 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 da mensagem", "x-telegram-field-docs": true}, "view_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatório diferente de zero de 64 bits gerado para esta exposição", "x-tl-type": "long", "x-telegram-field-docs": true}, "time_in_view_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tempo total de exposição em milissegundos de pelo menos um pixel da mensagem, após o período de carência 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` acumulada enquanto o usuário está ativo", "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)`, pode exceder 1000 quando a mensagem for mais alta que a janela de visualização", "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)`, fixado na faixa de 0–1000", "x-telegram-field-docs": true}, "recommendation_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "recommendation_rank": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "recommendation_role": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "surface": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "event_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}}, "required": ["_", "msg_id", "view_id", "time_in_view_ms", "active_time_in_view_ms", "height_to_viewport_ratio_permille", "seen_range_ratio_permille"], "additionalProperties": false}, "bots.exportedBotToken": {"title": "bots.exportedBotToken", "description": "O token de bot de um [bot gerenciado »](https://core.telegram.org/api/bots/managed-bots.md#managing-a-managed-bot), exportado pelo bot gerenciador.", "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": "O token do bot gerenciado", "x-telegram-field-docs": true}}, "required": ["_", "token"], "additionalProperties": false}, "bots.requestedButton": {"title": "bots.requestedButton", "description": "Contém o ID de solicitação que um bot deve passar para um [Mini App](https://core.telegram.org/api/bots/webapps.md) depois de preparar um botão de solicitação de peer com [bots.requestWebViewButton](https://core.telegram.org/method/bots.requestWebViewButton.md), veja [aqui »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps) para mais informações.", "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 solicitação do Mini App, a ser passado pelo bot para o Mini App e depois de volta para [bots.getRequestedWebViewButton](https://core.telegram.org/method/bots.getRequestedWebViewButton.md) e [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 uma mensagem modificada pela 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": "A mensagem modificada.", "x-telegram-field-docs": true}, "diff_text": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Se **apenas** o modo de revisão ([messages.composeMessageWithAI](https://core.telegram.org/method/messages.composeMessageWithAI.md).`proofread`) estiver habilitado, este campo será preenchido com uma diferença \"pré-renderizada\" entre o texto da mensagem antiga e a nova usando **apenas** [entidades de diferença »](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": "[Estatísticas](https://core.telegram.org/api/stats.md#poll-statistics) para uma enquete enviada em uma mensagem.", "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": "Um gráfico contendo o número de votos expressos na enquete ao longo do tempo", "x-telegram-field-docs": true}}, "required": ["_", "votes_graph"], "additionalProperties": false}, "inputAiComposeToneDefault": {"title": "inputAiComposeToneDefault", "description": "Faz referência a um [tom de compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) padrão integrado por seu identificador de string.", "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 string do tom integrado, conforme retornado em [aiComposeToneDefault](https://core.telegram.org/constructor/aiComposeToneDefault.md).`tone`", "x-telegram-field-docs": true}}, "required": ["_", "tone"], "additionalProperties": false}, "inputAiComposeToneID": {"title": "inputAiComposeToneID", "description": "Faz referência a um [tom de compositor de IA »](https://core.telegram.org/api/ai.md#ai-compose-tones) personalizado por seu ID e hash de acesso.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputAiComposeToneID"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputAiComposeToneID"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de tom, conforme retornado em [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": "Tom [hash de acesso](https://core.telegram.org/api/peers.md#access-hash), conforme retornado em [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": "inputAiComposeToneSlug", "description": "Faz referência a um [AI compositor tone »](https://core.telegram.org/api/ai.md#ai-compose-tones) personalizado por seu slug público, usado ao abrir um [AI compose tone link »](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 tom público, conforme retornado em [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": "Um [tom do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) personalizado, usado para reformular mensagens em um estilo específico com o [compositor de mensagens 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": "Se o usuário atual é o criador deste tom", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de tom", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acesso de tom", "x-tl-type": "long", "x-telegram-field-docs": true}, "slug": {"type": "string", "x-tl-type": "string", "description": "Tone slug exclusivo, usado para compartilhar e instalar o tom via [AI compose tone links »](https://core.telegram.org/api/links.md#ai-compose-tone-links)", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nome do tom legível por humanos, com até [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 caracteres de comprimento", "x-telegram-field-docs": true}, "emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[ID de emoji personalizado](https://core.telegram.org/api/custom-emoji.md) do ícone do tom", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?long"}, "prompt": {"type": "string", "x-tl-type": "string", "description": "O prompt que descreve como a IA deve reformular as mensagens usando este tom, com até [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 caracteres; presente apenas para tons criados pelo usuário atual", "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 usuários que instalaram este tom", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "author_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID do usuário que criou este tom, se divulgado pelo 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": "Um exemplo que mostra como um exemplo de mensagem em inglês é reformulado por este tom; use [aicompose.getToneExample](https://core.telegram.org/method/aicompose.getToneExample.md) para buscar mais exemplos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?AiComposeToneExample"}}, "required": ["_", "id", "access_hash", "slug", "title"], "additionalProperties": false}, "aiComposeToneDefault": {"title": "aiComposeToneDefault", "description": "Um [tom de compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) padrão integrado, identificado por um identificador de string em vez de um 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 string do tom integrado, a ser passado para [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) do ícone do tom", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nome do tom localizado e legível por humanos", "x-telegram-field-docs": true}}, "required": ["_", "tone", "emoji_id", "title"], "additionalProperties": false}, "aicompose.tonesNotModified": {"title": "aicompose.tonesNotModified", "description": "A lista de [tons do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) salvos não mudou desde a última vez que foi buscada (i.e. o `hash` passado para [aicompose.getTones](https://core.telegram.org/method/aicompose.getTones.md) ainda é 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": "A lista de [tons do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) salvos do usuário atual.", "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 paginação, para mais informações clique aqui](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 TL: AiComposeTone."}, "x-tl-type": "Vector<AiComposeTone>", "description": "Os tons salvos do 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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários mencionados (i.e. os autores dos tons)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "tones", "users"], "additionalProperties": false}, "aiComposeToneExample": {"title": "aiComposeToneExample", "description": "Um exemplo que mostra como um [tom do compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) reformula uma mensagem, usada como uma prévia no seletor de tom.", "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": "A mensagem de amostra original e não transformada", "x-telegram-field-docs": true}, "to": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "A mesma mensagem de exemplo após ser reformulada com este tom", "x-telegram-field-docs": true}}, "required": ["_", "from", "to"], "additionalProperties": false}, "bots.accessSettings": {"title": "bots.accessSettings", "description": "Configurações de restrição de acesso para um [bot gerenciado »](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": "Se definido, apenas o proprietário e os usuários em `add_users` poderão acessar o bot gerenciado", "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": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>", "description": "Usuários adicionais (máximo de 10, excluindo o proprietário) que podem acessar o bot gerenciado; presente apenas quando `restricted` está definido", "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: Atualizações."}}, "required": ["_", "updates"], "additionalProperties": false}, "messages.chatInviteJoinResultWebView": {"title": "messages.chatInviteJoinResultWebView", "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.chatInviteJoinResultWebView"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>"}}, "required": ["_", "bot_id", "query_id", "users"], "additionalProperties": false}, "joinChatBotResultApproved": {"title": "joinChatBotResultApproved", "type": "object", "properties": {"_": {"type": "string", "enum": ["joinChatBotResultApproved"]}}, "required": ["_"], "additionalProperties": false}, "joinChatBotResultDeclined": {"title": "joinChatBotResultDeclined", "type": "object", "properties": {"_": {"type": "string", "enum": ["joinChatBotResultDeclined"]}}, "required": ["_"], "additionalProperties": false}, "joinChatBotResultQueued": {"title": "joinChatBotResultQueued", "type": "object", "properties": {"_": {"type": "string", "enum": ["joinChatBotResultQueued"]}}, "required": ["_"], "additionalProperties": false}, "joinChatBotResultWebView": {"title": "joinChatBotResultWebView", "type": "object", "properties": {"_": {"type": "string", "enum": ["joinChatBotResultWebView"]}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url"], "additionalProperties": false}, "webDomainException": {"title": "webDomainException", "type": "object", "properties": {"_": {"type": "string", "enum": ["webDomainException"]}, "domain": {"type": "string", "x-tl-type": "string"}, "url": {"type": "string", "x-tl-type": "string"}, "title": {"type": "string", "x-tl-type": "string"}, "favicon": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "domain", "url", "title"], "additionalProperties": false}, "account.webBrowserSettingsNotModified": {"title": "account.webBrowserSettingsNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["account.webBrowserSettingsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "account.webBrowserSettings": {"title": "account.webBrowserSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["account.webBrowserSettings"]}, "open_external_browser": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "display_close_button": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "external_exceptions": {"type": "array", "items": {"type": "object", "x-tl-type": "WebDomainException", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDomainException"]}}, "description": "Тип TL: WebDomainException."}, "x-tl-type": "Vector<WebDomainException>"}, "inapp_exceptions": {"type": "array", "items": {"type": "object", "x-tl-type": "WebDomainException", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDomainException"]}}, "description": "Тип TL: WebDomainException."}, "x-tl-type": "Vector<WebDomainException>"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "external_exceptions", "inapp_exceptions", "hash"], "additionalProperties": false}, "inputRichFilePhoto": {"title": "inputRichFilePhoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputRichFilePhoto"]}, "id": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "InputPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty", "inputPhoto"]}}, "description": "Tipo TL: InputPhoto."}}, "required": ["_", "id", "photo"], "additionalProperties": false}, "inputRichFileDocument": {"title": "inputRichFileDocument", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputRichFileDocument"]}, "id": {"type": "string", "x-tl-type": "string"}, "document": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "Tipo TL: InputDocument."}}, "required": ["_", "id", "document"], "additionalProperties": false}, "inputRichMessage": {"title": "inputRichMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputRichMessage"]}, "rtl": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "noautolink": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Tipo TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "photos": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty", "inputPhoto"]}}, "description": "Tipo TL: InputPhoto."}, "x-tl-type": "Vector<InputPhoto>", "x-tl-flag": "flags.2?Vector<InputPhoto>"}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "Tipo TL: InputDocument."}, "x-tl-type": "Vector<InputDocument>", "x-tl-flag": "flags.3?Vector<InputDocument>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "Tipo TL: InputUser."}, "x-tl-type": "Vector<InputUser>", "x-tl-flag": "flags.4?Vector<InputUser>"}}, "required": ["_", "blocks"], "additionalProperties": false}, "inputRichMessageHTML": {"title": "inputRichMessageHTML", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputRichMessageHTML"]}, "rtl": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "noautolink": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "html": {"type": "string", "x-tl-type": "string"}, "files": {"type": "array", "items": {"type": "object", "x-tl-type": "InputRichFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputRichFilePhoto", "inputRichFileDocument"]}}, "description": "Тип TL: InputRichFile."}, "x-tl-type": "Vector<InputRichFile>", "x-tl-flag": "flags.2?Vector<InputRichFile>"}}, "required": ["_", "html"], "additionalProperties": false}, "inputRichMessageMarkdown": {"title": "inputRichMessageMarkdown", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputRichMessageMarkdown"]}, "rtl": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "noautolink": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "markdown": {"type": "string", "x-tl-type": "string"}, "files": {"type": "array", "items": {"type": "object", "x-tl-type": "InputRichFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputRichFilePhoto", "inputRichFileDocument"]}}, "description": "Тип TL: InputRichFile."}, "x-tl-type": "Vector<InputRichFile>", "x-tl-flag": "flags.2?Vector<InputRichFile>"}}, "required": ["_", "markdown"], "additionalProperties": false}, "richMessage": {"title": "richMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["richMessage"]}, "rtl": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "part": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Tipo TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "photos": {"type": "array", "items": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "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-битное целое в десятичной записи.", "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: Bate-papo."}, "x-tl-type": "Vector<Chat>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "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-битное целое в десятичной записи.", "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 TL: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.2?Vector<MessageEntity>"}, "media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "Tipo 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 TL: ReplyMarkup.", "x-tl-flag": "flags.4?ReplyMarkup"}, "reply_to": {"type": "object", "x-tl-type": "MessageReplyHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReplyHeader", "messageReplyStoryHeader"]}}, "description": "Tipo TL: MessageReplyHeader.", "x-tl-flag": "flags.6?MessageReplyHeader"}, "rich_message": {"type": "object", "x-tl-type": "RichMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["richMessage"]}}, "description": "Тип TL: RichMessage.", "x-tl-flag": "flags.8?RichMessage"}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.10?long"}, "anchor_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.11?int"}}, "required": ["_", "id", "from_id", "receiver_id", "date", "message"], "additionalProperties": false}, "communities.participantJoinedChats": {"title": "communities.participantJoinedChats", "type": "object", "properties": {"_": {"type": "string", "enum": ["communities.participantJoinedChats"]}, "creator_chat_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}, "joined_chat_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Tipo TL: Bate-papo."}, "x-tl-type": "Vector<Chat>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "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 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 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 TL: InputUser.", "x-tl-flag": "flags.2?InputUser"}}, "required": ["_", "url"], "additionalProperties": false}, "inlineButtonTypeWebView": {"title": "inlineButtonTypeWebView", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeWebView"]}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url"], "additionalProperties": false}, "inlineButtonTypeCallback": {"title": "inlineButtonTypeCallback", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeCallback"]}, "requires_password": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "data"], "additionalProperties": false}, "inlineButtonTypeGame": {"title": "inlineButtonTypeGame", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeGame"]}}, "required": ["_"], "additionalProperties": false}, "inlineButtonTypeBuy": {"title": "inlineButtonTypeBuy", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeBuy"]}}, "required": ["_"], "additionalProperties": false}, "inlineButtonTypeSwitchInline": {"title": "inlineButtonTypeSwitchInline", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeSwitchInline"]}, "same_peer": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "query": {"type": "string", "x-tl-type": "string"}, "peer_types": {"type": "array", "items": {"type": "object", "x-tl-type": "InlineQueryPeerType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inlineQueryPeerTypeSameBotPM", "inlineQueryPeerTypePM", "inlineQueryPeerTypeChat", "inlineQueryPeerTypeMegagroup", "inlineQueryPeerTypeBroadcast", "inlineQueryPeerTypeBotPM"]}}, "description": "Tipo 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-битное целое в десятичной записи.", "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 TL: InputUser."}}, "required": ["_", "user_id"], "additionalProperties": false}, "inlineButtonTypeCopy": {"title": "inlineButtonTypeCopy", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeCopy"]}, "copy_text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "copy_text"], "additionalProperties": false}, "inlineButtonTypeDisabled": {"title": "inlineButtonTypeDisabled", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeDisabled"]}}, "required": ["_"], "additionalProperties": false}, "keyboardInlineButton": {"title": "keyboardInlineButton", "type": "object", "properties": {"_": {"type": "string", "enum": ["keyboardInlineButton"]}, "style": {"type": "object", "x-tl-type": "KeyboardButtonStyle", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["keyboardButtonStyle"]}}, "description": "Tipo TL: KeyboardButtonStyle.", "x-tl-flag": "flags.10?KeyboardButtonStyle"}, "text": {"type": "string", "x-tl-type": "string"}, "type": {"type": "object", "x-tl-type": "InlineButtonType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeUrl", "inlineButtonTypeUrlAuth", "inputInlineButtonTypeUrlAuth", "inlineButtonTypeWebView", "inlineButtonTypeCallback", "inlineButtonTypeGame", "inlineButtonTypeBuy", "inlineButtonTypeSwitchInline", "inlineButtonTypeUserProfile", "inputInlineButtonTypeUserProfile", "inlineButtonTypeCopy", "inlineButtonTypeDisabled"]}}, "description": "Тип TL: InlineButtonType."}}, "required": ["_", "text", "type"], "additionalProperties": false}, "keyboardInlineButtonRow": {"title": "keyboardInlineButtonRow", "type": "object", "properties": {"_": {"type": "string", "enum": ["keyboardInlineButtonRow"]}, "buttons": {"type": "array", "items": {"type": "object", "x-tl-type": "KeyboardInlineButton", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["keyboardInlineButton"]}}, "description": "Тип TL: KeyboardInlineButton."}, "x-tl-type": "Vector<KeyboardInlineButton>"}}, "required": ["_", "buttons"], "additionalProperties": false}, "richButtonStyle": {"title": "richButtonStyle", "type": "object", "properties": {"_": {"type": "string", "enum": ["richButtonStyle"]}, "bg_primary": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "bg_danger": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "bg_success": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "link": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}}, "required": ["_"], "additionalProperties": false}, "pageButton": {"title": "pageButton", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageButton"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Tipo TL: RichText."}, "type": {"type": "object", "x-tl-type": "InlineButtonType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeUrl", "inlineButtonTypeUrlAuth", "inputInlineButtonTypeUrlAuth", "inlineButtonTypeWebView", "inlineButtonTypeCallback", "inlineButtonTypeGame", "inlineButtonTypeBuy", "inlineButtonTypeSwitchInline", "inlineButtonTypeUserProfile", "inputInlineButtonTypeUserProfile", "inlineButtonTypeCopy", "inlineButtonTypeDisabled"]}}, "description": "Тип TL: InlineButtonType."}, "style": {"type": "object", "x-tl-type": "RichButtonStyle", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["richButtonStyle"]}}, "description": "Тип TL: RichButtonStyle.", "x-tl-flag": "flags.0?RichButtonStyle"}}, "required": ["_", "text", "type"], "additionalProperties": false}, "ephemeral.welcomeMessagesNotModified": {"title": "ephemeral.welcomeMessagesNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["ephemeral.welcomeMessagesNotModified"]}}, "required": ["_"], "additionalProperties": false}, "ephemeral.welcomeMessages": {"title": "ephemeral.welcomeMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["ephemeral.welcomeMessages"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "EphemeralMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["ephemeralMessage"]}}, "description": "Тип TL: EphemeralMessage."}, "x-tl-type": "Vector<EphemeralMessage>"}}, "required": ["_", "hash", "messages"], "additionalProperties": false}, "currencyRate": {"title": "currencyRate", "type": "object", "properties": {"_": {"type": "string", "enum": ["currencyRate"]}, "currency": {"type": "string", "x-tl-type": "string"}, "rate": {"type": "number", "format": "double", "x-tl-type": "double"}}, "required": ["_", "currency", "rate"], "additionalProperties": false}, "payments.currencyRates": {"title": "payments.currencyRates", "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.currencyRates"]}, "rates": {"type": "array", "items": {"type": "object", "x-tl-type": "CurrencyRate", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["currencyRate"]}}, "description": "Тип TL: CurrencyRate."}, "x-tl-type": "Vector<CurrencyRate>"}}, "required": ["_", "rates"], "additionalProperties": false}, "toncenter.apiResponse": {"title": "toncenter.apiResponse", "type": "object", "properties": {"_": {"type": "string", "enum": ["toncenter.apiResponse"]}, "response": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Tipo 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-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "address", "public_key", "balance"], "additionalProperties": false}, "walletUserAddress": {"title": "walletUserAddress", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletUserAddress"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "address": {"type": "string", "x-tl-type": "string"}, "public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "address", "public_key"], "additionalProperties": false}, "wallet.userAddresses": {"title": "wallet.userAddresses", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.userAddresses"]}, "addresses": {"type": "array", "items": {"type": "object", "x-tl-type": "WalletUserAddress", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletUserAddress"]}}, "description": "Тип TL: WalletUserAddress."}, "x-tl-type": "Vector<WalletUserAddress>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>"}}, "required": ["_", "addresses", "users"], "additionalProperties": false}, "walletTransactionPeerUser": {"title": "walletTransactionPeerUser", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "address": {"type": "string", "x-tl-type": "string"}, "domain": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "user_id", "address"], "additionalProperties": false}, "walletTransactionPeerAddress": {"title": "walletTransactionPeerAddress", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerAddress"]}, "address": {"type": "string", "x-tl-type": "string"}, "domain": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "address"], "additionalProperties": false}, "walletTransactionPeerOnramp": {"title": "walletTransactionPeerOnramp", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerOnramp"]}, "address": {"type": "string", "x-tl-type": "string"}, "domain": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "provider_name": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "address", "provider_name"], "additionalProperties": false}, "walletTransactionPeerUnsupported": {"title": "walletTransactionPeerUnsupported", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerUnsupported"]}}, "required": ["_"], "additionalProperties": false}, "walletTransactionPeerChannel": {"title": "walletTransactionPeerChannel", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "address": {"type": "string", "x-tl-type": "string"}, "domain": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "channel_id", "address"], "additionalProperties": false}, "walletTransactionPeerTelegramGift": {"title": "walletTransactionPeerTelegramGift", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerTelegramGift"]}, "own_profile": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "walletTransactionPeerOnchainGift": {"title": "walletTransactionPeerOnchainGift", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerOnchainGift"]}, "action": {"type": "object", "x-tl-type": "WalletOnchainGiftAction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionBuy", "walletOnchainGiftActionDelist", "walletOnchainGiftActionChangePrice", "walletOnchainGiftActionOfferCreate", "walletOnchainGiftActionOfferAccept", "walletOnchainGiftActionOfferCancel", "walletOnchainGiftActionOfferDecline", "walletOnchainGiftActionOfferExpire"]}}, "description": "Тип TL: WalletOnchainGiftAction."}}, "required": ["_", "action"], "additionalProperties": false}, "walletTransactionPeerStaking": {"title": "walletTransactionPeerStaking", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerStaking"]}, "action": {"type": "object", "x-tl-type": "WalletStakingAction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletStakingActionDeposit", "walletStakingActionWithdraw", "walletStakingActionWithdrawPending"]}}, "description": "Тип TL: WalletStakingAction."}}, "required": ["_", "action"], "additionalProperties": false}, "walletTransaction": {"title": "walletTransaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransaction"]}, "incoming": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "gasless": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "failed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "key_change": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "comment_encrypted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "suspected_spam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "id": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "fee": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peer": {"type": "object", "x-tl-type": "WalletTransactionPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerUser", "walletTransactionPeerAddress", "walletTransactionPeerOnramp", "walletTransactionPeerUnsupported", "walletTransactionPeerChannel", "walletTransactionPeerTelegramGift", "walletTransactionPeerOnchainGift", "walletTransactionPeerStaking"]}}, "description": "Тип TL: WalletTransactionPeer."}, "comment": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "tx_hash": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}, "nft": {"type": "object", "x-tl-type": "wallet.NftItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.nftItem"]}}, "description": "Тип TL: wallet.NftItem.", "x-tl-flag": "flags.7?wallet.NftItem"}}, "required": ["_", "id", "amount", "fee", "date", "peer"], "additionalProperties": false}, "wallet.transactions": {"title": "wallet.transactions", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.transactions"]}, "balance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "transactions": {"type": "array", "items": {"type": "object", "x-tl-type": "WalletTransaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletTransaction"]}}, "description": "Тип TL: WalletTransaction."}, "x-tl-type": "Vector<WalletTransaction>"}, "next_offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Tipo TL: Bate-papo."}, "x-tl-type": "Vector<Chat>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "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 TL: WebDocument.", "x-tl-flag": "flags.0?WebDocument"}}, "required": ["_", "url", "name"], "additionalProperties": false}, "tonConnectSession": {"title": "tonConnectSession", "type": "object", "properties": {"_": {"type": "string", "enum": ["tonConnectSession"]}, "pending": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "closing": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "closed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "dapp_client_id": {"type": "string", "x-tl-type": "string"}, "client_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "nonce": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "manifest": {"type": "object", "x-tl-type": "TonConnectManifest", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["tonConnectManifest"]}}, "description": "Тип TL: TonConnectManifest.", "x-tl-flag": "flags.4?TonConnectManifest"}, "manifest_error": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "dapp_client_id", "nonce", "date"], "additionalProperties": false}, "wallet.tonConnectChallenge": {"title": "wallet.tonConnectChallenge", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.tonConnectChallenge"]}, "challenge": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "event_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "challenge", "event_id"], "additionalProperties": false}, "tonConnectNextEventId": {"title": "tonConnectNextEventId", "type": "object", "properties": {"_": {"type": "string", "enum": ["tonConnectNextEventId"]}, "event_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "event_id"], "additionalProperties": false}, "tonConnectRequest": {"title": "tonConnectRequest", "type": "object", "properties": {"_": {"type": "string", "enum": ["tonConnectRequest"]}, "session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "topic": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "trace_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "session_id", "msg_id", "body", "expires"], "additionalProperties": false}, "wallet.tonConnectPending": {"title": "wallet.tonConnectPending", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.tonConnectPending"]}, "session": {"type": "object", "x-tl-type": "TonConnectSession", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["tonConnectSession"]}}, "description": "Тип TL: TonConnectSession."}, "requests": {"type": "array", "items": {"type": "object", "x-tl-type": "TonConnectRequest", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["tonConnectRequest"]}}, "description": "Тип TL: TonConnectRequest."}, "x-tl-type": "Vector<TonConnectRequest>"}}, "required": ["_", "session", "requests"], "additionalProperties": false}, "wallet.tonConnectSessions": {"title": "wallet.tonConnectSessions", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.tonConnectSessions"]}, "sessions": {"type": "array", "items": {"type": "object", "x-tl-type": "TonConnectSession", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["tonConnectSession"]}}, "description": "Тип TL: TonConnectSession."}, "x-tl-type": "Vector<TonConnectSession>"}}, "required": ["_", "sessions"], "additionalProperties": false}, "wallet.existingBalance": {"title": "wallet.existingBalance", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.existingBalance"]}, "has_balance": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url"], "additionalProperties": false}, "wallet.nftAttribute": {"title": "wallet.nftAttribute", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.nftAttribute"]}, "trait_type": {"type": "string", "x-tl-type": "string"}, "value": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "trait_type", "value"], "additionalProperties": false}, "wallet.nftItem": {"title": "wallet.nftItem", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.nftItem"]}, "collection_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "address": {"type": "string", "x-tl-type": "string"}, "owner_address": {"type": "string", "x-tl-type": "string"}, "index": {"type": "string", "x-tl-type": "string"}, "name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "description": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "image": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Tipo TL: WebDocument.", "x-tl-flag": "flags.3?WebDocument"}, "image_small": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Tipo TL: WebDocument.", "x-tl-flag": "flags.4?WebDocument"}, "content_url": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Tipo TL: WebDocument.", "x-tl-flag": "flags.5?WebDocument"}, "lottie": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Tipo TL: WebDocument.", "x-tl-flag": "flags.6?WebDocument"}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "wallet.NftAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.nftAttribute"]}}, "description": "Тип TL: wallet.NftAttribute."}, "x-tl-type": "Vector<wallet.NftAttribute>", "x-tl-flag": "flags.7?Vector<wallet.NftAttribute>"}, "extra": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Tipo 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-битное целое в десятичной записи.", "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: Reação."}, "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 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 TL: MediaAreaCoordenadas."}, "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 TL: MediaAreaCoordenadas."}, "nft": {"type": "object", "x-tl-type": "wallet.NftItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.nftItem"]}}, "description": "Тип TL: wallet.NftItem."}}, "required": ["_", "coordinates", "nft"], "additionalProperties": false}, "wallet.card": {"title": "wallet.card", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.card"]}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "wallet.CardSticker", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.cardSticker"]}}, "description": "Тип TL: wallet.CardSticker."}, "x-tl-type": "Vector<wallet.CardSticker>", "x-tl-flag": "flags.0?Vector<wallet.CardSticker>"}, "bg_nft_item": {"type": "object", "x-tl-type": "wallet.NftItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.nftItem"]}}, "description": "Тип TL: wallet.NftItem.", "x-tl-flag": "flags.1?wallet.NftItem"}, "address": {"type": "string", "x-tl-type": "string"}, "balance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "address", "balance"], "additionalProperties": false}, "payments.starGiftDepositPayload": {"title": "payments.starGiftDepositPayload", "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftDepositPayload"]}, "nft_address": {"type": "string", "x-tl-type": "string"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "nft_address", "payload", "amount"], "additionalProperties": false}, "userWallet": {"title": "userWallet", "type": "object", "properties": {"_": {"type": "string", "enum": ["userWallet"]}, "address": {"type": "string", "x-tl-type": "string"}, "balance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}, "state_init": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}}, "required": ["_", "address", "balance"], "additionalProperties": false}, "widgetQueryTypeData": {"title": "widgetQueryTypeData", "type": "object", "properties": {"_": {"type": "string", "enum": ["widgetQueryTypeData"]}, "with_wallet": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "widgetQueryTypeSignData": {"title": "widgetQueryTypeSignData", "type": "object", "properties": {"_": {"type": "string", "enum": ["widgetQueryTypeSignData"]}, "wallet": {"type": "object", "x-tl-type": "UserWallet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userWallet"]}}, "description": "Тип TL: UserWallet."}, "sign_data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Tipo 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-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "x-tl-type": "string"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "hash", "data", "period"], "additionalProperties": false}, "walletOnchainGiftActionBuy": {"title": "walletOnchainGiftActionBuy", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionBuy"]}}, "required": ["_"], "additionalProperties": false}, "walletOnchainGiftActionDelist": {"title": "walletOnchainGiftActionDelist", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionDelist"]}}, "required": ["_"], "additionalProperties": false}, "walletOnchainGiftActionChangePrice": {"title": "walletOnchainGiftActionChangePrice", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionChangePrice"]}, "old_price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "new_price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "new_price"], "additionalProperties": false}, "walletOnchainGiftActionOfferCreate": {"title": "walletOnchainGiftActionOfferCreate", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionOfferCreate"]}, "offer_address": {"type": "string", "x-tl-type": "string"}, "counterparty_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "service_fee": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "expires_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}}, "required": ["_", "offer_address", "price", "amount", "service_fee"], "additionalProperties": false}, "walletOnchainGiftActionOfferAccept": {"title": "walletOnchainGiftActionOfferAccept", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionOfferAccept"]}, "buyer": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "offer_address": {"type": "string", "x-tl-type": "string"}, "counterparty_address": {"type": "string", "x-tl-type": "string"}, "price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "service_fee": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "offer_address", "counterparty_address", "price", "service_fee"], "additionalProperties": false}, "walletOnchainGiftActionOfferCancel": {"title": "walletOnchainGiftActionOfferCancel", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionOfferCancel"]}, "offer_address": {"type": "string", "x-tl-type": "string"}, "counterparty_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "refund_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "fine": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}}, "required": ["_", "offer_address", "refund_amount"], "additionalProperties": false}, "walletOnchainGiftActionOfferDecline": {"title": "walletOnchainGiftActionOfferDecline", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionOfferDecline"]}, "offer_address": {"type": "string", "x-tl-type": "string"}, "counterparty_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "refund_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "offer_address", "refund_amount"], "additionalProperties": false}, "walletOnchainGiftActionOfferExpire": {"title": "walletOnchainGiftActionOfferExpire", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionOfferExpire"]}, "offer_address": {"type": "string", "x-tl-type": "string"}, "counterparty_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "refund_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "offer_address", "refund_amount"], "additionalProperties": false}, "payments.starGiftOnchainSalePayload": {"title": "payments.starGiftOnchainSalePayload", "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainSalePayload"]}, "gasless_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "nft_address": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "nft_address", "amount", "payload"], "additionalProperties": false}, "payments.starGiftOnchainFixedSalePayload": {"title": "payments.starGiftOnchainFixedSalePayload", "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainFixedSalePayload"]}, "sale_address": {"type": "string", "x-tl-type": "string"}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "payments.StarGiftOnchainOfferTxMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTxMessage"]}}, "description": "Тип TL: payments.StarGiftOnchainOfferTxMessage."}, "x-tl-type": "Vector<payments.StarGiftOnchainOfferTxMessage>"}, "gasless_messages": {"type": "array", "items": {"type": "object", "x-tl-type": "payments.StarGiftOnchainOfferTxMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTxMessage"]}}, "description": "Тип TL: payments.StarGiftOnchainOfferTxMessage."}, "x-tl-type": "Vector<payments.StarGiftOnchainOfferTxMessage>", "x-tl-flag": "flags.0?Vector<payments.StarGiftOnchainOfferTxMessage>"}}, "required": ["_", "sale_address", "messages"], "additionalProperties": false}, "payments.starGiftOnchainOfferTxInitState": {"title": "payments.starGiftOnchainOfferTxInitState", "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTxInitState"]}, "code": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "code", "data"], "additionalProperties": false}, "payments.starGiftOnchainOfferTxMessage": {"title": "payments.starGiftOnchainOfferTxMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTxMessage"]}, "destination": {"type": "string", "x-tl-type": "string"}, "value": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "mode": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "init_state": {"type": "object", "x-tl-type": "payments.StarGiftOnchainOfferTxInitState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTxInitState"]}}, "description": "Тип TL: payments.StarGiftOnchainOfferTxInitState.", "x-tl-flag": "flags.0?payments.StarGiftOnchainOfferTxInitState"}}, "required": ["_", "destination", "value", "mode", "body"], "additionalProperties": false}, "payments.starGiftOnchainOfferTx": {"title": "payments.starGiftOnchainOfferTx", "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTx"]}, "offer_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "offer_address": {"type": "string", "x-tl-type": "string"}, "expires_at": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "message": {"type": "object", "x-tl-type": "payments.StarGiftOnchainOfferTxMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTxMessage"]}}, "description": "Тип TL: payments.StarGiftOnchainOfferTxMessage."}, "gasless_message": {"type": "object", "x-tl-type": "payments.StarGiftOnchainOfferTxMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTxMessage"]}}, "description": "Тип TL: payments.StarGiftOnchainOfferTxMessage.", "x-tl-flag": "flags.3?payments.StarGiftOnchainOfferTxMessage"}, "rent_budget": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "execution_allowance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "forward_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "fine": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}}, "required": ["_", "offer_id", "offer_address", "expires_at", "message"], "additionalProperties": false}, "inputAiComposeStyle": {"title": "inputAiComposeStyle", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputAiComposeStyle"]}, "emojify": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "proofread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "tone": {"type": "object", "x-tl-type": "InputAiComposeTone", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputAiComposeToneDefault", "inputAiComposeToneID", "inputAiComposeToneSlug", "inputAiComposeToneSingleUse"]}}, "description": "Тип TL: InputAiComposeTone.", "x-tl-flag": "flags.0?InputAiComposeTone"}, "to_lang": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_"], "additionalProperties": false}, "transcriptionModel": {"title": "transcriptionModel", "type": "object", "properties": {"_": {"type": "string", "enum": ["transcriptionModel"]}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "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-битное целое в десятичной записи.", "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: Mensagem."}, "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: Bate-papo."}, "x-tl-type": "Vector<Chat>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "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: Mensagem."}}, "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: Mensagem."}, "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: Bate-papo."}, "x-tl-type": "Vector<Chat>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Digite TL: Usuário."}, "x-tl-type": "Vector<User>"}, "recommendation_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "items", "chats", "users"], "additionalProperties": false}, "feed.interestCategory": {"title": "feed.interestCategory", "type": "object", "properties": {"_": {"type": "string", "enum": ["feed.interestCategory"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "title": {"type": "string", "x-tl-type": "string"}, "emoji": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "emoji_document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}}, "required": ["_", "id", "title"], "additionalProperties": false}, "feed.interestCategoriesNotModified": {"title": "feed.interestCategoriesNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["feed.interestCategoriesNotModified"]}}, "required": ["_"], "additionalProperties": false}, "feed.interestCategories": {"title": "feed.interestCategories", "type": "object", "properties": {"_": {"type": "string", "enum": ["feed.interestCategories"]}, "categories": {"type": "array", "items": {"type": "object", "x-tl-type": "feed.InterestCategory", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["feed.interestCategory"]}}, "description": "Тип TL: feed.InterestCategory."}, "x-tl-type": "Vector<feed.InterestCategory>"}, "selected": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "categories", "selected"], "additionalProperties": false}, "inputFeedEvent": {"title": "inputFeedEvent", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputFeedEvent"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Tipo 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-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "recommendation_rank": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "recommendation_role": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "kind": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "duration_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "event_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.6?long"}}, "required": ["_", "peer", "msg_id", "action", "surface"], "additionalProperties": false}, "voipModel": {"title": "voipModel", "type": "object", "properties": {"_": {"type": "string", "enum": ["voipModel"]}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "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-битное целое в десятичной записи.", "x-tl-type": "long"}, "available": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "pending_ton": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "round_closes_at": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "apr", "staked", "available", "pending_ton", "round_closes_at"], "additionalProperties": false}, "walletStakingPrepared": {"title": "walletStakingPrepared", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletStakingPrepared"]}, "destination": {"type": "string", "x-tl-type": "string"}, "value": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "destination", "value", "body"], "additionalProperties": false}, "walletStakingActionDeposit": {"title": "walletStakingActionDeposit", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletStakingActionDeposit"]}}, "required": ["_"], "additionalProperties": false}, "walletStakingActionWithdraw": {"title": "walletStakingActionWithdraw", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletStakingActionWithdraw"]}}, "required": ["_"], "additionalProperties": false}, "walletStakingActionWithdrawPending": {"title": "walletStakingActionWithdrawPending", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletStakingActionWithdrawPending"]}}, "required": ["_"], "additionalProperties": false}}}, "x-telegram-layer": 236, "x-tag-labels": {"Служебные методы": "Métodos utilitários", "Авторизация": "Autorização", "Аккаунт": "Conta", "Пользователи": "Usuários", "Контакты": "Contatos", "Сообщения": "Mensagens", "Обновления": "Atualizações", "Фотографии": "Fotos", "Файлы": "Arquivos", "Конфигурация и справка": "Configuração e Ajuda", "Каналы и супергруппы": "Canais e supergrupos", "Боты": "Robôs", "Платежи": "Pagamentos", "Стикеры": "Adesivos", "Звонки": "Chamadas", "Переводы": "Traduções", "Папки": "Pastas", "Статистика": "Estatísticas", "Папки чатов": "Pastas de bate-papo", "Истории": "Histórias", "Telegram Premium": "Telegram Premium", "SMS": "SMS", "Fragment": "Fragment", "aicompose": "Editor com IA", "communities": "Comunidades", "ephemeral": "Mensagens temporárias", "toncenter": "TON Center", "wallet": "Carteira", "feed": "Feed"}}