2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Bundle silent and scheduled to Api::SendOptions.

This commit is contained in:
John Preston
2019-08-12 13:11:34 +01:00
parent 0b08810d5a
commit caef7dde24
27 changed files with 413 additions and 349 deletions

View File

@@ -21,6 +21,10 @@ class HistoryWidget;
class StackItem;
struct FileLoadResult;
namespace Api {
struct SendAction;
} // namespace Api
namespace Main {
class Session;
} // namespace Main
@@ -231,7 +235,7 @@ public:
void pushReplyReturn(not_null<HistoryItem*> item);
void cancelForwarding(not_null<History*> history);
void finishForwarding(not_null<History*> history, bool silent);
void finishForwarding(Api::SendAction action);
// Does offerPeer or showPeerHistory.
void choosePeer(PeerId peerId, MsgId showAtMsgId);