github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/packets/oidb/GroupKickMember.go (about)

     1  package oidb
     2  
     3  import (
     4  	"github.com/LagrangeDev/LagrangeGo/client/packets/pb/service/oidb"
     5  )
     6  
     7  func BuildGroupKickMemberReq(groupUin uint32, uid string, rejectAddRequest bool) (*OidbPacket, error) {
     8  	body := &oidb.OidbSvcTrpcTcp0X8A0_1{
     9  		GroupUin:         groupUin,
    10  		TargetUid:        uid,
    11  		RejectAddRequest: rejectAddRequest,
    12  		Field5:           "",
    13  	}
    14  	return BuildOidbPacket(0x8A0, 1, body, false, false)
    15  }
    16  
    17  func ParseGroupKickMemberResp(data []byte) error {
    18  	return CheckTypedError[oidb.OidbSvcTrpcTcp0X8A0_1Response](data)
    19  }