Open CTA flow
Push a payload to the bot via Telegram MainButton and show haptic feedback.
This sample reads Telegram WebApp context, adapts to Telegram theme colors, exposes a few demo flows, and sends payload data back to the bot when the user confirms.
Trigger WebApp methods and simulate a compact lead capture flow.
Push a payload to the bot via Telegram MainButton and show haptic feedback.
Use Telegram-safe navigation to open a product page or campaign URL.
The sample reads theme variables from Telegram and applies them to the UI shell.