2020-05-28 09:30:40 +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 HistoryItem;
|
|
|
|
|
|
|
|
namespace Api {
|
|
|
|
|
2021-03-14 09:46:17 +00:00
|
|
|
MTPInputMedia PrepareUploadedPhoto(
|
|
|
|
const MTPInputFile &file,
|
|
|
|
std::vector<MTPInputDocument> attachedStickers);
|
2020-05-28 09:30:40 +00:00
|
|
|
|
|
|
|
MTPInputMedia PrepareUploadedDocument(
|
|
|
|
not_null<HistoryItem*> item,
|
|
|
|
const MTPInputFile &file,
|
2021-03-14 09:46:17 +00:00
|
|
|
const std::optional<MTPInputFile> &thumb,
|
|
|
|
std::vector<MTPInputDocument> attachedStickers);
|
2020-05-28 09:30:40 +00:00
|
|
|
|
|
|
|
} // namespace Api
|