2024-03-27 13:07:43 +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
|
|
|
|
|
2024-03-27 01:47:42 +00:00
|
|
|
namespace ChatHelpers {
|
|
|
|
class Show;
|
|
|
|
} // namespace ChatHelpers
|
|
|
|
|
2024-03-27 13:07:43 +00:00
|
|
|
namespace Ui {
|
|
|
|
class RpWidget;
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
class HistoryItem;
|
|
|
|
|
|
|
|
namespace Menu {
|
|
|
|
|
|
|
|
void ShowSponsored(
|
|
|
|
not_null<Ui::RpWidget*> parent,
|
2024-03-27 01:47:42 +00:00
|
|
|
std::shared_ptr<ChatHelpers::Show> show,
|
2024-03-27 13:07:43 +00:00
|
|
|
not_null<HistoryItem*> item);
|
|
|
|
|
2024-03-29 02:19:37 +00:00
|
|
|
void ShowSponsoredAbout(std::shared_ptr<ChatHelpers::Show> show);
|
|
|
|
|
2024-03-27 13:07:43 +00:00
|
|
|
} // namespace Menu
|