Expand description
Platform adapter trait and supporting types.
Platform crates (e.g. robit-qq) implement PlatformAdapter to bridge
a chat platform’s connection, message sending, and event receiving into
the platform-agnostic ChatbotManager.
Structs§
- Chat
Message - A parsed chat message from the platform.
- Markdown
Features - Supported Markdown features for a platform.
- Media
Attachment - A media attachment (image, file, etc.) received from the platform.
- Platform
Caps - Capabilities that vary by platform.
- Send
Result - Result of sending a message.
- Sender
Info - Sender information extracted from a platform event.
- Upload
Result - Result of uploading a file to the platform.
Enums§
- Chat
Type - Platform
Event - Platform events that
ChatbotManagerprocesses.
Traits§
- Platform
Adapter - The trait every chat platform must implement.