TelegramBotAPI v0.35.3 Release Notes
-
Common
:Version
:Klock
:2.2.0
->2.3.1
Ktor
:1.6.1
->1.6.2
MicroUtils
:0.5.16
->0.5.18
Core
:SimpleRequestCallFactory
andMultipartRequestCallFactory
became a classes instead of objects to avoid collisions in different bots- Support of strongly-typed ietf language codes has been added
API
:- New extension
TelegramBot#downloadFile
for anyMediaContent
- New extension
- 🏗
Behaviour Builder
:- New provider
defaultCoroutineScopeProvider
- Now it is not necessary to provide
CoroutineScope
toTelegramBot#buildBehaviour
extension
- Now it is not necessary to provide
- New
TelegramBot#buildBehaviour
extension withFlowUpdatesFilter
andCoroutineScope
with defaultCoroutineScope
- New typealias
SimpleFilter
for unifying triggers filter signatures- All waiters got real filters (
SimpleFilter
) and rename old filters as mappers
- All waiters got real filters (
- New extensions for
Any
:as
/when
/require
forWithOptionalLanguageCode
andWithLanguageCode
- New provider