choose_peer_box.h 577 B

123456789101112131415161718192021222324
  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. struct RequestPeerQuery;
  9. namespace Ui {
  10. class BoxContent;
  11. } // namespace Ui
  12. namespace Window {
  13. class SessionNavigation;
  14. } // namespace Window
  15. void ShowChoosePeerBox(
  16. not_null<Window::SessionNavigation*> navigation,
  17. not_null<UserData*> bot,
  18. RequestPeerQuery query,
  19. Fn<void(std::vector<not_null<PeerData*>>)> chosen);