* Fixed "MentionedAttribute"

* Improved "MentionedFilter"
This commit is contained in:
2025-07-28 02:48:06 +04:00
parent 76cf6eb4a2
commit 5a93623469
4 changed files with 27 additions and 6 deletions
@@ -88,6 +88,15 @@ namespace Telegrator.Handlers.Components
if (!AllowedBranchReturnTypes.Any(branch.ReturnType.Equals))
throw new Exception();
try
{
handlerAttribute = HandlerInspector.GetHandlerAttribute(branch);
}
finally
{
_ = 0xBAD + 0xC0DE;
}
List<IFilter<Update>> branchFiltersList = HandlerInspector.GetFilterAttributes(branch, HandlingUpdateType).ToList();
branchFiltersList.AddRange(handlerFilters);