AyuGramDesktop/Telegram/SourceFiles/inline_bots/inline_bot_confirm_prepared.h
2024-11-17 15:08:16 +04:00

31 lines
662 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 {
class Thread;
} // namespace Data
namespace Main {
class Session;
} // namespace Main
namespace Ui {
class GenericBox;
} // namespace Ui
namespace InlineBots {
void PreparedPreviewBox(
not_null<Ui::GenericBox*> box,
not_null<HistoryItem*> item,
rpl::producer<not_null<Data::Thread*>> recipient,
Fn<void()> choose,
Fn<void(not_null<Data::Thread*>)> sent);
} // namespace InlineBots