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:
@@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user