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
So, 12.0.0 has been released. It contains several breaking changes and support of Bots API 7.2. Next version will be a minor (*.*.1) update with dependencies updates
🔥31
Hi :) I am working on update and currently starting test the changes i've made. You may try it if you connect my maven repo and use version 13.0.0-branch_13.0.0-build2224
Version 13.0.0 with Telegram Bots API 7.3 has been released 🎉 Here there several important notices:

• Polls API has been reworked to support building of text resources/work with parse modes. Unfortunatelly, this API changed mostly for support of custom emojis :(
• Live Location DSL now creates live locations with endless live period changes by default
👍3
You may know, that Telegram has accidentally released Bots API 7.4, so, I have started implementation of update, but currently there are no any stable version of clients with support of effects and I can't properly test this functionality. Anyway, I hope, I will be able to complete and test new changes near days :)
👍4🔥2
So, 14.0.0 is in the maven, with new Telegram Bots API support. It should not require from you to update codebase, but in some cases (like using of photos/videos/animations API without parameters naming) you will need to update your code
👍5🔥2
Hello :) I am currently trying to upgrade behaviour_builder part of library and wished to ask:
How do you think must work next snippet by default:

onCommand("start") { reply(it, "reply") delay(100000L) }
Final Results
60%
Each start command in same chat must be handled consequently (one after another)
30%
Each start command must be handled in parallel manner
10%
I am racer 🌚
Hi :) there are two news about our library:

* I have published 14.1.0. It contains fixes of memory leaking when using behaviour builder and should improve its overall performance
* I potentially completed 15.0.0 with Bot API 7.5 support. You may try it with 15.0.0-branch_15.0.0-build2285 version from mine nexus
🔥3👍1
Hello everybody :) 4 days after previous release Telegram team released new update for Telegram Bot API and clients. This update contains including of paid media support. Today BotNews public has published news that each bots creator will have to send privacy policies for each bot. To be honest, all the recent updates makes me a bit tilt. I do not know when I will be able to make new update implementation, but still will try to do that as soon as possible. In case you are really need new API in your bots, you may mention it, it will be a signal for me to hurry up
So, it happen. 15.1.0 has been released, 12 days after update 7.6 and 5 after 7.7. Samples has been updated too, so, you may try new paid media and other things in it. Whats new in two words (except of new APIs support):

* Add /privacy warning and additional extensions for BehaviourBuilder to simplify its setup
* Rename Photo as PhotoFile
* Add new level of TelegramMedia - now it contains TelegramFreeMedia (old TelegramMedia) and TelegramPaidMedia. For migration just replace TelegramMedia in your project to TelegramFreeMedia and in most cases it will be ok
👍2
Besides, I wish to say additional thanks to user bpavuk for his huge help in this update
👍4
Hello everybody :) In library several news:

* Of course, support of the latest version of Telegram Bot API 7.8 in version 15.3.0
* Big event: migration onto Kotlin 2.0 (actually, 2.0.10 🌚) in version 16.0.0 🎉

Update up to 16.0.0 require special caution from developers side due to potential breakings. I will be glad to your reports of bugs/problems after update up to kotlin 2.0 and library 16.0.0
👍2🌚1