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 preparing new fix-update, but fix-updates also may contains some features :) so, I would be glad to know about the things you want to see in this library :)
Happy new year! I wish you all in new year to avoid any negative consequences of wrong decisions of the third party, to release your plans and wishes and create the best bots! 🎉

Just in any case: 5.0.0 with Bot API 6.4
4👍2🎉2
Humble statistic, but thank you all for your support and being in our community 🎉
6
Should we migrate onto 1.8? It mostly brings fixes and should not have some breaking changes, but I am not sure
Anonymous Poll
67%
Yes
0%
No
33%
Kotlin 1.2.10 is the best 🌚
Small fixes/version updates release
Today I realised that, maybe, 5.0 version should be the 1.0. It is related to several things:

• More or less stabilized API
• Useful DSLs for different cases such as comfortable logic builders and keyboards DSLs
• All the API covered and most of Telegram API cratches are hidden (e.g. media groups)
• A lot of fixes has been applied

Anyway, thanks to all who has been involved in the development or providing feedback.

And welcome to those who is new in this library :)
5
Hello everybody :) Telegram Bot API 6.5 has been introduced and I plan to cover it in our library in several days.

Anyway, it is expected that today/tomorrow I will release version 5.0.2 and I think it will be the last version on kotlin 1.7 and 5.1.0 with Bot API 6.5 should work on 1.8.10
Cover Bot API 6.5 with kotlin update up to 1.8.10?
Anonymous Poll
65%
Yes, why not
10%
No, it is better to actualize kotlin in new version
25%
GIVE ME BOT API 6.5
Small preview of update 6.5:

+ Buttons for requesting of users and chats, but:
- They are reply buttons and can be sent only in reply keyboard

+ Granular permissions for more accurate settings in chats
- For backward compatibility (as I understand) they have disabled by defailt and currently it is not clear, what will be used as replacement for what. In API there are several notes about it, but they are strange: send polls permission as replacement of send messages in granular mode, for example

UPD: Anyway, tomorrow I plan to test permissions and make some final fixes for this update
👍2
5.2.1 has been released. What has happen since 5.1.0:

• Traditional minor dependencies updates
• All CallbackQuery now accepts CommonUser instead of User
• Sent messages waiters in behaviour builder will not be triggered on edited messages
waitContent[Message] now require generic type. In case you wish to take any content or content message, you should use waitAnyContent[Message]
Hello everybody, 6.0.2 has been released, what happens since the 5.2.1 (and why not 6.0.0):

• Kotlin 1.8.10 and other dependencies updates
• Update all *.link extensions with renames according to their receivers to avoid collisions with link extensions of entities builder
• Add opportunity to resend messages with TelegramBot#resend extension (sending data as is instead of copy method)
• Long polling have changed its base algorithm of media groups handling in updates. Since this update will be used the same mechanism as for webhooks - media groups will be delivered with debounce in 1 second (by default, configurable) due to the fact, that (for some reason) on the accounts created with virtual TON numbers media groups coming to the bot in different updates
🎉1
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 6.1.0
Telegram Bot API 6.6 brings several potentially breaking changes - for example, renaming of thumb to thumbnail. So, I am thinking about new major version but it will mean that I will drop all old deprecations