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-11-16 12:38:31 +00:00
|
|
|
struct RemoteFileInfo;
|
|
|
|
|
2022-12-13 12:11:52 +00:00
|
|
|
MTPInputMedia PrepareUploadedPhoto(
|
|
|
|
not_null<HistoryItem*> item,
|
|
|
|
RemoteFileInfo info);
|
2020-05-28 09:30:40 +00:00
|
|
|
|
|
|
|
MTPInputMedia PrepareUploadedDocument(
|
|
|
|
not_null<HistoryItem*> item,
|
2021-11-16 12:38:31 +00:00
|
|
|
RemoteFileInfo info);
|
2020-05-28 09:30:40 +00:00
|
|
|
|
2021-03-30 21:00:48 +00:00
|
|
|
bool HasAttachedStickers(MTPInputMedia media);
|
|
|
|
|
2020-05-28 09:30:40 +00:00
|
|
|
} // namespace Api
|