dingtalk-stream-sdk-rust

Crates.iodingtalk-stream-sdk-rust
lib.rsdingtalk-stream-sdk-rust
version0.1.0
sourcesrc
created_at2024-02-06 13:42:26.06866
updated_at2024-02-06 13:42:26.06866
descriptionAn **UNOFFICIAL** Rust SDK focused on the development of DingTalk robots.
homepagehttps://github.com/avalon1610/dingtalk-stream-sdk-rust
repositoryhttps://github.com/avalon1610/dingtalk-stream-sdk-rust
max_upload_size
id1128901
size105,360
Raven (avalon1610)

documentation

README

dingtalk-stream-sdk-rust

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

Major Function

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)
  • Send message to specific group conversation
  • 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

Additional helper proc-macro

provide a proc-macro to make construct SampleActionCard2 ~ SampleActionCard5 more convernient. see more in action_card!

Commit count: 0

cargo fmt