From 8a5cb302c3ee9cd24aa9173a5874011f7dcd2fee Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 16 Mar 2021 20:42:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/group_info.go | 18 ------------------ 1 file changed, 18 deletions(-) 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),