Files
lampac/mods/TelegramAuth/Models/TelegramAuthConf.cs
T
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

39 lines
1.0 KiB
C#

using Shared.Models.AppConf;
using Shared.Models.Module;
namespace TelegramAuth.Models
{
public class TelegramAuthConf : ModuleBaseConf
{
public bool enable { get; set; }
public string? data_dir { get; set; }
public string legacy_import_path { get; set; } = "";
public bool enable_import { get; set; } = true;
public bool enable_cleanup { get; set; } = true;
public int max_active_devices_per_user { get; set; }
public string mutations_api_secret { get; set; } = "";
public long[]? owner_telegram_ids { get; set; }
public bool auto_provision_users { get; set; }
public string auto_provision_role { get; set; } = "user";
public string auto_provision_lang { get; set; } = "ru";
public int auto_provision_expires_days { get; set; }
public bool auto_provision_activate_immediately { get; set; }
public int accsdb_sync_group_admin { get; set; } = 100;
public int accsdb_sync_group_user { get; set; }
}
}