Expand description
§LINE Bot SDK for Rust
A Rust SDK for the LINE Messaging API.
This crate provides a high-level client (client::LINE) that wraps all LINE API modules,
along with webhook signature validation and web framework integrations.
§Quick Start
use line_bot_sdk_rust::client::LINE;
let line = LINE::new("YOUR_CHANNEL_ACCESS_TOKEN".to_string());§Feature Flags
| Feature | Description |
|---|---|
rocket_support | Enables [support::rocket::Signature] extractor for the Rocket framework |
actix_support | Enables [support::actix::Signature] extractor for the actix-web framework |
axum_support | Enables [support::axum::Signature] extractor for the axum framework |
§Modules
client- LINE API client that bundles all API modulesparser- Webhook signature validationsupport- Web framework integrations (feature-gated)
The following LINE API modules are re-exported from their respective crates:
line_messaging_api- Send messages, manage rich menus, etc.line_webhook- Webhook event types and modelsline_channel_access_token- Issue and revoke channel access tokensline_insight- Retrieve message delivery and friend statisticsline_liff- Manage LIFF appsline_manage_audience- Create and manage audiencesline_module- LINE module operationsline_module_attach- LINE module attach operationsline_shop- LINE Shop API
Re-exports§
pub use line_channel_access_token;pub use line_insight;pub use line_liff;pub use line_manage_audience;pub use line_messaging_api;pub use line_module;pub use line_module_attach;pub use line_shop;pub use line_webhook;