diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index 7d6892c58..fc017ddf4 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -4024,7 +4024,8 @@ availableReaction type:ReactionType needs_premium:Bool = AvailableReaction; //@recent_reactions List of recently used reactions //@popular_reactions List of popular reactions //@allow_custom_emoji True, if any custom emoji reaction can be added by Telegram Premium subscribers -availableReactions top_reactions:vector recent_reactions:vector popular_reactions:vector allow_custom_emoji:Bool = AvailableReactions; +//@are_tags True, if the reactions will be tags and the message can be found by them +availableReactions top_reactions:vector recent_reactions:vector popular_reactions:vector allow_custom_emoji:Bool are_tags:Bool = AvailableReactions; //@description Contains information about an emoji reaction //@emoji Text representation of the reaction diff --git a/td/telegram/ReactionManager.cpp b/td/telegram/ReactionManager.cpp index 1f934c277..8fa7145c0 100644 --- a/td/telegram/ReactionManager.cpp +++ b/td/telegram/ReactionManager.cpp @@ -424,7 +424,7 @@ td_api::object_ptr ReactionManager::get_sorted_avail return td_api::make_object( std::move(top_reaction_objects), std::move(recent_reaction_objects), std::move(popular_reaction_objects), - available_reactions.allow_all_custom_); + available_reactions.allow_all_custom_, is_tag); } td_api::object_ptr ReactionManager::get_available_reactions(int32 row_size) {