v1.2.9.2
What's Changed
- Full compatibility with Telegram Api version 9.2
- Stop getUpdates longpolling on Bot::stop by @6d61676f in #7
- Added
ErrorCode::REQUEST_CANCELLEDfor detecting long polling cancellations - Upgraded libcpr from
v1.11.3tov1.14.1 - Fix MaybeInaccessibleMessage invalid variant index
- Improve Bot commands handling
- Improve api()->getCache()
- Improved objects JSON deserialization
- Expose tgbotxx version macros to user
- Using
std::monostatefor optionalstd::variantinstead of anstd::optional<std::variant<...>> - Allow users to specify api long polling updates limit with
api()->setUpdatesLimit(N)- defaulted to 100
New Contributors
Full Changelog: v1.1.9.2...v1.2.9.2
Supported Api methods & Objects (Telegram Api v9.2 and below)
- ✅ Getting updates
- ✅ Available types
- ✅ Available methods
- ✅ Inline mode
- ✅ Stickers
- ✅ Updating messages
- ✅ Payments
- ✅ Telegram Passport
- ✅ Games
Demos
See examples