Metadata-Version: 2.4
Name: bazaar-contrib-telegram
Version: 0.3.0rc5
Summary: Telegram Channel provider for Bazaar Compute Node
License-Expression: Apache-2.0
License-File: LICENSE
Requires-Dist: bazaar-core~=0.3.0rc10
Requires-Dist: bazaar-contrib-audit~=0.3.0rc10
Requires-Dist: bazaar-contrib-channel~=0.3.0rc19
Requires-Dist: bazaar-contrib-harness~=0.3.0rc10
Requires-Dist: bazaar-contrib-timer~=0.3.0rc10
Requires-Dist: aiohttp>=3.12.0
Requires-Dist: pydantic>=2.12.0
Requires-Python: >=3.15
Project-URL: Repository, https://github.com/open-bazaar/contrib-telegram
Description-Content-Type: text/markdown

# bazaar-contrib-telegram

Telegram Channel provider for [Bazaar Compute Node](https://github.com/yuchanns/bazaar-compute-node).

## Setup

Create a Telegram bot with BotFather, then install BCN and this provider:

```sh
uv tool install bazaar-compute-node
bcn contrib add telegram --enable
```

Add an agent using an installed Harness provider:

```sh
bcn agent add --name Editor --channel telegram --harness HARNESS_KIND
bcn run
```

## Configuration

Set either field in the agent's `telegram` Channel configuration:

- `token_env`: Environment variable holding the Telegram bot token.
- `token`: Bot token supplied directly by the configer; takes precedence.
