Files
lampac/mods/TelegramAuth/Services/TelegramAuthBindException.cs
prodik b6acef01ef TelegramAuth + TelegramAuthBot + WatchTogether; README/AGENT
- mods/TelegramAuth, mods/TelegramAuthBot, mods/WatchTogether: копии из
  образа с enable: true (правило 1), секции в config/init.conf
- TelegramAuth в API-режиме (enable: false -> accsdb/гейт не поднимается),
  TelegramAuthBot: бот @GatusMonBot, long polling
- WatchTogether: customPlugins watchtogether.js, relay /wt/c/
- README: секция про SQLite/volume (первый запуск), таблица модулей,
  состояние Tg-notify и TelegramAuth, раздел WatchTogether
- AGENT: правило 10 дополнено секретами init.conf, §12 переписан,
  добавлен §13 WatchTogether, список mods/ в §1
- в git bot_token и mutations_api_secret оставлены пустыми (правило 10),
  реальные значения только в рабочем файле на сервере
2026-10-04 15:03:00 +00:00

22 lines
475 B
C#

using System;
namespace TelegramAuth.Services
{
public enum TelegramAuthBindFailureKind
{
UserNotFound,
UserDisabled
}
public sealed class TelegramAuthBindException : Exception
{
public TelegramAuthBindFailureKind FailureKind { get; }
public TelegramAuthBindException(TelegramAuthBindFailureKind failureKind, string message)
: base(message)
{
FailureKind = failureKind;
}
}
}