2 releases
0.1.1 | May 14, 2020 |
---|---|
0.1.0 | May 2, 2020 |
#550 in HTTP client
39KB
917 lines
mirai-rs
A mirai-client implemented in Rust.
Usage
Add following code in your Cargo.toml
.
mirai_rs = "0.1.1"
The mirai-api-http version which current supports: 1.7.0
mirai_rs is still unstable, so we recommend you use the newest version that avoid some bugs (and get more new bugs).
More information
lib.rs
:
mirai is a protocol library for Tencent QQ, you can use it to write a QQ Bot or other thing.
mirai-rs is a library that base on mirai-api-http server, you may should set up a mirai-api-http server first.
First, you need to make a connection to the server, please see: [mod session].
After authorization and verification, you can use [mod message] to receive and send messages.
Have a good time!
Dependencies
~7–11MB
~202K SLoC