TelegramBotAPI v0.25.0 Release Notes
-
- Common:
- Versions updates:
Kotlin
:1.3.61
->1.3.70
Kotlin coroutines
:1.3.3
->1.3.5
Kotlin serialization
:0.14.0
->0.20.0
Ktor
:1.3.1
->1.3.2
Klock
:1.8.7
->1.10.0
UUID
:0.0.7
->0.1.0
- Versions updates:
TelegramBotAPI
:Bot
implementations (as andBot
itself) now have not nullableusername
File#toInputFile
extension now will throw error when file does not existsInlineKeyboardMarkup
will check thatPayInlineKeyboardButton
is the first in case if it is exists inkeyboard
makeLinkToMessage
now is notPreviewFeature
- All deprecations was removed
RequestException
now extendsio.ktor.utils.io.errors.IOException
instead ofkotlinx.io.IOException
Any#toJson
now is NOTinline
FlowsUpdatesFilter
now as marked my annotationFlowPreview
PathedFile#fullUrl
now is notinline
functionSimpleRequest#json
now is notinline
andinternal
functionFlowsUpdatesFilter
now have two additional flows:pollAnswerFlow
,unknownUpdateTypeFlow
ExtendedUser
(typealias
) was added as aPreviewFeature
- Common: