Telegram announced that it is bringing the biggest change to its Bot platform since June 2015. With the Bot API 2.0, you will be provided with new tools that will help you create instinctive interfaces for your bots.
As bots are becoming a lot more authoritative, they are not only capable of sending all the type of contents that are supported by this messenger, but it also offers a location-based service and integrates with many other services on the basis of users’ phone numbers.
Some of the features that are part of the Bot API 2.0 include support for more file types, new inline keyboard, group administration tools, callback buttons, and URL buttons. Let’s have a closer look at all the features.
Telegram is adding a new type of keyboard with the latest version, which will be integrated directly into the message. Inline keyboards will be available for both chat mode and inline mode.
Contrasting to the keyboards that show the custom reply keyboards on pressing the buttons and sends messages to chat, inline keyboards support several buttons like callback buttons, URL buttons, and switch to inline buttons, which work behind the scenes.
Telegram has limited the inline keyboard to one-to-one chats only – bot-user in case of chat bots and user-user in case of inline bots. Inline keyboards for groups and channels are still being tested and will be soon available for use.
Now onwards, the bots will have the ability to manipulate the messages that they have already sent. Since the inline keyboards don’t send additional messages, it makes complete sense to empower bots to update existing messages, instead of sending a new message every time there is an update. Such ability of bots can reduce clutter and make the chat a lot more dynamic.
Inline bots are also getting a new update with launch of Inline Bots 2.0. It will now support 19 types of content that will be available on Telegram including stickers, audios, videos, locations, documents, and much more.