2022-05-18 10:18:17 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
|
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
|
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class DocumentData;
|
|
|
|
|
|
|
|
namespace Window {
|
|
|
|
class SessionController;
|
|
|
|
} // namespace Window
|
|
|
|
|
|
|
|
void ShowStickerPreviewBox(
|
|
|
|
not_null<Window::SessionController*> controller,
|
|
|
|
not_null<DocumentData*> document);
|
2022-05-27 15:42:05 +00:00
|
|
|
|
|
|
|
enum class PremiumPreview {
|
|
|
|
Reactions,
|
|
|
|
Stickers,
|
|
|
|
Avatars,
|
|
|
|
};
|
|
|
|
|
|
|
|
void ShowPremiumPreviewBox(
|
|
|
|
not_null<Window::SessionController*> controller,
|
|
|
|
PremiumPreview section,
|
|
|
|
const base::flat_set<QString> &disabledReactions = {});
|