К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/mcp-tool-check-direct-app.mdиндекс документации — /llms.txt

check_direct_app

Обновлено

Check the Telegram Direct Link of the business bot: the mini app with short name `miniapp` that the owner creates in @BotFather (Mini Apps → Create Direct Link) so the launch window shows the «Allow messages» checkbox. Telegram is asked through a service account whether `miniapp` exists and whether it and the Main App open `web_app_url`. On a full match `has_direct_app` turns true and every Telegram mini-app link of the business becomes `t.me/{bot}/miniapp?startapp`; otherwise it is false and `fix` names the next step: create_direct_link, set_direct_link_url (paste `web_app_url`), set_main_app_url; no_bot / no_address / no_supergroup — nothing to check yet; check_unavailable — no service account answered, retry later; retry_later — Telegram is asked at most once a minute per business, the answer is the stored flag. Run it again after the owner changes the bot in @BotFather.

Права и условия

required_scopes: ALL.

ПолеЗначение
description"Check the Telegram Direct Link of the business bot: the mini app with short name `miniapp` that the owner creates in @BotFather (Mini Apps → Create Direct Link) so the launch window shows the «Allow messages» checkbox. Telegram is asked through a service account whether `miniapp` exists and whether it and the Main App open `web_app_url`. On a full match `has_direct_app` turns true and every Telegram mini-app link of the business becomes `t.me/{bot}/miniapp?startapp`; otherwise it is false and `fix` names the next step: create_direct_link, set_direct_link_url (paste `web_app_url`), set_main_app_url; no_bot / no_address / no_supergroup — nothing to check yet; check_unavailable — no service account answered, retry later; retry_later — Telegram is asked at most once a minute per business, the answer is the stored flag. Run it again after the owner changes the bot in @BotFather."
domain"site"
name"check_direct_app"
platform_version"42248466c94e00eec0d71429ed34a30fd211e9b0"
required_scopes["site:write"]
risk"write"
scope"site:write"
title"Check Direct App"

Входные параметры

check_direct_app: inputSchema

Результат

check_direct_app: outputSchema