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

     1  package oidb
     2  
     3  import (
     4  	"github.com/LagrangeDev/LagrangeGo/client/packets/pb/service/oidb"
     5  )
     6  
     7  func BuildGroupLeaveReq(groupUin uint32) (*OidbPacket, error) {
     8  	body := &oidb.OidbSvcTrpcTcp0X1097_1{GroupUin: groupUin}
     9  	return BuildOidbPacket(0x1097, 1, body, false, false)
    10  }
    11  
    12  func ParseGroupLeaveResp(data []byte) error {
    13  	return CheckError(data)
    14  }