Registry / networking / telegram-bot

telegram-bot

JSON →
library0.8.0rscratesunverified

A library for creating Telegram bots with full API support.

# Cargo.toml [dependencies] telegram-bot = "0.8.0"
INSTALL
IMPORT
SIG · TELEGRAM-BOT
T
telegram-bot
networkingrustv0.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Api
use telegram_bot::Api;

Creates a Telegram bot API client with a token.

use telegram_bot::Api; #[tokio::main] async fn main() { let api = Api::new("YOUR_TOKEN"); println!("Bot created"); }
Debug
Known issues
gotchaRequires async runtime (tokio) for API calls.
fix
Add tokio as a dependency and use #[tokio::main] or similar runtime.
affects: >=0.8.0
Upgrade
Version history
0.8.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
OpenAI (training)
1
Resources
telegram-bot — cargo add telegram-bot · libregistry