This an UNOFFICIAL Rust SDK focused on the development of DingTalk robots.
USE IT ON YOUR OWN RISK
Reference to DingTalk open platform docs here
The functions included in SDK:
- Receive message from conversation between user and robot
- [
Client::register_callback_listener
] - where [
RobotRecvMessage::conversation_type
] == 1
- [
- Receive message from group conversation when robot has been @
- [
Client::register_callback_listener
] - where [
RobotRecvMessage::conversation_type
] == 2
- [
- Send various types of message to bulk users (or single user)
RobotSendMessage::single
RobotSendMessage::batch
RobotSendMessage::send
- Send message to specific group conversation
RobotSendMessage::group
RobotSendMessage::send
- Download media file user sent
- [
Client::download
]
- [
- Upload media file sent to users
- [
Client::upload
]
- [
- Create group chat
- [
Client::create_group
]
- [
See more details in examples
provide a proc-macro to make construct SampleActionCard2
~ SampleActionCard5
more convernient.
see more in action_card!