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 wants
Telegram
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
Hello everybody :) I am starting testing new update :) In case you have some ideas to include in library - it is good time to write them now due to breaking status of this update :)
GitHub
17.0.0 by InsanusMokrassar Β· Pull Request #884 Β· InsanusMokrassar/ktgbotapi
Added support for Super Channels, allowing received channel messages to have users or other channels as their senders.
Added the ability to send paid media to any chat.
Added the parameter busine...
Added the ability to send paid media to any chat.
Added the parameter busine...
π1
Kotlin Telegram Bot API Library (tgbotapi)
Such awesome reaction type π
Yesterday I didnt realize that it is really special reaction, which is paid by userπ
Anyway, I released 17.0.0 with new API support. In two words:
* Now you may handle paid subscription invitation links
* New paid reaction
* You may turn on showing authors in channels and its support included
As a bonus: SendActionsDSL has been improved by me and DRSchlaubi
* Now you may handle paid subscription invitation links
* New paid reaction
* You may turn on showing authors in channels and its support included
As a bonus: SendActionsDSL has been improved by me and DRSchlaubi
GitHub
Release 17.0.0 Β· InsanusMokrassar/ktgbotapi
THIS UPDATE CONTAINS SUPPORT OF BOTS API 7.9
Add support of subscriptions links handling
Add support of info about sender chat. It is important, that for channels will be actual senderChat instead...
Add support of subscriptions links handling
Add support of info about sender chat. It is important, that for channels will be actual senderChat instead...
1