Kotlin Telegram Bot API Library (tgbotapi)
159 subscribers
17 photos
1 video
1 file
276 links
https://github.com/InsanusMokrassar/ktgbotapi

Channel with updates from Kotlin Multiplatform TelegramBotAPI library

DM: @InsanusMokrassar
Forum: @ktgbotapi_forum
Projects Releases: @inmodev
Support me: https://t.me/inmodev/431
Download Telegram
Forwarded from BotNews
Bot API 6.0

• Added support for Web Apps.
KeyboardButton and InlineKeyboardButton can now be used to launch Web Apps.
• Added control over the bot's menu button via setChatMenuButton and getChatMenuButton.
• Added control over the bot's default admin rights via setMyDefaultAdministratorRights and getMyDefaultAdministratorRights.
• Added support for t.me links to add bots as admins.

• And more, see the full changelog for details:

https://core.telegram.org/bots/api-changelog#april-16-2022

Warning: After the next update, login_url will only allow HTTPS links.
Attention: this update DOES NOT CONTAIN update up to Telegram Bot API 6.0
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.13

Core:
• Fixes in mention creation
• Deprecate StorageFileInfo
BehaviourBuilder:
• In the expectations a lot of on•Message extensions have been added (like onContentMessage). These extensions could be useful when with the Content its message info is important
Hello everybody :) With support of Telegram Bot API 6.0 I plan to release version 1.0.0 (PR). Currently there is one difficult choice:

• Potentially make break changes and fix all the things which is possible to fix in that release
• Do not make a lot of break changes, but fix some things

Besides, it looks like this release will not contain update up to kotlin 1.6.20 (😔) due to the fact that currently I can't update MicroUtils because of JetBrains Compose still not support new kotlin
Somewhere in the middle of 1.0.0 update...
2👍2🔥2
This update is just cherry-pick release from 1.0.0 with support of Telegram Bot API 6.0. Potentially this update may contains breaking changes, but I wished to bring you new api version without long waiting for the 1.0.0 release
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.14

This update contains including of Telegram Bot API 6.0

Core:
• Constructor of UnknownInlineKeyboardButton is not internal and can be created with any json
WebApps:
• Created 🎉
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.15

Common:
Version:
MicroUtils: 0.9.20 -> 0.9.24
Core:
• Fixes in MessageContent#serializationModule
BehaviourBuilder:
• Add triggers for DataCallbackQuery and subtypes with regex checking of data
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.16

Core:
TelegramAPIUrlsKeeper now have two new things: properties webAppDataSecretKey and fun checkWebAppLink
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.17

Core:
• Add BotCommandScopeChat as new BotCommandScope (fix of #574
BotCommandScope companion got several properties and functions for more useful scope creation
Hello everybody :) it looks like work with refactoring of classpathes in 1.0.0 has been completed and currently I am thinking about the things we could add in that release. In case you wished to suggest something, it seems to be the best time for that :)
Please, do not update tgbotapi up to 0.38.18 - there is a bug in there and currently I am working on it
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.19

BehaviourBuilder:
• Hotfixes
BehaviourBuilder FSM:
BehaviourContextWithFSMBuilder deprecated in favor to BehaviourContextWithFSM
• Now it is possible to define additional handlers in subcontexts of BehaviourBuilderWithFSM
👍1
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.23

BehaviourHandler:
• Add support of fallback triggers (fix of #560)
👍3
🎉 1.0.0 has been released 🎉 In examples repository you may find PR with migration onto 1.0.0

Several notes:

• A lot of renames in packages and replaces of objects. Most of them should be backward compatible with 0.38.23
• A lot of rewritings in interfaces related to the sealing of interfaces
• Complex of dependencies updates: Kotlin 1.6.21, Ktor 2.0.1, etc.
• Fixes and improvements in BehaviourBuilder and BehaviourBuilderWithFSM
StorageFile has been deprecated and now it is enough to use MultipartFile everywhere
InputMedia (and all subsequent functions) has been renamed to TelegramMedia
🎉7🔥3