Skip to content

CLI message thread create does not route to Telegram createForumTopic #54273

@gardenalpha01

Description

@gardenalpha01

Summary

openclaw message thread create --channel telegram fails with:

Error: Unsupported Telegram action: thread-create

Details

The Telegram runtime layer already has full support for topic-create / createForumTopic — the action alias is registered in TELEGRAM_ACTION_ALIASES, the handler works correctly, and it successfully creates forum topics when invoked directly via the Bot API.

However, the CLI subcommand openclaw message thread create only routes to Discord's threadCreate action. It does not dispatch to Telegram's createForumTopic when --channel telegram is specified.

Steps to Reproduce

openclaw message thread create \
  --channel telegram \
  --target "-100XXXXXXXXXX" \
  --thread-name "Test Topic" \
  --message "Hello"

Expected: Creates a forum topic in the Telegram supergroup.
Actual: Error: Unsupported Telegram action: thread-create

Workaround

Calling the Telegram Bot API directly (createForumTopic) works fine. The runtime-level topic-create action is fully functional — it's just the CLI entry point that's missing the Telegram routing.

Environment

  • OpenClaw version: 2026.3.23-2
  • OS: macOS (arm64)
  • Node: v22.22.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions