Initial commit

This commit is contained in:
zavolo
2026-06-05 00:53:35 +03:00
commit e59e4424a4
7686 changed files with 352420 additions and 0 deletions
@@ -0,0 +1,12 @@
using MyTelegram.Domain.Shared.BotApi;
namespace MyTelegram.BotApi.Services;
public interface IWebhookManager
{
Task SetWebhookAsync(string token, string url, IFormFile? certificate, string? ipAddress,
int? maxConnections, string[]? allowedUpdates, bool? dropPendingUpdates, string? secretToken);
Task DeleteWebhookAsync(string token, bool? dropPendingUpdates);
Task<BotApiWebhookInfo> GetWebhookInfoAsync(string token);
Task SendUpdateToWebhookAsync(long botUserId, object update);
}