We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error 400 (Bad Request: can't parse InputMedia: media not found)
Simple example:
auto photo_file = std::make_shared<QFile>("D:/1.png"); auto photo_file2 = std::make_shared<QFile>("D:/2.png"); bool bOk1 = photo_file->open(QIODevice::ReadOnly); bool bOk2 = photo_file2->open(QIODevice::ReadOnly); Q_ASSERT(bOk1 && bOk2); _bot->sendMediaGroup(chat_id, { InputMediaPhoto(photo_file.get()), InputMediaPhoto(photo_file2.get()) }, { } ).get();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error 400 (Bad Request: can't parse InputMedia: media not found)
Simple example:
The text was updated successfully, but these errors were encountered: