mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-10 15:52:54 +02:00
40 lines
830 B
C++
40 lines
830 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
|
|
|
|
class PeerData;
|
|
class DocumentData;
|
|
|
|
namespace Api {
|
|
struct SendOptions;
|
|
} // namespace Api
|
|
|
|
namespace SendMenu {
|
|
struct Details;
|
|
} // namespace SendMenu
|
|
|
|
namespace HistoryView {
|
|
class Element;
|
|
} // namespace HistoryView
|
|
|
|
namespace Ui {
|
|
|
|
class GenericBox;
|
|
|
|
void EditCaptionBox(
|
|
not_null<Ui::GenericBox*> box,
|
|
not_null<HistoryView::Element*> view);
|
|
|
|
void SendGifWithCaptionBox(
|
|
not_null<Ui::GenericBox*> box,
|
|
not_null<DocumentData*> document,
|
|
not_null<PeerData*> peer,
|
|
const SendMenu::Details &details,
|
|
Fn<void(Api::SendOptions, TextWithTags)> done);
|
|
|
|
} // namespace Ui
|