#今天又看了啥 #telegram #bot
Telegram bot API 更新了
新增了成员变化的 update type,对于群组邀请链接新增了方法,这么说可以通过 bot 验证,而后生成临时的邀请链接了。
以及 32位整数看来也不够用了(
⚠️ WARNING! ⚠️
After one of the upcoming Bot API updates, 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.
https://core.telegram.org/bots/api-changelog#march-9-2021
Telegram bot API 更新了
新增了成员变化的 update type,对于群组邀请链接新增了方法,这么说可以通过 bot 验证,而后生成临时的邀请链接了。
以及 32位整数看来也不够用了(
⚠️ WARNING! ⚠️
After one of the upcoming Bot API updates, 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.
https://core.telegram.org/bots/api-changelog#march-9-2021