@model LittleShop.DTOs.BotDto @{ ViewData["Title"] = $"Edit Bot - {Model.Name}"; var settingsJson = ViewData["BotSettings"] as string ?? "{}"; }

Edit Bot Settings


@if (TempData["Error"] != null) { }
@Html.AntiForgeryToken()
Bot Information
Name
@Model.Name
Type
@Model.Type
Bot ID
@Model.Id
Bot Configuration (JSON)
Edit the JSON configuration for this bot. Be careful to maintain valid JSON format.
Configuration Template

Example configuration structure:

{
  "Telegram": {
    "BotToken": "YOUR_BOT_TOKEN",
    "WebhookUrl": "",
    "AdminChatId": ""
  },
  "Privacy": {
    "Mode": "strict",
    "RequirePGP": false,
    "EnableTor": false
  },
  "Features": {
    "EnableQRCodes": true,
    "EnableVoiceSearch": false
  },
  "Cryptocurrencies": [
    "BTC", "XMR", "USDT"
  ]
}
Actions
Cancel
@section Scripts { }