mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-04-01 23:00:58 +00:00
37 lines
803 B
C++
37 lines
803 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
|
|
|
|
class History;
|
|
class DocumentData;
|
|
struct TextWithEntities;
|
|
|
|
namespace Api {
|
|
|
|
void SendExistingDocument(
|
|
not_null<History*> history,
|
|
not_null<DocumentData*> document);
|
|
|
|
void SendExistingDocument(
|
|
not_null<History*> history,
|
|
not_null<DocumentData*> document,
|
|
TextWithEntities caption,
|
|
MsgId replyToId = 0);
|
|
|
|
void SendExistingPhoto(
|
|
not_null<History*> history,
|
|
not_null<PhotoData*> photo);
|
|
|
|
void SendExistingPhoto(
|
|
not_null<History*> history,
|
|
not_null<PhotoData*> photo,
|
|
TextWithEntities caption,
|
|
MsgId replyToId = 0);
|
|
|
|
} // namespace Api
|