# check\_direct\_app

Source: <https://telegafirst.com/docs/mcp-tool-check-direct-app>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: aea18c75c9b703b781b3f36a63ef4e1cf0f730b85981b15047384cc66458ba7a
Version: 2

# 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](https://telegafirst.com/docs/schema-61510dc92844acbb6f385154b4ae73b8957995169498a89dff4f32843e8609ad)

## Результат

[check\_direct\_app: outputSchema](https://telegafirst.com/docs/schema-234d9f8de2fffed30a6817f9d291edf02943c223f037f880aaab9d0f78a7e72d)
