2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Add view button to channel boost link previews.

This commit is contained in:
John Preston
2023-09-15 21:22:39 +04:00
parent 7828a92f08
commit c5634580f6
4 changed files with 7 additions and 0 deletions

View File

@@ -176,6 +176,8 @@ WebPageType ParseWebPageType(
return WebPageType::User;
} else if (type == u"telegram_botapp"_q) {
return WebPageType::BotApp;
} else if (type == u"telegram_channel_boost"_q) {
return WebPageType::ChannelBoost;
} else if (hasIV) {
return WebPageType::ArticleWithIV;
} else {