diff --git a/client/group_info.go b/client/group_info.go index de7345ba..68b0e739 100644 --- a/client/group_info.go +++ b/client/group_info.go @@ -19,14 +19,6 @@ import ( type ( GroupInfo struct { - Uin int64 - Code int64 - Name string - Memo string - OwnerUin int64 - MemberCount uint16 - MaxMemberCount uint16 - Members []*GroupMemberInfo Uin int64 Code int64 Name string @@ -248,16 +240,6 @@ func decodeGroupInfoResponse(c *QQClient, _ *incomingPacketInfo, payload []byte) return nil, errors.New("group info not found") } return &GroupInfo{ - Uin: int64(*info.GroupInfo.GroupUin), - Code: int64(*info.GroupCode), - Name: string(info.GroupInfo.GroupName), - Memo: string(info.GroupInfo.GroupMemo), - OwnerUin: int64(*info.GroupInfo.GroupOwner), - MemberCount: uint16(*info.GroupInfo.GroupMemberNum), - MaxMemberCount: uint16(*info.GroupInfo.GroupMemberMaxNum), - Members: []*GroupMemberInfo{}, - LastMsgSeq: int64(info.GroupInfo.GetGroupCurMsgSeq()), - client: c, Uin: int64(*info.GroupInfo.GroupUin), Code: int64(*info.GroupCode), Name: string(info.GroupInfo.GroupName),