mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Added initial box for premium gifts.
This commit is contained in:
@@ -12,6 +12,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "base/observer.h"
|
||||
#include "base/weak_ptr.h"
|
||||
#include "base/timer.h"
|
||||
#include "boxes/gift_premium_box.h" // GiftPremiumValidator.
|
||||
#include "data/data_chat_participant_status.h"
|
||||
#include "dialogs/dialogs_key.h"
|
||||
#include "ui/layers/layer_widget.h"
|
||||
@@ -354,6 +355,7 @@ public:
|
||||
Dialogs::RowDescriptor from = {}) const;
|
||||
|
||||
void showEditPeerBox(PeerData *peer);
|
||||
void showGiftPremiumBox(UserData *user);
|
||||
|
||||
void enableGifPauseReason(GifPauseReason reason);
|
||||
void disableGifPauseReason(GifPauseReason reason);
|
||||
@@ -599,6 +601,8 @@ private:
|
||||
using ReactionIconFactory = HistoryView::Reactions::CachedIconFactory;
|
||||
std::unique_ptr<ReactionIconFactory> _cachedReactionIconFactory;
|
||||
|
||||
GiftPremiumValidator _giftPremiumValidator;
|
||||
|
||||
QString _premiumRef;
|
||||
|
||||
rpl::lifetime _lifetime;
|
||||
|
Reference in New Issue
Block a user