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

     1  package oidb
     2  
     3  import (
     4  	"github.com/LagrangeDev/LagrangeGo/client/packets/pb/service/oidb"
     5  )
     6  
     7  func BuildGroupRenameMemberReq(groupUin uint32, uid, name string) (*OidbPacket, error) {
     8  	body := &oidb.OidbSvcTrpcTcp0X8FC{
     9  		GroupUin: groupUin,
    10  		Body: &oidb.OidbSvcTrpcTcp0X8FCBody{
    11  			TargetUid:  uid,
    12  			TargetName: name,
    13  		},
    14  	}
    15  	return BuildOidbPacket(0x8FC, 3, body, false, false)
    16  }
    17  
    18  func ParseGroupRenameMemberResp(data []byte) error {
    19  	return CheckError(data)
    20  }