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:
@@ -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
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -6,3 +6,4 @@
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
[assembly: SuppressMessage("Style", "IDE0290")]
|
||||
[assembly: SuppressMessage("Style", "IDE0090")]
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user