Détail du package

@telegram-apps/toolkit

Telegram-Mini-Apps143.4kMIT2.1.3

Internal toolkit used in the @telegram-apps packages.

telegram-mini-apps, typescript

readme

@telegram-apps

Commitizen friendly

Mono-repository, containing all the packages, connected with comfortable and safe TypeScript development on Telegram Mini Apps platform.

Getting Started

A great starting point for learning about the platform is the community-built documentation. Additionally, the official Telegram platform documentation can provide valuable insights and a different perspective on the platform.

Before diving into development, it’s also advisable to explore the available libraries for both client-side and backend development to gain a better understanding of the tools at your disposal.

[!WARNING] Working with @telegram-apps SDK-related packages (bridge, sdk and sdk-*), you must not use the Telegram library - telegram-web-app.js. Using both these packages and telegram-web-app.js will surely lead to bugs.

Why not Telegram SDK

Why bother creating a project like @telegram-apps when there are existing solutions from the developers who own the platform? The answer is rather simple: the currently provided solution (SDK) does not seem to meet the required minimum quality standards. Of course, the term 'quality' is rather specific and subjective, but this section should make it more objective.

This project was born during the research of a solution provided by Telegram - telegram-web-app.js, which is considered the only existing official SDK for Telegram Mini Apps by Telegram. Therefore, all the points described in this section will be related to this package.

Because of the large section size, the complete motivation description has been moved to a separate document.

Contribution

Any contribution is appreciated. To start contributing, please, follow the Contribution Guidelines.

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.4.0 (2022-11-10)

Features

  • packages: add new package theme-params (818eb41)

0.3.3 (2022-11-09)

Note: Version bump only for package root

0.3.2 (2022-11-09)

Note: Version bump only for package root

0.3.1 (2022-11-09)

Note: Version bump only for package root

0.3.0 (2022-11-09)

Features

  • init: start listening to window resize event. Fix parser for viewport_changed event (6b84f01)

0.2.0 (2022-11-09)

Features

  • init: start listening to window resize event. Fix parser for viewport_changed event (6b84f01)

0.1.2 (2022-11-09)

Note: Version bump only for package sdk