2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Add simple forwarding options on bar click.

This commit is contained in:
John Preston
2021-08-31 19:47:38 +03:00
parent e9a5c45f34
commit 9dfc60026e
18 changed files with 378 additions and 94 deletions

View File

@@ -39,6 +39,7 @@ class Session;
namespace Data {
class WallPaper;
struct ForwardDraft;
} // namespace Data
namespace Dialogs {
@@ -159,12 +160,12 @@ public:
int32 dlgsWidth() const;
void showForwardLayer(MessageIdsList &&items);
void showForwardLayer(Data::ForwardDraft &&draft);
void showSendPathsLayer();
void shareUrlLayer(const QString &url, const QString &text);
void inlineSwitchLayer(const QString &botAndQuery);
void hiderLayer(base::unique_qptr<Window::HistoryHider> h);
bool setForwardDraft(PeerId peer, MessageIdsList &&items);
bool setForwardDraft(PeerId peer, Data::ForwardDraft &&draft);
bool shareUrl(
PeerId peerId,
const QString &url,