DocSpace-buildtools/common/ASC.Core.Common/Notify/Telegram/ITelegramService.cs

10 lines
311 B
C#
Raw Normal View History

2022-03-15 16:59:24 +00:00
namespace ASC.Core.Common.Notify;
2022-02-15 11:52:43 +00:00
public interface ITelegramService
{
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);
}