mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
@@ -10,6 +10,12 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "data/data_photo.h"
|
||||
#include "data/data_document.h"
|
||||
|
||||
class ChannelData;
|
||||
|
||||
namespace Main {
|
||||
class Session;
|
||||
} // namespace Main
|
||||
|
||||
enum class WebPageType {
|
||||
Photo,
|
||||
Video,
|
||||
@@ -50,6 +56,11 @@ struct WebPageData {
|
||||
const QString &newAuthor,
|
||||
int newPendingTill);
|
||||
|
||||
static void ApplyChanges(
|
||||
not_null<Main::Session*> session,
|
||||
ChannelData *channel,
|
||||
const MTPmessages_Messages &result);
|
||||
|
||||
WebPageId id = 0;
|
||||
WebPageType type = WebPageType::Article;
|
||||
QString url;
|
||||
|
Reference in New Issue
Block a user