TelegramBotAPI v0.21.0 Release Notes

    • All MessageEntity'es now are replaced with TextPart
    • โž• Added support of strikethrough and underline
      • Added UnderlineTextSource
      • Added StrikethroughTextSource
      • Added support in RawMessageEntity
    • โž• Added support of MarkdownV2
    • ๐Ÿ‘ป Now will not be thrown exception when there is income unknown type of RawMessageEntity. Instead of this will be created RegularTextSource 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 use language for formatting of text
    • โœ‚ Removed constructor of TextMentionTextSource, which was deprecated previously
    • All TelegramMediaFile instances now have field fileUniqueId, which represents file_unique_id field from API
    • Now ChatPhoto have two additional fields: smallFileUniqueId and bigFileUniqueId
    • 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 the ExtendedSupergroupChat objects.

    • CaptionedInput now have extension fullEntitiesList which will return list of TextPart with RegularSource's

    • TextPart added - it will be used as part of some text and can be not related to telegram bot

    • MultilevelTextSource was added - it is type of TextSource, which can have subsources as parts of this text

    • ๐ŸŽ In all TextSources 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