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
GitHub
Release 12.0.0 · InsanusMokrassar/ktgbotapi
Add support of Telegram Bots API 7.2
THIS UPDATE CONTAINS A LOT OF BREAKING CHANGES
THIS UPDATE CONTAINS A LOT OF BREAKING CHANGES
🔥3❤1
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-build2224Version 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
• 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
GitHub
Release 13.0.0 · InsanusMokrassar/ktgbotapi
Add support of Telegram Bots API 7.3
THIS UPDATE CONTAINS BREAKING CHANGES
Core:
For polls, textSources now means question text sources. For QuizPoll there are explanation and explanationTextSour...
THIS UPDATE CONTAINS BREAKING CHANGES
Core:
For polls, textSources now means question text sources. For QuizPoll there are explanation and explanationTextSour...
👍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 :)
core.telegram.org
Bot API changelog
The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram. To learn how to create…
👍4🔥2
Hi :) Test version is available from my nexus. These days I plan to test it on Examples and than release version :)
GitHub
GitHub - InsanusMokrassar/TelegramBotAPI-examples: This repository contains several examples of simple bots which are using TelegramBotAPI
This repository contains several examples of simple bots which are using TelegramBotAPI - InsanusMokrassar/TelegramBotAPI-examples
👍3
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
GitHub
Release 14.0.0 · InsanusMokrassar/ktgbotapi
Add support of Telegram Bots API 7.4
THIS UPDATE CONTAINS BREAKING CHANGES
Core:
TelegramPaymentChargeId has been added as value class and replaced raw strings in SuccessfulPayment type of telegr...
THIS UPDATE CONTAINS BREAKING CHANGES
Core:
TelegramPaymentChargeId has been added as value class and replaced raw strings in SuccessfulPayment type of telegr...
👍5🔥2
Latest news about the nuances of new payments requirement has been destructing for some of developers and I wished to ask: how update of payments requirement have affected on your projects?
Telegram
BotNews
Telegram Stars ⭐️ are now live – allowing all developers to sell digital goods and services in their bots and mini-apps.
The new payment documentation has everything you need to get started – including answers to the most frequently asked questions.
For…
The new payment documentation has everything you need to get started – including answers to the most frequently asked questions.
For…
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) }
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 🌚
in case you are using my nexus, you may try new version
14.0.2-preview3 with actual changes related to poll above :)GitHub
14.0.2 by InsanusMokrassar · Pull Request #862 · InsanusMokrassar/ktgbotapi
Type-safe library for work with Telegram Bot API. Contribute to InsanusMokrassar/ktgbotapi development by creating an account on GitHub.
👍2
Kotlin Telegram Bot API Library (tgbotapi)
How do you think must work next snippet by default:
onCommand("start") { reply(it, "reply") delay(100000L) }
onCommand("start") { reply(it, "reply") delay(100000L) }
So, default behaviour will be to handle requests one-by-one by chats or other logical determinator
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
* 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 nexusGitHub
Release 14.1.0 · InsanusMokrassar/ktgbotapi
Version:
Coroutines: 1.8.0 -> 1.8.1
Ktor: 2.3.10 -> 2.3.11
MicroUtils: 0.20.45 -> 0.21.0
KSLog: 1.3.3 -> 1.3.4
BehaviourBuilder:
BehaviourContext updates listening job will be weakl...
Coroutines: 1.8.0 -> 1.8.1
Ktor: 2.3.10 -> 2.3.11
MicroUtils: 0.20.45 -> 0.21.0
KSLog: 1.3.3 -> 1.3.4
BehaviourBuilder:
BehaviourContext updates listening job will be weakl...
🔥3👍1
Kotlin Telegram Bot API Library (tgbotapi)
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…
So, 15.0.0 has been released :) it contains Bot API 7.5 support and minor update of microutils
GitHub
Release 15.0.0 · InsanusMokrassar/ktgbotapi
THIS UPDATE CONTAINS BREAKING CHANGES
THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.5
Version:
MicroUtils: 0.21.0 -> 0.21.1
A lot of edit methods and classes has been changed to supp...
THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.5
Version:
MicroUtils: 0.21.0 -> 0.21.1
A lot of edit methods and classes has been changed to supp...
👍8
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
Telegram
BotNews in Telegram Bot Talk
Bot Privacy Policies
Bots and mini apps must comply with all applicable privacy laws and regulations – including those from Apple and Google stores.
To remain in compliance with Apple guideline 5.1.1 (i), bots and mini apps must provide a Privacy Policy…
Bots and mini apps must comply with all applicable privacy laws and regulations – including those from Apple and Google stores.
To remain in compliance with Apple guideline 5.1.1 (i), bots and mini apps must provide a Privacy Policy…
Kotlin Telegram Bot API Library (tgbotapi)
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…
You may know, some time ago Bots API News published notice about
* Add some notification that privacy policy is not answered in
* Add auto answer for
/privacy command and privacy police of each bot. In context of library there are two options to improve handling of this problem:* Add some notification that privacy policy is not answered in
/privacy command* Add auto answer for
/privacy when it has not been setup manually with content like this bot doing whatever it wantsTelegram
BotNews
Bot Privacy Policies
Bots and mini apps must comply with all applicable privacy laws and regulations – including those from Apple and Google stores.
To remain in compliance with Apple guideline 5.1.1 (i), bots and mini apps must provide a Privacy Policy…
Bots and mini apps must comply with all applicable privacy laws and regulations – including those from Apple and Google stores.
To remain in compliance with Apple guideline 5.1.1 (i), bots and mini apps must provide a Privacy Policy…
❤1
So, in your opinion, what will be better as default behaviour?
Final Results
50%
Just notify me, I will take all responsibility to handle /privacy
50%
Add autohandler if no manual handler and autohandler is not disabled
❤1
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
* Rename
* Add new level of
* 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 okGitHub
Release 15.1.0 · InsanusMokrassar/ktgbotapi
THIS UPDATE CONTAINS BREAKING CHANGES
THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.7 (thanks to bpavuk)
THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.6 (with participation and help...
THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.7 (thanks to bpavuk)
THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.6 (with participation and help...
👍2
Besides, I wish to say additional thanks to user bpavuk for his huge help in this update
Threads
@b_pavuchok on Threads
kotlin enjoyer
write on dou when I have mood
gamer, retro things, etc. 35 Followers.
write on dou when I have mood
gamer, retro things, etc. 35 Followers.
👍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
* 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
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