Releases: gotd/botapi
Releases · gotd/botapi
v0.2.0
v0.1.0
First release of botapi — a hand-written, MTProto-backed Telegram Bot API library built on gotd/td. It exposes the familiar Bot API surface but speaks MTProto directly (no api.telegram.org, no getUpdates/webhooks).
Highlights
- Full Bot API method surface: messaging, all media sends, edits, forward/copy/delete; the handler framework (
On*, predicates, middleware, groups,Context); files (GetFile/download); chat management (members, admin, invite links); commands (with auto-registration); callback/inline queries; stickers; payments, games and passport. - Sealed-interface unions with compile-time exhaustiveness (
ChatID,InputFile,ReplyMarkup,InlineQueryResult,PassportElementError, …). - Resilience: Bot-API-shaped errors with a comprehensive
tgerrmapping,AsFloodWait/AsChatMigratedhelpers, opt-in flood-wait retry and a proactive rate limiter. - Multi-bot
pool.Pool, acmd/botdocinspector, a method-drift conformance test, benchmarks, a usage guide and runnable examples.
See CHANGELOG.md for the full list.
🤖 Generated with Claude Code