{
  "manifest_version": "1.0.0",
  "template": {
    "id": "cffef021-c178-4608-95ed-845d1fca0492",
    "slug": "aOqPSI",
    "name": "Telegram Bot with Long Polling",
    "description": "Python Telegram bot using Long Polling",
    "url": "https://railway.com/deploy/aOqPSI",
    "upstream": {
      "repo_url": "https://github.com/dangos-dev/TelegramBot.LongPolling"
    }
  },
  "services": [
    {
      "name": "Telegram Bot with Long Polling",
      "source": {
        "repo": "https://github.com/dangos-dev/TelegramBot.LongPolling"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "TELEGRAM_BOT_TOKEN",
      "service": "Telegram Bot with Long Polling",
      "description": "Secret key for authenticating with the Telegram Bot API",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "aOqPSI"
      }
    },
    "cli": "railway deploy --template aOqPSI",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "cffef021-c178-4608-95ed-845d1fca0492",
            "serializedConfig": {
              "services": {
                "0b996015-630f-4f85-9d8a-8de68a79ad61": {
                  "icon": "https://www.shareicon.net/data/512x512/2015/10/04/112103_telegram_512x512.png",
                  "name": "Telegram Bot with Long Polling",
                  "source": {
                    "repo": "dangos-dev/TelegramBot.LongPolling",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "TELEGRAM_BOT_TOKEN": {
                      "isOptional": false,
                      "description": "Secret key for authenticating with the Telegram Bot API",
                      "defaultValue": "{{TELEGRAM_BOT_TOKEN}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T09:28:11.617Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_3561d9e873a64a2b9687",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ]
  }
}
