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
You cannot actually use any of Telegram::Bot::sendMediaGroup methods, because you cannot create such vectors as QVector<InputMediaPhoto> for example.
Telegram::Bot::sendMediaGroup
QVector<InputMediaPhoto>
One can only create such vectors using initializers:
QVector< InputMediaPhoto> v = { InputMediaPhoto(new QFile()), InputMediaPhoto(new QFile()) };
But you cannot add new items to it:
v.emplace_back(InputMediaPhoto(new QFile()) );
Possible solution: const Type type = Type::PHOTO; must be changed to Type type = Type::PHOTO; in the header.
const Type type = Type::PHOTO;
Type type = Type::PHOTO;
The text was updated successfully, but these errors were encountered:
Same for InputMediaVideo
Sorry, something went wrong.
No branches or pull requests
You cannot actually use any of
Telegram::Bot::sendMediaGroup
methods, because you cannot create such vectors asQVector<InputMediaPhoto>
for example.One can only create such vectors using initializers:
But you cannot add new items to it:
Possible solution:
const Type type = Type::PHOTO;
must be changed toType type = Type::PHOTO;
in the header.The text was updated successfully, but these errors were encountered: