* Added WideBotOptions

* Added ConfigureWideBot method
* Refactored `AddWideTelegrator` method
* Added `dbConnectionFactory`
This commit is contained in:
gutii
2026-05-01 20:48:32 +04:00
parent 6453e42d06
commit 39f9abd9de
17 changed files with 184 additions and 63 deletions
@@ -0,0 +1,16 @@
using WTelegram;
namespace Telegrator;
public class WideBotOptions
{
public required int ApiId { get; set; }
public required string ApiHash { get; set; }
public string? MTProxy { get; set; }
public bool DropPendingUpdates { get; set; }
public SqlCommands SqlCommands { get; set; } = WTelegram.SqlCommands.Detect;
}