Expand description
Low-level Telegram Bot API types and methods.
This crate provides a faithful Rust port of the core Telegram Bot API layer,
including all request/response types, the Bot client, and
helper utilities. It is designed to be used directly for low-level API
access or as the foundation for the higher-level rust-tg-bot-ext framework.
Re-exports§
pub use serde_json;
Modules§
- bot
- The Telegram Bot client and API method implementations.
- bot_
builders - Builder types for constructing a
Botwith custom configuration. Builder pattern for Telegram Bot API methods. - bot_
builders_ 2 - Builder types for Admin, Forum, and Sticker API methods. Builder pattern for Admin, Forum, and Sticker Telegram Bot API methods.
- bot_
builders_ 3 - Builder types for business, payment, and gift API methods. Builder pattern for Business, Payments, and Gifts API methods.
- bot_
builders_ 4 - Builder types for editing, games, inline, media, core, stories, reactions, passport, suggested posts, user profile, and verification API methods. Builder pattern for Telegram Bot API methods – batch 4.
- constants
- Typed constants for chat types, parse modes, message entity types, etc.
- error
- Error types used throughout the crate.
- helpers
- Helper functions for common Telegram API patterns.
- request
- HTTP request abstraction layer.
- types
- All Telegram API object types (User, Chat, Message, Update, etc.).
- utils
- Utility modules for date/time handling, entity parsing, markup, and more.