Skip to content

3.4.0 (API 10.4)

Latest

Choose a tag to compare

@tixster tixster released this 10 Nov 16:47

Telegram Bot API 10.4

Added

  • Support for all 193 Bot API methods, including 8 new operations.
  • HTML widget models, sending, query responses, and data editing.
  • widgetQuery and sharedWidgetQuery routes with typed payloads.
  • Context helpers: sendWidget, sendSharedWidget, and answerWidgetQuery.
  • .widget message filter and automatic widget allowed_updates.
  • TON wallet models, chat share themes, rich-text quotes, and new entity types.

Changed

  • Ephemeral replies can omit chatId and receiverUserId.
  • Added verification description formatting parameters.
  • Updated documentation and examples.
  • Generation verification now supports an uncommitted documentation snapshot.

Breaking changes

  • Replace StoryAreaPosition with AreaPosition.

  • Required arguments now precede optional chatId in affected sending methods:

    try await client.sendMessage(text: "Hello", chatId: .id(42))
    try await client.sendPhoto(photo: .fileID("photo"), chatId: .id(42))

Full Changelog: 3.3.0...3.4.0