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

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