2023-01-12 12:27:50 +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
|
|
|
|
|
|
|
|
struct RequestPeerQuery;
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class BoxContent;
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
namespace Window {
|
|
|
|
class SessionNavigation;
|
|
|
|
} // namespace Window
|
|
|
|
|
2023-01-31 13:40:44 +00:00
|
|
|
void ShowChoosePeerBox(
|
2023-01-12 12:27:50 +00:00
|
|
|
not_null<Window::SessionNavigation*> navigation,
|
2023-01-13 13:59:15 +00:00
|
|
|
not_null<UserData*> bot,
|
|
|
|
RequestPeerQuery query,
|
2023-12-21 01:16:07 +00:00
|
|
|
Fn<void(std::vector<not_null<PeerData*>>)> chosen);
|