Commit Graph

1 Commits

Author SHA1 Message Date
Daan
061886fd6d feat(telegram): add forum topic management actions
Add support for creating, editing, closing, reopening, and deleting
Telegram forum topics via the message tool and CLI.

New actions:
- thread-create: Create a new forum topic
- thread-edit: Edit topic name/icon
- thread-close: Close a topic
- thread-reopen: Reopen a closed topic
- thread-delete: Delete a topic and all messages

CLI commands:
- clawdbot message thread create --channel telegram --target <chat_id> --thread-name <name>
- clawdbot message thread edit --channel telegram --target <chat_id> --thread-id <id> --thread-name <name>
- clawdbot message thread close --channel telegram --target <chat_id> --thread-id <id>
- clawdbot message thread reopen --channel telegram --target <chat_id> --thread-id <id>
- clawdbot message thread delete --channel telegram --target <chat_id> --thread-id <id>

Configuration:
Enable with channels.telegram.actions.forumTopics: true

The bot must be an administrator with can_manage_topics permission.

Closes #XXXX
2026-01-27 23:45:30 +01:00