You cannot actually use any of Telegram::Bot::sendMediaGroup methods, because you cannot create such vectors as QVector<InputMediaPhoto> for example.
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.
You cannot actually use any of
Telegram::Bot::sendMediaGroupmethods, 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.