Add availableReaction.is_tag.
This commit is contained in:
parent
956c35d6e0
commit
ae18e3de6b
@ -4024,7 +4024,8 @@ availableReaction type:ReactionType needs_premium:Bool = AvailableReaction;
|
|||||||
//@recent_reactions List of recently used reactions
|
//@recent_reactions List of recently used reactions
|
||||||
//@popular_reactions List of popular reactions
|
//@popular_reactions List of popular reactions
|
||||||
//@allow_custom_emoji True, if any custom emoji reaction can be added by Telegram Premium subscribers
|
//@allow_custom_emoji True, if any custom emoji reaction can be added by Telegram Premium subscribers
|
||||||
availableReactions top_reactions:vector<availableReaction> recent_reactions:vector<availableReaction> popular_reactions:vector<availableReaction> 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<availableReaction> recent_reactions:vector<availableReaction> popular_reactions:vector<availableReaction> allow_custom_emoji:Bool are_tags:Bool = AvailableReactions;
|
||||||
|
|
||||||
//@description Contains information about an emoji reaction
|
//@description Contains information about an emoji reaction
|
||||||
//@emoji Text representation of the reaction
|
//@emoji Text representation of the reaction
|
||||||
|
@ -424,7 +424,7 @@ td_api::object_ptr<td_api::availableReactions> ReactionManager::get_sorted_avail
|
|||||||
|
|
||||||
return td_api::make_object<td_api::availableReactions>(
|
return td_api::make_object<td_api::availableReactions>(
|
||||||
std::move(top_reaction_objects), std::move(recent_reaction_objects), std::move(popular_reaction_objects),
|
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<td_api::availableReactions> ReactionManager::get_available_reactions(int32 row_size) {
|
td_api::object_ptr<td_api::availableReactions> ReactionManager::get_available_reactions(int32 row_size) {
|
||||||
|
Loading…
Reference in New Issue
Block a user