tdesktop/Telegram/SourceFiles/api/api_sending.h

26 lines
530 B
C
Raw Normal View History

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;
class DocumentData;
namespace Api {
struct MessageToSend;
2019-07-17 14:34:39 +00:00
void SendExistingDocument(
Api::MessageToSend &&message,
not_null<DocumentData*> document);
2019-07-17 14:34:39 +00:00
void SendExistingPhoto(
Api::MessageToSend &&message,
not_null<PhotoData*> photo);
2019-07-17 14:34:39 +00:00
} // namespace Api