Releases: InsanusMokrassar/ktgbotapi
Releases · InsanusMokrassar/ktgbotapi
21.0.1
Core
:- Improvements in
Update.sourceUser
extension - Add extension
PrivateChat.toUser
- Builder methods of
TextSource
s (likepre
which returnsPreTextSource
) lost suppression ofredundant inline
due to its redundancy - Add
mention
builders forEntitiesBuilder
withUserId
as variant instead ofUser
- Improvements in
BehaviourBuilder
:- Add support of several rounds for
CombinedSubcontextInitialAction
. Now it will try hard to execute all its
SubAction
while all actions will not be completed successfully OR all left actions will not complete with errors
- Add support of several rounds for
21.0.0
Version
:Kotlin
:2.0.21
->2.1.0
MicroUtils
:0.23.0
->0.23.1
BehaviourBuilder
:- Add special
val data: BehaviourContextData
into all realizations ofBehaviourContext
- Add
CombinedSubcontextInitialAction
and functions
buildSubcontextInitialAction
/buildSubcontextInitialActionWithSubActions
- Add
subcontextInitialAction
for all the functions-builders ofBehaviourContext
and
additionalSubcontextInitialAction
to all triggers
- Add special
20.0.1
20.0.0
THIS UPDATE CONTAINS SUPPORT OF BOTS API 7.11
All
:- ALL SEND METHODS GOT PARAMETER
allowPaidBroadcast
WHICH POTENTIALLY MAY SPEND MONEYS FROM BOT BALANCE
- ALL SEND METHODS GOT PARAMETER
19.0.0
18.2.3
Core
:- Add default middleware
ExceptionsThrottlerTelegramBotMiddleware
- Make
TelegramBotMiddlewaresPipelinesHandler
to be defaultTelegramBotPipelinesHandler
- Make
DefaultKtorRequestsExecutor
now usesrunCatching
instead ofrunCatchingSafely
onRequestResultPresented
lambda now accepts non-nullableresult
- Add default middleware
18.2.2
Version
:Kotlin
:2.0.20
->2.0.21
MicroUtils
:0.22.4
->0.22.7
Core
:- Fixes in blockquotes serializations
- Now
RawMessageEntity
is public. It is still underWarning
annotation and is subject of changes
BehaviourBuilder
:- Add
CommonMessageFilterExcludeCommand
to filter commands in messages - Add
minus
operation forSimpleFilter
s
- Add
18.2.1
Version
:Serialization
:1.7.2
->1.7.3
Coroutines
:1.8.1
->1.9.0
MicroUtils
:0.22.2
->0.22.4
18.2.0
THIS UPDATE CONTAINS SUPPORT OF BOTS API 7.10
Core
:- Customize
GiveawayCreated
to use stars in some cases GiveawayInfo
lost parameterpremiumMonths
because of it is no included by defaultGiveawayPublicResults
lost parameterpublicWinners
because of its abcence in Telegram Bot API- Fix
GiveawayPublicResults
to be correctly deserializable - Fix
GiveawayPrivateResults
to be correctly deserializable - Fixes in deserialization of updates with giveaways
- Customize
BehaviourBuilder
:- Extension
buildBehaviourWithLongPolling
will not report absence of/privacy
handling
- Extension
WebApp
:MainButton
has been deprecated in favor toBottomButton
. Their functionality is equal
18.1.0
BehaviourBuilder
:- Add
createSubContextAndDoSynchronouslyWithUpdatesFilter
as old logic ofcreateSubContextAndDoWithUpdatesFilter
createSubContextAndDoWithUpdatesFilter
has been renamed tocreateSubContextAndDoAsynchronouslyWithUpdatesFilter
- Add