tdesktop/Telegram/SourceFiles/api/api_media.h

27 lines
565 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 HistoryItem;
namespace Api {
struct RemoteFileInfo;
MTPInputMedia PrepareUploadedPhoto(
not_null<HistoryItem*> item,
RemoteFileInfo info);
MTPInputMedia PrepareUploadedDocument(
not_null<HistoryItem*> item,
RemoteFileInfo info);
bool HasAttachedStickers(MTPInputMedia media);
} // namespace Api