Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editMessageReplyMarkup will always throw for default values #278

Closed
GitSparTV opened this issue May 24, 2023 · 0 comments · Fixed by #300
Closed

editMessageReplyMarkup will always throw for default values #278

GitSparTV opened this issue May 24, 2023 · 0 comments · Fixed by #300

Comments

@GitSparTV
Copy link

GitSparTV commented May 24, 2023

if ((boost::get<std::int64_t>(chatId) != 0) || (boost::get<std::string>(chatId) != "")) {

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

@GitSparTV GitSparTV changed the title editMessageReplyMarkup will always throw editMessageReplyMarkup will always throw for default values May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant