tdesktop/Telegram/SourceFiles/history/view/history_view_schedule_box.h

25 lines
537 B
C
Raw Normal View History

2019-08-13 15:35:49 +00:00
/*
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
#include "boxes/generic_box.h"
namespace Api {
struct SendOptions;
} // namespace Api
namespace HistoryView {
2019-08-13 20:01:39 +00:00
[[nodiscard]] TimeId DefaultScheduleTime();
void ScheduleBox(
not_null<GenericBox*> box,
FnMut<void(Api::SendOptions)> done,
2019-08-13 20:01:39 +00:00
TimeId time);
2019-08-13 15:35:49 +00:00
} // namespace HistoryView