AyuGramDesktop/Telegram/SourceFiles/ui/chat/sponsored_message_bar.h

29 lines
606 B
C++

/*
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
namespace Data {
struct SponsoredFrom;
} // namespace Data
namespace Main {
class Session;
} // namespace Main
namespace Ui {
class RpWidget;
void FillSponsoredMessageBar(
not_null<RpWidget*> container,
not_null<Main::Session*> session,
FullMsgId fullId,
Data::SponsoredFrom from,
const TextWithEntities &textWithEntities);
} // namespace Ui