mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Show star rating preview.
This commit is contained in:
@@ -72,6 +72,7 @@ class BusinessInfo;
|
||||
struct ReactionId;
|
||||
struct UnavailableReason;
|
||||
struct CreditsStatusSlice;
|
||||
struct StarsRatingPending;
|
||||
struct UniqueGift;
|
||||
|
||||
struct RepliesReadTillUpdate {
|
||||
@@ -872,6 +873,9 @@ public:
|
||||
[[nodiscard]] int commonStarsPerMessage(
|
||||
not_null<const ChannelData*> channel) const;
|
||||
|
||||
void setPendingStarsRating(StarsRatingPending value);
|
||||
[[nodiscard]] StarsRatingPending pendingStarsRating() const;
|
||||
|
||||
void clearLocalStorage();
|
||||
|
||||
private:
|
||||
@@ -1226,6 +1230,8 @@ private:
|
||||
|
||||
MsgId _nonHistoryEntryId = ShortcutMaxMsgId;
|
||||
|
||||
std::unique_ptr<StarsRatingPending> _pendingStarsRating;
|
||||
|
||||
rpl::lifetime _lifetime;
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user