reo7sp / tgbot-cpp

C++ library for Telegram bot API
http://reo7sp.github.io/tgbot-cpp
MIT License
995 stars 238 forks source link

Update to Bot API 7.2 #300

Closed llnulldisk closed 2 months ago

llnulldisk commented 4 months ago

Added support for the Telegram Bot API 6.6 with the following changes:

Added support for the Telegram Bot API 6.7 with the following changes:

Added support for the Telegram Bot API 6.8 with the following changes:

Added support for the Telegram Bot API 6.9 with the following changes:

Added support for the Telegram Bot API 7.0 with the following changes:

Added support for the Telegram Bot API 7.1 with the following changes:

Added support for the Telegram Bot API 7.2 with the following changes:

Breaking changes are marked accordingly

Fixed #278 and the same error at 7 other occurrences

egorpugin commented 2 months ago

@llnulldisk do you generate api changes or write them manually?

llnulldisk commented 2 months ago

@llnulldisk do you generate api changes or write them manually?

Currently I'm still working on a script to generate the changes. With some manual changes I can already generate all the type headers and TgTypeParser. I still write all api methods manually, as they are somewhat more complex.

egorpugin commented 2 months ago

@llnulldisk

You could check out my parser for reference/infos. Generator is also there. https://github.com/egorpugin/tgbot/tree/master/tools