Releases: InsanusMokrassar/ktgbotapi
Releases · InsanusMokrassar/ktgbotapi
16.0.0
THIS UPDATE CONTAINS KOTLIN UPDATE UP TO 2.0
Version
:Kotlin
:1.9.23
->2.0.10
Serialization
:1.6.3
->1.7.1
MicroUtils
:0.21.2
->0.22.0
KSLog
:1.3.4
->1.3.5
15.3.0
THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.8
Core
:OptionallyBusinessConnectionRequest
now extendsWithOptionalBusinessConnectionId
- Add
hasMainWebApp
inExtendedBot
API
:- Add
BusinessConnectionId
to pin/unpin methods
- Add
WebApp
:- Add
shareToStory
inWebApp
- Add
15.2.0
15.1.0
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 of bpavuk)
- Add support of paid media
- Update web apps
Version
:MicroUtils
:0.21.1
->0.21.2
Core
:TelegramMedia
has been separated onto two interfaces:TelegramFreeMedia
andTelegramPaidMedia
TelegramFreeMedia
has replacedTelegramMedia
on all old places where it have been used
Photo
has been renamed toPhotoFile
BehaviourBuilder
:- Add notification when handling of
/privacy
command is absence - Add several extensions to simplify setting up
/privacy
reaction
- Add notification when handling of
15.0.0
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 support business connection id
14.1.0
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 weakly subscribed. It means thatBehaviourContext
scope will
not be prevented from cancelling by this job anymoreBehaviourContext.doInContext
will not stop automatically currentBehaviourContext
job anymoreBehaviourContext.createSubContextAndDoWithUpdatesFilter
will usesupervisorScope
instead of
LinkedSupervisorScope
. That will prevent scope leaking in runtime
14.0.1
- In
core
andapi
modules related to invoices changed their APIs to suite current API
14.0.0
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 inSuccessfulPayment
type oftelegramPaymentChargeId
- All the methods/classes related to sending of messages got
effectId
parameter - All the methods/classes related to sending of photos/animations/videos got
showCaptionAboveMedia
parameter
13.0.0
Add support of Telegram Bots API 7.3
THIS UPDATE CONTAINS BREAKING CHANGES
Core
:- For polls,
textSources
now meansquestion
text sources. ForQuizPoll
there areexplanation
andexplanationTextSources
for hinting
- For polls,
API
:- A lot of API related to
Poll
s has been changed to include opportunity to passParseMode
andTextSource
s list
- A lot of API related to
12.0.1
Version
:Ktor
:2.3.9
->2.3.10
MicroUtils
:0.20.39
->0.20.45
UUID
:0.8.2
->0.8.4