Expand description
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!
Modules§
- common
- error
- group
- member_
list - This mod only provides a way to get a list of member (or group)
- message
- You can use [
fetch_newest_message
] (or other similar function in receive mod) to get a message from the server, or use [send_message
] (which in send mod) to send a message to someone by the server. - session
- This mod provides a way to communicate with a mirai-api-http server.