2022-03-15 16:59:24 +00:00
|
|
|
|
namespace ASC.Core.Common.Notify;
|
2022-02-15 11:52:43 +00:00
|
|
|
|
|
|
|
|
|
public interface ITelegramService
|
2020-09-15 13:11:05 +00:00
|
|
|
|
{
|
2022-02-15 11:52:43 +00:00
|
|
|
|
void CreateOrUpdateClient(int tenantId, string token, int tokenLifespan, string proxy);
|
|
|
|
|
void DisableClient(int tenantId);
|
2022-02-21 09:17:17 +00:00
|
|
|
|
void RegisterUser(string userId, int tenantId, string token);
|
|
|
|
|
void SendMessage(NotifyMessage m);
|
2020-09-15 13:11:05 +00:00
|
|
|
|
}
|