2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Added initial API support for different boosts lists.

This commit is contained in:
23rd
2023-11-02 15:28:17 +03:00
committed by John Preston
parent 6fcf80c6cf
commit 79b5f7eda9
4 changed files with 23 additions and 13 deletions

View File

@@ -42,16 +42,18 @@ struct Boost final {
struct BoostsListSlice final {
struct OffsetToken final {
QString next;
bool gifts = false;
};
std::vector<Boost> list;
int total = 0;
int multipliedTotal = 0;
bool allLoaded = false;
OffsetToken token;
};
struct BoostStatus final {
BoostsOverview overview;
BoostsListSlice firstSlice;
BoostsListSlice firstSliceBoosts;
BoostsListSlice firstSliceGifts;
QString link;
};