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
In case this library will be updated up to kotlin 1.6, will you be ready to migrate too?
Anonymous Poll
100%
Yes
0%
No
👍3
🔥4
Kotlin Telegram Bot API Library (tgbotapi) via @TGStat_Bot
Photo
Our humble statistic 😊 Thank you for your critics, support and help :)
0.38.0 version of update has been released :) here mainly update up to Kotlin 1.6, update up to Telegram Bot API 5.6 and several fixes
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.0

This update contains Telegram Bot API 5.6 implementation

This update contains migration onto Kotlin 1.6

This update has changed constructors of all CommonMessage implementations


Common:
Version:
Kotlin: 1.5.31 -> 1.6.10
Coroutines: 1.5.2 -> 1.6.0
Serialization: 1.3.1 -> 1.3.2
Klock: 2.4.8 -> 2.4.10
Ktor: 1.6.5 -> 1.6.7
MicroUtils: 0.8.7 -> 0.9.0
Core:
• Add SpoilerTextSource (as part of Telegram Bot API 5.6 update)
• Add support of protect_content as a field protectContent in all send message requests and parameter in all functions related to that requests (as part of Telegram Bot API 5.6 update)
ALL IMPLEMENTERS OF CommonMessage HAS CHANGED THEIR CONSTRUCTOR: NOW THEY GET hasProtectedContent instead of forwardable (inversed) field
ChannelContentMessageImpl
ChannelMediaGroupMessage
CommonMediaGroupMessage
GroupContentMessage implementers
ConnectedFromChannelGroupContentMessageImpl
UnconnectedFromChannelGroupContentMessageImpl
AnonymousGroupContentMessageImpl
CommonGroupContentMessageImpl
PrivateContentMessageImpl
👍2
0.38.1 PR is in work and I hope today I will release this version. Currently it is still in progress and you may offer some features to include in this update ☺️
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.2

Common:
Version:
MicroUtils: 0.9.0 -> 0.9.1
API
• New extensions TelegramBot#copyMessages for media groups
1
Hello :) in 0.38.2 I wished to add media groups sending methods with content lists, but due to the signature clash I can't add methods with names like sendMediaGroup due to their existance with input media lists.

How do you think, which names in that case would be better to choose for media groups sending by content? Add prefix or postfix like sendContentMediaGroup? Or something else? I would be glad to see your opinion :)
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.3

Common:
Version:
MicroUtils: 0.9.1 -> 0.9.2
Klock: 2.4.10 -> 2.4.12
UUID: 0.3.1 -> 0.4.0
API
• New extensions TelegramBot#send• for media groups with contents
Release 0.38.4 is available in maven central. Here:

• Fix of #529
• Realization of Telegram Bot API 5.7, including:
• Separation of Sticker to SimpleSticer, AnimatedSticker and VideoSticker
2🔥1
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.6

Common:
Version:
MicroUtils: 0.9.6 -> 0.9.9
Klock: 2.4.13 -> 2.5.2
Core:
• New member of MentionTextSource - username
Hello everybody :) I have started 0.38.7 version and currently thinking what to add there also. You are always welcome with your suggestions for including in near release
👍1
Forwarded from inmo.dev
InsanusMokrassar/TelegramBotAPI: 0.38.7

Common:
Version:
MicroUtils: 0.9.9 -> 0.9.12
Klock: 2.5.2 -> 2.6.2
Core:
SimplePollOption#votes now is 0 by default
• New function PollOption.Companion#simple
👍1
Hello everybody. I wished to ask you about some painful/hard/incorrect places in library you would like to see fixed. What you would like to see in documentation asap? Or maybe you want to have some DSL/extension you are using in different projects. You are welcome in comments or in direct messages