mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
replace WebhookAspNetProvider to WebhookDummyProvider
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using BotFramework.Abstractions.UpdateProvider;
|
||||
|
||||
namespace Kruzya.TelegramBot.Core;
|
||||
|
||||
public class WebhookDummyProvider : IWebhookProvider
|
||||
{
|
||||
public Task StartAsync(CancellationToken token)
|
||||
{
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
public Task StopAsync(CancellationToken token)
|
||||
{
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user