This repository has been archived by the owner on Oct 19, 2023. It is now read-only.
v1.2.3-alpha.1
Pre-release
Pre-release
TheSnowfield
released this
03 Apr 17:33
·
70 commits
to main
since this release
Development build
- Supported receiving and approving group invite/request join messages
- Supported receiving and approving friend request messages
- Use generated code to improve the runtime performance of decoding protobuf.
- Fix parse xml chance to fail (#141)
New events
- OnGroupInvite
- OnGroupRequestJoin
- OnFriendRequest
In this version, you can easily handle the event without cast object sender
to Bot
.
for example:
// the legacy style
_bot.OnGroupMessage += (s, e) => {
var bot = (Bot)s;
bot.SendGroupMessage(e.GroupUin, "example");
}
// now you can use this as simplified
_bot.OnGroupMessage += (bot, e)
=> bot.SendGroupMessage(e.GroupUin, "example");