1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-05 03:23:50 +08:00

feat: joinRequest add member Invite info

This commit is contained in:
彭崇岳 2021-05-06 09:56:26 +08:00
parent b12e45fea9
commit 38c56e521f

View File

@ -32,6 +32,8 @@ type (
RequesterNick string `json:"requester_nick"` RequesterNick string `json:"requester_nick"`
GroupCode int64 `json:"group_id"` GroupCode int64 `json:"group_id"`
GroupName string `json:"group_name"` GroupName string `json:"group_name"`
ActionUinNick string `json:"action_uin_nick"`
ActionUin int64 `json:"action_uin"`
Checked bool `json:"checked"` Checked bool `json:"checked"`
Actor int64 `json:"actor"` Actor int64 `json:"actor"`
@ -249,6 +251,8 @@ func decodeSystemMsgGroupPacket(c *QQClient, _ *incomingPacketInfo, payload []by
Actor: st.Msg.ActorUin, Actor: st.Msg.ActorUin,
Suspicious: len(st.Msg.WarningTips) > 0, Suspicious: len(st.Msg.WarningTips) > 0,
client: c, client: c,
ActionUin: st.Msg.ActionUin,
ActionUinNick: st.Msg.ActionUinQqNick,
}) })
default: default:
c.Error("unknown group message type: %v", st.Msg.GroupMsgType) c.Error("unknown group message type: %v", st.Msg.GroupMsgType)