Skip to content

2.1.0

Latest

Choose a tag to compare

@yagop yagop released this 24 Aug 20:48
606cc67

[2.1.0][2.1.0] - 2026-08-24

Builders

  • Added RichTextBuilder - a fluent builder for the recursive RichText tree,
    covering every node kind (bold/italic/underline/code/url/mention/date_time/
    custom_emoji/anchor/reference/...), with nesting via strings or nested builders.
  • Added RichMessageBuilder - a fluent builder for the blocks form of
    InputRichMessage (sendRichMessage/sendRichMessageDraft), covering every
    block type; nested blocks (list/blockquote/collage/slideshow/details) take a
    nested builder or callback, and media blocks embed InputFiles (hoisted to
    attach://).
  • Added RichMessageButtonBuilder for a single RichMessageButton (rich label,
    style, and one action), plus the richMessageButton, richCaption,
    richTableCell, and richListItem helpers.
  • Fixed the type generator so RichText models its true wire union
    (string | RichText[] | ...nodes); every text: RichText field now accepts a
    plain string or array, not only a node object.

Bot API 10.3 (August 24, 2026)

Rich Messages

  • Added RichMessageButton, RichTextButton, RichBlockButtons/InputRichBlockButtons,
    RichBlockExpandableBlockQuotation/InputRichBlockExpandableBlockQuotation, and
    RichBlockDocument/InputRichBlockDocument.
  • Added is_compact to RichBlockTable and InputRichBlockTable, InputMediaDocument
    to InputRichMessageMedia.media, and support for tg://document?id= upload links.

Ephemeral Messages

  • Added EphemeralMessageParameters and replaced receiver_user_id/callback_query_id
    with ephemeral_message_parameters in the 13 supported send methods; added
    ephemeral_message_parameters to sendRichMessage.
  • Added replace_callback_query_message to EphemeralMessageParameters, file upload
    in editEphemeralMessageMedia, show_caption_above_media to
    editEphemeralMessageCaption, and rich_message to editEphemeralMessageText.
  • Added can_send_welcome_messages to ChatAdministratorRights,
    ChatMemberAdministrator, and promoteChatMember.

Reply markup

  • Added DisabledButton and disabled on InlineKeyboardButton, plus force_reply
    on InlineKeyboardMarkup and ReplyKeyboardMarkup.

General

  • Added can_stop/keep_on_stop to sendMessageDraft and sendRichMessageDraft.
  • Added MessageGenerationStopped and the stopped_message_generation update type.
  • Added CommunityChatJoined and Message.community_chat_joined.
  • Added text, entities, and is_private to UniqueGiftInfo.

Full Changelog: v2.0.0...v2.1.0