Skip to content

feat: telegram channel via grammy (#44 step 4) - #53

Merged
melvincarvalho merged 1 commit into
gh-pagesfrom
issue-44-telegram
Jun 11, 2026
Merged

melvincarvalho merged 1 commit into
gh-pagesfrom
issue-44-telegram

Conversation

@melvincarvalho

Copy link
Copy Markdown
Contributor

Final step of #44's agreed sequence. channels.telegram joins the registry: openclaw field names (botToken, allowFrom with chat ids or @usernames, dmPolicy, enabled), grammy doing the Bot API work (jsclaw's first npm dependency — decided in discussion, badge updated to 1), routed through bindings like every channel. Offline-tested via grammy's handleUpdate with injected botInfo (allowlist filtering, message mapping, token validation). Tests 136/136. PoC scope: long-polling only; webhooks/groups/media per openclaw's fuller schema deferred.

Registry entry #2: channels.telegram {botToken, allowFrom, dmPolicy,
enabled} matching openclaw's field names; grammy long-polling,
allowFrom takes chat ids or @usernames, replies via sendMessage.
First (and only) npm dependency — badge and intro updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant