Re-exports§
pub use action::ChatAction;pub use action::ChatActionGuard;pub use action::ChatActionSender;
Modules§
Structs§
- BotBuilder
- Builder for constructing bots with handlers
- BotHandle
- Handle to control a running bot
- Button
Id - Button/callback ID extractor
- Channel
- Channel information extractor
- Command
Args - Command arguments extractor (Telegram-style string args)
- Command
Name - Command name extractor
- Context
- Context for handling bot events
- File
Response - File response data
- Message
Content - Message content extractor
- Response
- Unified bot response builder
- Typing
- Typing indicator extractor
- User
- User information extractor
Enums§
- BotError
- Main error type for bot operations
- Handler
Pattern - Option
Value - Command option value
Traits§
- Bot
- Unified Bot trait that hides connection mode differences
- Context
Data - Trait implemented by platform-specific context data
- From
Context - Trait for extracting typed data from bot context
- Handler
- Trait for bot event handlers
- Into
Handler - Trait to convert functions into handlers
- Into
Response - Trait for converting types into bot responses
Type Aliases§
- Boxed
Handler - Boxed handler for storage