[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.
This commit is contained in:
Andriy
2023-07-28 16:53:01 +03:00
parent 1d313d5271
commit 5471b412d9
8 changed files with 134 additions and 10 deletions
@@ -0,0 +1,9 @@
using West.TelegramBot.CodeWatcher.Dto;
namespace West.TelegramBot.CodeWatcher.Service;
public interface IHasteService
{
public Task<HasteResponse> PostDocumentAsync(string data);
public Uri GetHasteUri();
}