Removed doubled filters variations for reply-chain message filtering

Instead using MessageRepliedAttribute to filter messages in reply-chain
Old types renamed to new framework name
This commit is contained in:
2025-07-25 01:26:32 +04:00
parent b60b4c5f01
commit 78c7f41489
26 changed files with 158 additions and 1458 deletions
@@ -7,7 +7,7 @@ namespace Telegrator.Hosting.Components
/// Interface for Telegram bot hosts.
/// Combines host application capabilities with reactive Telegram bot functionality.
/// </summary>
public interface ITelegramBotHost : IHost, IReactiveTelegramBot
public interface ITelegramBotHost : IHost, ITelegratorBot
{
}
+1
View File
@@ -6,3 +6,4 @@
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("Style", "IDE0290")]
[assembly: SuppressMessage("Style", "IDE0090")]
+1 -1
View File
@@ -111,7 +111,7 @@ namespace Telegrator.Hosting
//hostApplicationBuilder.Services.AddSingleton<IHost>(this);
hostApplicationBuilder.Services.AddSingleton<ITelegramBotHost>(this);
hostApplicationBuilder.Services.AddSingleton<IReactiveTelegramBot>(this);
hostApplicationBuilder.Services.AddSingleton<ITelegratorBot>(this);
hostApplicationBuilder.Services.AddSingleton<IHandlersCollection>(handlers);
}
}
@@ -10,7 +10,6 @@
<PackageProjectUrl></PackageProjectUrl>
<Title>Telegrator : Telegram.Bot mediator framework</Title>
<PackageIcon>telegrator_nuget.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/Rikitav/Telegrator</RepositoryUrl>
<PackageTags>telegram;bot;mediator;attributes;aspect;hosting;host;framework;easy;simple;handlers</PackageTags>
<EnableNETAnalyzers>True</EnableNETAnalyzers>