inline_bot_confirm_prepared.h 662 B

12345678910111213141516171819202122232425262728293031
  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. class Thread;
  10. } // namespace Data
  11. namespace Main {
  12. class Session;
  13. } // namespace Main
  14. namespace Ui {
  15. class GenericBox;
  16. } // namespace Ui
  17. namespace InlineBots {
  18. void PreparedPreviewBox(
  19. not_null<Ui::GenericBox*> box,
  20. not_null<HistoryItem*> item,
  21. rpl::producer<not_null<Data::Thread*>> recipient,
  22. Fn<void()> choose,
  23. Fn<void(not_null<Data::Thread*>)> sent);
  24. } // namespace InlineBots