Sends a coordinated flow-init message with a signed launch payload embedded into the Mini App button URL.
await sendFlowInit(bot, { chatId: 1, flowId: "task-shop", secret: "secret", text: "Continue in the Mini App", webAppUrl: "https://example.ngrok.app"}); Copy
await sendFlowInit(bot, { chatId: 1, flowId: "task-shop", secret: "secret", text: "Continue in the Mini App", webAppUrl: "https://example.ngrok.app"});
Sends a coordinated flow-init message with a signed launch payload embedded into the Mini App button URL.