Ask for confirmation when a user attempts to close a Telegram Mini App.
Software notes and practical experiments
This is the English entry point to Nanfeng's development blog. The archive currently contains Chinese-language technical notes; English translations will be published progressively.
Configuring a Telegram Bot Menu Button
Configure a Telegram bot menu button to open a Web App or display a list of commands.
Sending a Telegram Invoice from Cocos Creator
Call the Telegram Bot API from a Cocos Creator web preview to send an invoice and open the bot chat.
Finding Unreferenced Images in Cocos Creator
Check image UUID references manually or scan prefab files with Node.js to identify potentially unused images.
Implementing Telegram Bot Payments with grammY
Send a Telegram invoice, approve pre-checkout, and handle successful-payment updates with grammY.
Getting Telegram User Profile Information with grammY
Retrieve a Telegram user's ID, name, username, member status, and profile-photo URL.
Setting Up a Bot for Telegram Mini App and Game Development
A practical guide to creating a Telegram bot for a Mini App or game using grammY and Deno.
Accessing the Android Clipboard from Cocos Creator
Bridge Cocos Creator TypeScript and Android Java code to copy and retrieve clipboard text.
Fixing “The Font Size Is Too Big to Be Fitted into Texture Atlas”
Resolve Cocos Creator font-atlas capacity warnings by adjusting cache mode, font size, atlas size, or character set.
Adding a Portable Photo Gallery to Hexo NexT
Build a theme-independent HTML photo gallery and embed it in a Hexo NexT page.