{
  "manifest_version": "1.0.0",
  "template": {
    "id": "05467978-a4ec-4b7b-9ee8-7d4d86ea08f5",
    "slug": "railway-telegram-gateway",
    "name": "Telegram Gateway",
    "description": "Multi-bot Telegram webhook gateway with WebSocket event streaming",
    "url": "https://railway.com/deploy/railway-telegram-gateway",
    "upstream": {
      "repo_url": "https://github.com/INAPP-Mobile/railway-telegram-gateway"
    }
  },
  "services": [
    {
      "name": "railway-telegram-gateway",
      "source": {
        "repo": "https://github.com/INAPP-Mobile/railway-telegram-gateway"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "railway-telegram-gateway"
      }
    },
    "cli": "railway deploy --template railway-telegram-gateway",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "05467978-a4ec-4b7b-9ee8-7d4d86ea08f5",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1cace0b4-9ad9-41ea-b47d-660fb5d46c05": {
                  "icon": null,
                  "name": "railway-telegram-gateway",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/INAPP-Mobile/railway-telegram-gateway",
                    "rootDirectory": null
                  },
                  "variables": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-22T19:33:39.980Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_3ba16d231bcd4b9d92cd",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 161,
    "typical_build_seconds": 31,
    "typical_start_seconds": 0,
    "slowest_service": "railway-telegram-gateway"
  }
}
