Skip to content

Fix Mini App links for bots with topics - #31538

Open
kravetsone wants to merge 1 commit into
telegramdesktop:devfrom
kravetsone:fix/mini-app-links-for-topic-bots
Open

kravetsone wants to merge 1 commit into
telegramdesktop:devfrom
kravetsone:fix/mini-app-links-for-topic-bots

Conversation

@kravetsone

@kravetsone kravetsone commented Oct 29, 2026 •

Copy link
Copy Markdown

For bots with topics enabled, a ?startapp link opened the bot's chat instead of its main Mini App. The forum navigation branch ran before the existing Mini App handlers, also intercepting ?startattach and ?attach links.

Following the maintainer's review suggestion, move those handlers before forum navigation while preserving their order and launch parameters.

Testing:

  • Debug build passed on macOS.
  • In the rebuilt Telegram Debug, clicked the WebApp redirect button for bot with topics enabled. The main Mini App opened instead of just the bot's chat.

Related to #30543.

@CLAassistant

CLAassistant commented Oct 29, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request does not include a screenshot or a video
demonstration of the change. Please add one to the description, so
that reviewers can see the change in action. The
waiting for answer label was added until then.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants