Skip to content

OpenClaw: configure production Telegram group, bot, webhook, and room policy #14

Description

@mfethe1

Parent

#10

Type

HITL - Telegram bot/group creation and Railway secrets require operator-controlled credentials.

What to build

Configure the production Telegram intake path for the Railway controller: create the private Telegram supergroup, add the bot, set Railway controller secrets, run the bootstrap utility against the controller messaging DB, and register the Telegram webhook with the secret header.

Acceptance criteria

  • A private Telegram supergroup exists for OpenClaw operators. Use a supergroup, not a broadcast channel, because command promotion depends on Telegram sender identity.
  • The Telegram bot is added to the group with permissions sufficient to receive messages.
  • Railway openclaw-controller has OPENCLAW_TELEGRAM_BOT_TOKEN configured without leaking the value.
  • Railway openclaw-controller has OPENCLAW_TELEGRAM_SECRET_TOKEN configured without leaking the value.
  • The Telegram bootstrap utility has been run against $RAILWAY_VOLUME_MOUNT_PATH/openclaw/messaging.db with the controller signing secret.
  • Telegram setWebhook points to https://openclaw-controller-production.up.railway.app/adapters/telegram/webhook and uses the configured secret token.
  • Invalid webhook secret requests are rejected.
  • A synthetic valid webhook request creates or returns a canonical OpenClaw message without duplicating records.
  • Controller /ready remains true after Telegram configuration.

Blocked by

Sandcastle notes

Do not run secret configuration through Sandcastle. If any code/docs gaps appear while doing this, create a separate AFK issue and run that in Sandcastle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageMaintainer needs to evaluate this issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions