Show "Boost" button in boost group links.

This commit is contained in:
John Preston 2024-04-19 15:25:36 +04:00
parent ca1a30196e
commit 63f66a1369
2 changed files with 3 additions and 0 deletions

View File

@ -164,6 +164,8 @@ WebPageType ParseWebPageType(
return WebPageType::BotApp;
} else if (type == u"telegram_channel_boost"_q) {
return WebPageType::ChannelBoost;
} else if (type == u"telegram_group_boost"_q) {
return WebPageType::GroupBoost;
} else if (type == u"telegram_giftcode"_q) {
return WebPageType::Giftcode;
} else if (type == u"telegram_stickerset"_q) {

View File

@ -29,6 +29,7 @@ enum class WebPageType : uint8 {
Group,
GroupWithRequest,
GroupBoost,
Channel,
ChannelWithRequest,
ChannelBoost,