hot.dev/telegram — Telegram Bot API bindings for Hot. Send text, media, albums, and polls (with multipart uploads from Bytes), download files, react, answer callback and inline queries, manage chats and bot commands, receive updates by webhook or polling, and verify webhook secret tokens. Typed errors carry retry_after.
Add to your project
"hot.dev/telegram": "1.1.0"
Add this to your deps in hot.hot
Namespaces
::telegram
| Namespace | Functions | Types | Description |
|---|---|---|---|
::api | 17 | 3 | Transport for the Telegram Bot API: JSON and multipart requests, the |
::bot | 10 | 9 | getMe - Get basic information about the bot. |
::chat | 20 | 20 | getChat - Get information about a chat. |
::core | 0 | — | |
::files | 2 | 1 | getFile - Resolve a `file_id` (from a message's `photo`, `document`, `voice`, ...) to a downloadable `file_path`. |
::messages | 24 | 24 | sendMessage - Send a text message to a chat. |
::updates | 5 | 3 | setWebhook - Register a URL to receive incoming updates via webhook. |