25 lines
534 B
C++
25 lines
534 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
|
|
|
|
#include "boxes/generic_box.h"
|
|
|
|
namespace Api {
|
|
struct SendOptions;
|
|
} // namespace Api
|
|
|
|
namespace HistoryView {
|
|
|
|
[[nodiscard]] TimeId DefaultScheduleTime();
|
|
void ScheduleBox(
|
|
not_null<GenericBox*> box,
|
|
Fn<void(Api::SendOptions)> done,
|
|
TimeId time);
|
|
|
|
} // namespace HistoryView
|