Skip to content

Bot API 4.5 #1038

Closed
Closed
@noplanman

Description

@noplanman

https://core.telegram.org/bots/api#december-31-2019

  • Add support for two new MessageEntity types, underline and strikethrough.
  • Add support for nested MessageEntity entities.
  • Add support for nested entities and the new tags <u>/<ins> (for underlined text) and <s>/<strike>/<del> (for strikethrough text) in parse mode HTML.
  • Add a new parse mode, MarkdownV2, which supports nested entities and two new entities __ (for underlined text) and ~ (for strikethrough text). Parse mode Markdown remains unchanged for backward compatibility.
  • Add the field file_unique_id to the Animation, Audio, Document, PassportFile, PhotoSize, Sticker, Video, VideoNote, Voice, File entities and the fields small_file_unique_id and big_file_unique_id to the entity ChatPhoto.
  • Add the field custom_title to the ChatMember entity.
  • Add the new method setChatAdministratorCustomTitle to manage the custom titles of administrators promoted by the bot.
  • Add the field slow_mode_delay to the Chat entity.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions