2019-07-17 16:34:39 +02: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;
|
|
|
|
class DocumentData;
|
|
|
|
struct TextWithEntities;
|
|
|
|
|
|
|
|
namespace Api {
|
|
|
|
|
|
|
|
void SendExistingDocument(
|
|
|
|
not_null<History*> history,
|
2019-07-26 18:06:22 +02:00
|
|
|
not_null<DocumentData*> document,
|
|
|
|
bool silent = false);
|
2019-07-17 16:34:39 +02:00
|
|
|
|
|
|
|
void SendExistingDocument(
|
|
|
|
not_null<History*> history,
|
|
|
|
not_null<DocumentData*> document,
|
|
|
|
TextWithEntities caption,
|
2019-07-26 18:06:22 +02:00
|
|
|
MsgId replyToId = 0,
|
|
|
|
bool silent = false);
|
2019-07-17 16:34:39 +02:00
|
|
|
|
|
|
|
void SendExistingPhoto(
|
|
|
|
not_null<History*> history,
|
2019-07-26 18:06:22 +02:00
|
|
|
not_null<PhotoData*> photo,
|
|
|
|
bool silent = false);
|
2019-07-17 16:34:39 +02:00
|
|
|
|
|
|
|
void SendExistingPhoto(
|
|
|
|
not_null<History*> history,
|
|
|
|
not_null<PhotoData*> photo,
|
|
|
|
TextWithEntities caption,
|
2019-07-26 18:06:22 +02:00
|
|
|
MsgId replyToId = 0,
|
|
|
|
bool silent = false);
|
2019-07-17 16:34:39 +02:00
|
|
|
|
|
|
|
} // namespace Api
|