reo7sp / tgbot-cpp

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

editMessageReplyMarkup will always throw for default values #278

Closed GitSparTV closed 2 months ago

GitSparTV commented 1 year ago

https://github.com/reo7sp/tgbot-cpp/blob/9343618bdea96942c86fa8fc927a28f2885550af/src/Api.cpp#L1894

If the value is 0, get<string> will throw, if the value is "", get<int> will throw