Skip to content

Telegramium-4.51.0

Compare
Choose a tag to compare
@johnspade johnspade released this 09 Mar 22:56
· 604 commits to master since this release
4822fbd

Telegramium-4.51.0 released.
It supports all methods and entities of Telegram Bot API v5.1.

This MAJOR release introduces significant breaking changes.

Notable changes

  • User identifiers are now stored as Longs.

Excerpt from Bot API official announcement for version 5.1

https://core.telegram.org/bots/api#march-9-2021

  • Added two new update types
    Added updates about member status changes in chats, represented by the class ChatMemberUpdated and the fields my_chat_member and chat_member in the Update class.
  • Improved Invite Links
  • Voice Chat Info
  • And More

⚠️ WARNING! ⚠️
After one of the upcoming Bot API updates, some user identifiers will become bigger than 2^31 - 1 and it will be no longer possible to store them in a signed 32-bit integer type. User identifiers will have up to 52 significant bits, so a 64-bit integer or double-precision float type would still be safe for storing them. Please make sure that your code can correctly handle such user identifiers.