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; return WebPageType::BotApp;
} else if (type == u"telegram_channel_boost"_q) { } else if (type == u"telegram_channel_boost"_q) {
return WebPageType::ChannelBoost; return WebPageType::ChannelBoost;
} else if (type == u"telegram_group_boost"_q) {
return WebPageType::GroupBoost;
} else if (type == u"telegram_giftcode"_q) { } else if (type == u"telegram_giftcode"_q) {
return WebPageType::Giftcode; return WebPageType::Giftcode;
} else if (type == u"telegram_stickerset"_q) { } else if (type == u"telegram_stickerset"_q) {

View file

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