Remove unused limit in getGreetingStickers.

This commit is contained in:
levlam 2024-04-12 03:16:10 +03:00
parent 5143d3fb6f
commit c368bd0f38
2 changed files with 3 additions and 5 deletions

View File

@ -9550,8 +9550,8 @@ getAllStickerEmojis sticker_type:StickerType query:string chat_id:int53 return_o
//@limit The maximum number of stickers to be returned; 0-100
searchStickers sticker_type:StickerType emojis:string limit:int32 = Stickers;
//@description Returns greeting stickers from regular sticker sets that can be used for the start page of other users @limit The maximum number of stickers to be returned; 0-100
getGreetingStickers limit:int32 = Stickers;
//@description Returns greeting stickers from regular sticker sets that can be used for the start page of other users
getGreetingStickers = Stickers;
//@description Returns premium stickers from regular sticker sets @limit The maximum number of stickers to be returned; 0-100
getPremiumStickers limit:int32 = Stickers;

View File

@ -3386,9 +3386,7 @@ class CliClient final : public Actor {
get_args(args, query);
send_request(td_api::make_object<td_api::searchStickers>(as_sticker_type(op), query.query, query.limit));
} else if (op == "ggs") {
string limit;
get_args(args, limit);
send_request(td_api::make_object<td_api::getGreetingStickers>(as_limit(limit)));
send_request(td_api::make_object<td_api::getGreetingStickers>());
} else if (op == "gprst") {
string limit;
get_args(args, limit);