mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-25 18:10:35 +00:00
26 lines
555 B
C++
26 lines
555 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
|
|
|
|
namespace Iv {
|
|
|
|
struct Options;
|
|
struct Prepared;
|
|
|
|
struct Source {
|
|
uint64 pageId = 0;
|
|
MTPPage page;
|
|
std::optional<MTPPhoto> webpagePhoto;
|
|
std::optional<MTPDocument> webpageDocument;
|
|
QString name;
|
|
};
|
|
|
|
[[nodiscard]] Prepared Prepare(const Source &source, const Options &options);
|
|
|
|
} // namespace Iv
|