sponsored_message_bar.h 606 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. namespace Data {
  9. struct SponsoredFrom;
  10. } // namespace Data
  11. namespace Main {
  12. class Session;
  13. } // namespace Main
  14. namespace Ui {
  15. class RpWidget;
  16. void FillSponsoredMessageBar(
  17. not_null<RpWidget*> container,
  18. not_null<Main::Session*> session,
  19. FullMsgId fullId,
  20. Data::SponsoredFrom from,
  21. const TextWithEntities &textWithEntities);
  22. } // namespace Ui