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