2019-07-17 14:34:39 +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
|
|
|
|
|
|
|
|
class History;
|
2020-03-06 12:12:03 +00:00
|
|
|
class PhotoData;
|
2019-07-17 14:34:39 +00:00
|
|
|
class DocumentData;
|
|
|
|
|
|
|
|
namespace Api {
|
|
|
|
|
2019-08-12 12:11:34 +00:00
|
|
|
struct MessageToSend;
|
2019-07-17 14:34:39 +00:00
|
|
|
|
|
|
|
void SendExistingDocument(
|
2019-08-12 12:11:34 +00:00
|
|
|
Api::MessageToSend &&message,
|
|
|
|
not_null<DocumentData*> document);
|
2019-07-17 14:34:39 +00:00
|
|
|
|
|
|
|
void SendExistingPhoto(
|
2019-08-12 12:11:34 +00:00
|
|
|
Api::MessageToSend &&message,
|
|
|
|
not_null<PhotoData*> photo);
|
2019-07-17 14:34:39 +00:00
|
|
|
|
2020-03-06 12:12:03 +00:00
|
|
|
[[nodiscard]] bool SendDice(Api::MessageToSend &message);
|
|
|
|
|
2019-07-17 14:34:39 +00:00
|
|
|
} // namespace Api
|