Call Telegram Bot API sendInvoice from Cocos Creator Web or a Mini App with bot and provider tokens, chat ID, currency and prices, then open the payment chat.
This example sends an invoice through the Telegram Bot API and then opens the bot chat. You need a bot token, payment-provider token, recipient chat ID, product information, and currency.