mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Update API scheme to layer 108.
This commit is contained in:
@@ -53,13 +53,20 @@ struct FileReferenceAccumulator {
|
||||
}, [&](const MTPDthemeDocumentNotModified &data) {
|
||||
});
|
||||
}
|
||||
void push(const MTPWebPageAttribute &data) {
|
||||
data.match([&](const MTPDwebPageAttributeTheme &data) {
|
||||
if (const auto documents = data.vdocuments()) {
|
||||
push(*documents);
|
||||
}
|
||||
});
|
||||
}
|
||||
void push(const MTPWebPage &data) {
|
||||
data.match([&](const MTPDwebPage &data) {
|
||||
if (const auto document = data.vdocument()) {
|
||||
push(*document);
|
||||
}
|
||||
if (const auto documents = data.vdocuments()) {
|
||||
push(*documents);
|
||||
if (const auto attributes = data.vattributes()) {
|
||||
push(*attributes);
|
||||
}
|
||||
if (const auto photo = data.vphoto()) {
|
||||
push(*photo);
|
||||
|
||||
Reference in New Issue
Block a user