Rename getPremiumStickers to getPremiumStickerExamples.
This commit is contained in:
parent
a67155a145
commit
235418521f
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
|
@ -2582,8 +2582,8 @@ class CliClient final : public Actor {
|
||||
auto source = td_api::make_object<td_api::premiumSourceLimitExceeded>(
|
||||
td_api::make_object<td_api::premiumLimitTypeChatFilterCount>());
|
||||
send_request(td_api::make_object<td_api::getPremiumFeatures>(std::move(source)));
|
||||
} else if (op == "gprst") {
|
||||
send_request(td_api::make_object<td_api::getPremiumStickers>());
|
||||
} else if (op == "gprse") {
|
||||
send_request(td_api::make_object<td_api::getPremiumStickerExamples>());
|
||||
} else if (op == "vprf") {
|
||||
auto feature = td_api::make_object<td_api::premiumFeatureProfileBadge>();
|
||||
send_request(td_api::make_object<td_api::viewPremiumFeature>(std::move(feature)));
|
||||
|
Loading…
Reference in New Issue
Block a user