What are Mini Apps?
Telegram Mini Apps (or TMAs) are web applications that run inside the Telegram messenger. They are built using web technologies — HTML, CSS, and JavaScript.
Since TMAs are web pages and use JavaScript, you need to choose JS/TS-based SDK.
Unlock the gateway to a 900 million-strong Telegram audience. Imagine offering your app or service to this massive user base with just a single click.
Step-By-Step Guide
See Examples
Overview
Telegram bots can completely replace any website. They support seamless authorization, integrated payments via 20 payment providers (with Google Pay and Apple Pay out of the box), delivering tailored push notifications to users, and much more.
With Mini Apps, bots get a whole new dimension. Bot developers can create infinitely flexible interfaces with JavaScript, the most widely used programming language in the world.
Here are some key points about Telegram Mini Apps:
- Integration within Telegram: Telegram Mini Apps are intended to seamlessly integrate into the Telegram app, providing users with a cohesive experience. They can be accessed from within a Telegram chat or group conversation.
- Enhanced Functionality: Telegram Mini Apps can offer a wide range of functionalities. They can be used for various purposes, such as gaming, content sharing, productivity tools, and more. These apps extend the capabilities of the Telegram platform beyond basic messaging.
- Cross-Platform Compatibility: Since Telegram Mini Apps are web-based, they are available on Android, iOS, PC, Mac and Linux Telegram apps. Users can access them without the need for additional installations in one click.
- Bot Interaction: Telegram Mini Apps often make use of Telegram bots to provide interactive and automated experiences. Bots can respond to user input, perform tasks, and facilitate interactions within the Mini App.
- Development Frameworks: Developers can build Telegram Mini Apps using web development technologies like HTML, CSS, and JavaScript. Additionally, Telegram provides developer tools and APIs for creating these apps and integrating them with the Telegram platform.
- Monetization Opportunities: Telegram Mini Apps can be monetized in various ways, such as through in-app purchases, subscription models, or advertising, making them attractive to developers and businesses.
- Web3 Ready: TON SDK; TON Connect is a communication protocol that facilitates communication between wallets and apps on the TON blockchain; Tokens
- Community Development: Telegram has a thriving developer community, and many third-party developers create and share their Telegram Mini Apps with users. This community-driven approach fosters innovation and diversity in the available apps.
Overall, Telegram Mini Apps serve as a means to enhance the Telegram experience by offering additional functionalities and services, while also providing developers with an opportunity to create and distribute their applications within the Telegram ecosystem.
Getting Started
TMA Documentation
- Telegram Mini Apps Documentation — a community-driven documentation for TWA.
- TMA Documentation by Telegram — full description on Telegram website.
Telegram Developers Community
Join a special Telegram Developers Chat to discuss Mini Apps development and get support:
Join Chat
Mini Apps SDKs
- twa-dev/sdk — NPM package for TMA SDK
- twa-dev/boilerplate — another boilerplate for a new TWA.
- twa-dev/Mark42 — Mark42 is a simple lightweight tree-shakable UI library for TWA.
- ton-defi-org/tonstarter-twa — template for new TWA interaction with TON.
Integrate with TON Connect
Connect with users wallets with the help of TON Connect protocol. Read more about it here:
Discover TON Connect