Remove unneeded td_api::getAllAnimatedEmojis.

This commit is contained in:
levlam 2022-07-15 15:29:19 +03:00
parent d3b9b3b7c4
commit 2c7493978b
4 changed files with 0 additions and 13 deletions

View File

@ -5957,9 +5957,6 @@ searchEmojis text:string exact_match:Bool input_language_codes:vector<string> =
//@description Returns an animated emoji corresponding to a given emoji. Returns a 404 error if the emoji has no animated emoji @emoji The emoji
getAnimatedEmoji emoji:string = AnimatedEmoji;
//@description Returns all emojis, which has a corresponding animated emoji
getAllAnimatedEmojis = Emojis;
//@description Returns an HTTP URL which can be used to automatically log in to the translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation @language_code Language code for which the emoji replacements will be suggested
getEmojiSuggestionsUrl language_code:string = HttpUrl;

View File

@ -7170,12 +7170,6 @@ void Td::on_request(uint64 id, td_api::getAnimatedEmoji &request) {
stickers_manager_->get_animated_emoji(std::move(request.emoji_), false, std::move(promise));
}
void Td::on_request(uint64 id, const td_api::getAllAnimatedEmojis &request) {
CHECK_IS_USER();
CREATE_REQUEST_PROMISE();
stickers_manager_->get_all_animated_emojis(false, std::move(promise));
}
void Td::on_request(uint64 id, td_api::getEmojiSuggestionsUrl &request) {
CHECK_IS_USER();
CLEAN_INPUT_STRING(request.language_code_);

View File

@ -1115,8 +1115,6 @@ class Td final : public Actor {
void on_request(uint64 id, td_api::getAnimatedEmoji &request);
void on_request(uint64 id, const td_api::getAllAnimatedEmojis &request);
void on_request(uint64 id, td_api::getEmojiSuggestionsUrl &request);
void on_request(uint64 id, const td_api::getFavoriteStickers &request);

View File

@ -2788,8 +2788,6 @@ class CliClient final : public Actor {
send_request(td_api::make_object<td_api::searchEmojis>(args, false, vector<string>{"ru_RU"}));
} else if (op == "gae") {
send_request(td_api::make_object<td_api::getAnimatedEmoji>(args));
} else if (op == "gaae") {
send_request(td_api::make_object<td_api::getAllAnimatedEmojis>());
} else if (op == "gesu") {
send_request(td_api::make_object<td_api::getEmojiSuggestionsUrl>(args));
} else if (op == "gsan") {