Repository navigation
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.
widgetQueryandsharedWidgetQueryroutes with typed payloads.- Context helpers:
sendWidget,sendSharedWidget, andanswerWidgetQuery. .widgetmessage filter and automatic widgetallowed_updates.- TON wallet models, chat share themes, rich-text quotes, and new entity types.
Changed
- Ephemeral replies can omit
chatIdandreceiverUserId. - Added verification description formatting parameters.
- Updated documentation and examples.
- Generation verification now supports an uncommitted documentation snapshot.
Breaking changes
-
Replace
StoryAreaPositionwithAreaPosition. -
Required arguments now precede optional
chatIdin 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