mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-05-02 05:54:00 +02:00
31 lines
662 B
C++
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
|