Telegram’s new feature can replace e-commerce and video games

Telegram is the most used messaging app in the world after Whatsapp, Facebook, Wechat and QQ.

It is said to have over 550 million monthly active users and is ranked among the top 10 most popular social networks in the world by downloads.

The Telegram API

Telegram provides a transparent, robust and free messaging API. It allows developers to unleash their unlimited creativity through two modules namely: Bot API and Telegram Database Library (TDLib).

The Bot API allows developers to connect bots to Telegram, while the TDLib API allows developers to create their own custom Telegram clients. Bots are special accounts that do not require an additional phone number to set up. These accounts act as an interface for webhooks hosted on a server.

Over the years, Telegram has diversified its API from simple messaging to payment, store and now web application for bots that can replace any site.

Telegram web apps for bots

It all started when Telegram introduced an inline keyboard for the Bot API. This allowed developers to dynamically push a keyboard/menu options from the backend to the UI. Each button can have a built-in callback method that communicates with a webhook when clicked.

Now Telegram web apps for bots can pretty much replace any website. It supports Telegram shops, seamless authorization, and in-app payments. The 15 supported payment providers exclude Google Pay and Apple Pay. This gives bots a whole new dimension where developers can create infinitely flexible interfaces with JavaScript. It also provides personalized push notifications to users and much more.

Durger King shop on Telegram.

Users can interact with bots using custom keyboards and buttons, as well as sending free-form text messages. They can also send any type of attachment supported by Telegram: photos and videos, files, locations, contacts and polls.

For even more flexibility, bots can use the full power of HTML5 to create user-friendly input interfaces. To test the Telegram web app, click here to visit their demo store.

Source link

Comments are closed.