[
  {
    "type": "multi-input",
    "id": "telegram-settings",
    "title": "Telegram settings",
    "content": "Connect your Telegram Bot to send and receive messages. Create a bot via @BotFather on Telegram.",
    "value": [
      {
        "type": "password",
        "id": "telegram-token",
        "title": "Bot Token",
        "content": "Your Telegram Bot API token from @BotFather."
      },
      {
        "type": "button",
        "id": "telegram-sync-btn",
        "title": "Synchronize",
        "button-text": "Synchronize now",
        "button-url": "#"
      },
      {
        "type": "button",
        "id": "telegram-config-url-btn",
        "title": "Configuration URL",
        "button-text": "Get configuration URL",
        "button-url": "#"
      }
    ]
  },
  {
    "type": "repeater",
    "id": "telegram-additional-tokens",
    "title": "Additional bots",
    "content": "Add additional Telegram bots for different departments or use cases.",
    "items": [
      {
        "type": "text",
        "id": "telegram-additional-tokens-label",
        "name": "Label"
      },
      {
        "type": "text",
        "id": "telegram-additional-tokens-id",
        "name": "Bot ID"
      },
      {
        "type": "password",
        "id": "telegram-additional-tokens-token",
        "name": "Token"
      },
      {
        "type": "number",
        "id": "telegram-additional-tokens-department",
        "name": "Department ID"
      }
    ]
  },
  {
    "type": "checkbox",
    "id": "tg-disable-chatbot",
    "title": "Disable chatbot",
    "content": "Disable the chatbot for Telegram only."
  }
]
