Kotlin Telegram Bot API Library (tgbotapi)
160 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
Hello everybody :) I am collecting an ideas for the 1.0.0 version and invite you to include your suggestions there. That release will allow breaking changes and you may admit even the things which could lead to some deep rework 😊
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.11

Common:
Version:
MicroUtils: 0.9.16 -> 0.9.17
Klock: 2.6.3 -> 2.7.0
Core:
• Fixes in TextSourcesList creating in from RawMessageEntities
• Old ways to create keyboards (matrix and row) have been deprecated
API:
• Add ability to reply with Poll
• Add ability to reply with any MessageContent
• Add ability to reply with any TelegramMediaFile
Migrate to 1.6.20? I doubt beacause currently there are problems with the other dependencies which do not support 1.6.20 (like jb-compose). If we will upgrade library, it will be possible to make library more strictly in future. What do you think?
Final Results
71%
Yes, lets make step forward :)
29%
No, I want to get updates without problems
I hope, soon it will be implemented in our lib😊
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