Expand description
DingTalk SDK and bot framework.
The crate keeps the public surface small:
DingTalkis the SDK entry point.webhooksends custom robot and session webhook messages when thewebhookfeature is enabled.botroutes incoming robot events when thebotfeature is enabled.streamruns enterprise application robots over DingTalk Stream when thestreamfeature is enabled.
Modules§
- auth
- Authentication credentials and token cache helpers.
- bot
- Bot callback routing, typed message contexts, and webhook callback verification.
- openapi
- Typed OpenAPI helpers for enterprise application robots and interactive cards.
- prelude
- Common imports for building DingTalk robot applications. Common imports for DingTalk bot applications.
- types
- Public type re-exports grouped by capability.
- webhook
- Custom robot and session webhook message sender.
Structs§
- Body
Snippet Config - Controls whether response snippets are retained on DingTalk API errors.
- Ding
Talk - Main SDK entry point.
- Ding
Talk Builder - Builder for
DingTalk. - Retry
Policy - Retry policy covering attempts, backoff, and retryable failure classes.
Enums§
- Client
Profile - Preset transport defaults tuned for common SDK traffic patterns.
- Error
- Unified SDK error.
- Error
Kind - Stable high-level error category.
Type Aliases§
Attribute Macros§
- handler
- Declares a DingTalk bot handler and generates a
<function>_routehelper.