← Back to Plugins
Channels

Reclaw Telegram

aint-no-code By aint-no-code 👁 20 views ▲ 0 votes

Telegram webhook adapter plugin crate for Reclaw Core, compatible with OpenClaw-style channel ingress.

GitHub

README

# reclaw-telegram

Telegram webhook adapter plugin crate for [Reclaw Core](https://github.com/aint-no-code/reclaw-core), compatible with OpenClaw-style channel ingress.

## Features

- Registers a `telegram` channel webhook adapter into `ChannelWebhookRegistry`
- Verifies Telegram webhook secrets via `x-telegram-bot-api-secret-token`
- Ingests Telegram updates into Reclaw runtime sessions
- Uses config-backed dedupe keys for idempotency (`runtime/telegram/update/<update_id>`)
- Optionally sends generated replies back to Telegram Bot API

## Usage

```rust
use reclaw_core::interfaces::webhooks::ChannelWebhookRegistry;
use reclaw_telegram::telegram_adapter;

let mut registry = ChannelWebhookRegistry::default();
registry.register(telegram_adapter());
```

## Quality gates

```bash
cargo fmt --all
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo test --workspace --all-features
```
channels

Comments

Sign in to leave a comment

Loading comments...