diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index 02358868a..fdcf5df80 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -6461,7 +6461,7 @@ getPremiumLimit limit_type:PremiumLimitType = PremiumLimit; getPremiumFeatures source:PremiumSource = PremiumFeatures; //@description Returns examples of premium stickers for demonstration purposes -getPremiumStickers = Stickers; +getPremiumStickerExamples = Stickers; //@description Informs TDLib that the user viewed detailed information about a Premium feature on the Premium features screen @feature The viewed premium feature viewPremiumFeature feature:PremiumFeature = Ok; diff --git a/td/telegram/Td.cpp b/td/telegram/Td.cpp index f3b74310d..a6e249a32 100644 --- a/td/telegram/Td.cpp +++ b/td/telegram/Td.cpp @@ -7904,7 +7904,7 @@ void Td::on_request(uint64 id, const td_api::getPremiumFeatures &request) { get_premium_features(this, request.source_, std::move(promise)); } -void Td::on_request(uint64 id, const td_api::getPremiumStickers &request) { +void Td::on_request(uint64 id, const td_api::getPremiumStickerExamples &request) { CHECK_IS_USER(); CREATE_REQUEST(SearchStickersRequest, "⭐️⭐️", 100); } diff --git a/td/telegram/Td.h b/td/telegram/Td.h index 0ce717d6f..7cff96c45 100644 --- a/td/telegram/Td.h +++ b/td/telegram/Td.h @@ -1299,7 +1299,7 @@ class Td final : public Actor { void on_request(uint64 id, const td_api::getPremiumFeatures &request); - void on_request(uint64 id, const td_api::getPremiumStickers &request); + void on_request(uint64 id, const td_api::getPremiumStickerExamples &request); void on_request(uint64 id, const td_api::viewPremiumFeature &request); diff --git a/td/telegram/cli.cpp b/td/telegram/cli.cpp index 1ec2cc8aa..a308cf32b 100644 --- a/td/telegram/cli.cpp +++ b/td/telegram/cli.cpp @@ -2582,8 +2582,8 @@ class CliClient final : public Actor { auto source = td_api::make_object( td_api::make_object()); send_request(td_api::make_object(std::move(source))); - } else if (op == "gprst") { - send_request(td_api::make_object()); + } else if (op == "gprse") { + send_request(td_api::make_object()); } else if (op == "vprf") { auto feature = td_api::make_object(); send_request(td_api::make_object(std::move(feature)));