Skip to main content

wechat_agent_rs/
lib.rs

1/// HTTP client for the `WeChat` iLink Bot API.
2pub mod api;
3/// Login and startup orchestration.
4pub mod bot;
5/// Error types used throughout the SDK.
6pub mod errors;
7/// Media upload, download, and AES encryption utilities.
8pub mod media;
9/// Data models for chat requests, responses, and agent traits.
10pub mod models;
11/// Long-polling message loop and message processing.
12pub mod runtime;
13/// Local filesystem persistence for account credentials and state.
14pub mod storage;
15
16pub use bot::{login, start};
17pub use errors::{Error, Result};
18pub use models::{
19    Agent, ChatRequest, ChatResponse, IncomingMedia, LoginOptions, MediaType, OutgoingMedia,
20    OutgoingMediaType, StartOptions,
21};