Files
telegram-bot/modules/CodeWatcher/Service/IHasteService.cs
T
Andriy 5471b412d9 [code-watcher] Add CodeWatcherMode option.
There are three option values:
- Disabled: module does nothing (wow).
- Remove: module removes matching messages and sends temporary message
          to instruct user what to do.
- Upload: module uploads detected code to configured Haste Server.
2023-07-28 16:53:01 +03:00

9 lines
220 B
C#

using West.TelegramBot.CodeWatcher.Dto;
namespace West.TelegramBot.CodeWatcher.Service;
public interface IHasteService
{
public Task<HasteResponse> PostDocumentAsync(string data);
public Uri GetHasteUri();
}