TelegramBotAPI v0.21.0 Release Notes
-
- All
MessageEntity
'es now are replaced withTextPart
- โ Added support of strikethrough and underline
- Added
UnderlineTextSource
- Added
StrikethroughTextSource
- Added support in
RawMessageEntity
- Added
- โ Added support of
MarkdownV2
- ๐ป Now will not be thrown exception when there is income unknown type of
RawMessageEntity
. Instead of this will be createdRegularTextSource
with the same text - ๐ Fixed problem that usually string formatting did not trigger escaping of control characters
- Actualized work with
pre
type of text - now it is possible to uselanguage
for formatting of text - โ Removed constructor of
TextMentionTextSource
, which was deprecated previously - All
TelegramMediaFile
instances now have fieldfileUniqueId
, which representsfile_unique_id
field from API - Now
ChatPhoto
have two additional fields:smallFileUniqueId
andbigFileUniqueId
- Now any administrator object instance have
customTitle
nullable field - โ Added the new request
SetChatAdministratorCustomTitle
to manage the custom titles of administrators promoted by the bot. โ Added the field
slowModeDelay
to theExtendedSupergroupChat
objects.CaptionedInput
now have extensionfullEntitiesList
which will return list ofTextPart
withRegularSource
'sTextPart
added - it will be used as part of some text and can be not related to telegram botMultilevelTextSource
was added - it is type ofTextSource
, which can have subsources as parts of this text๐ In all
TextSource
s all fields now are lazy for avoiding of potential risk for performance issuesโก๏ธ Updates in versions:
- Coroutines
1.3.2
->1.3.3
- Klock
1.8.0
->1.8.6
- UUID
0.0.6
->0.0.7
- Coroutines
- All