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

Added API support to resolve story statistics.

This commit is contained in:
23rd
2023-11-17 05:57:50 +03:00
committed by John Preston
parent 34d0dac351
commit 1056a5cc8e
3 changed files with 69 additions and 12 deletions

View File

@@ -118,11 +118,14 @@ struct MessageStatistics final {
int views = 0;
int reactions = 0;
};
// At the moment, the structures are identical.
using StoryStatistics = MessageStatistics;
struct AnyStatistics final {
Data::ChannelStatistics channel;
Data::SupergroupStatistics supergroup;
Data::MessageStatistics message;
Data::StoryStatistics story;
};
struct PublicForwardsSlice final {