This package contains example bots built with React Telegram.
- Basic Bot: Simple bot demonstrating core features
- Echo Bot: Responds to user messages
- Keyboard Bot: Shows how to use inline and reply keyboards
- Media Bot: Demonstrates sending photos, documents, and other media
- Advanced Bot: Complex bot with state management and multiple features
-
Set up your environment variables:
API_ID=your_api_id API_HASH=your_api_hash BOT_TOKEN=your_bot_token
-
Install dependencies:
bun install
-
Run an example:
bun run examples/basic-bot.tsx
See the main documentation for detailed guides and API reference.