{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1fd14e30-0f93-4fb7-bbb6-b4ba376f2217",
    "slug": "telegram-gatekeeper-bot",
    "name": "Telegram Gatekeeper Bot",
    "description": "Gatekeeper bot for Telegram groups to verify users on join.",
    "url": "https://railway.com/deploy/telegram-gatekeeper-bot",
    "upstream": {
      "repo_url": "https://github.com/BigDaddyAman/Telegram-Gatekeeper-Bot"
    }
  },
  "services": [
    {
      "name": "Telegram-Gatekeeper-Bot",
      "source": {
        "repo": "https://github.com/BigDaddyAman/Telegram-Gatekeeper-Bot"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "BOT_TOKEN",
      "service": "Telegram-Gatekeeper-Bot",
      "description": "Telegram bot token from @BotFather. Bot must be added as admin to your Telegram group.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "telegram-gatekeeper-bot"
      }
    },
    "cli": "railway deploy --template telegram-gatekeeper-bot",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1fd14e30-0f93-4fb7-bbb6-b4ba376f2217",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "aedc253d-ee2a-4397-b40c-2d50cdbf0f3c": {
                  "icon": "https://devicons.railway.app/telegram",
                  "name": "Telegram-Gatekeeper-Bot",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/BigDaddyAman/Telegram-Gatekeeper-Bot",
                    "rootDirectory": null
                  },
                  "variables": {
                    "BOT_TOKEN": {
                      "isOptional": false,
                      "description": "Telegram bot token from @BotFather. Bot must be added as admin to your Telegram group.",
                      "defaultValue": "{{BOT_TOKEN}}"
                    },
                    "VERIFY_TIMEOUT": {
                      "isOptional": true,
                      "description": "Seconds before kicking unverified users. Default is 60 seconds.",
                      "defaultValue": ""
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-18T15:32:11.381Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_db4f7b0c083b4dd39af7",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ]
  }
}
