Open kleuter opened 5 months ago
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;
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.