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

     1  package oidb
     2  
     3  import (
     4  	"github.com/LagrangeDev/LagrangeGo/client/packets/pb/service/oidb"
     5  )
     6  
     7  func BuildGroupRemarkReq(groupUin uint32, mark string) (*OidbPacket, error) {
     8  	body := &oidb.OidbSvcTrpcTcp0XF16_1{
     9  		Body: &oidb.OidbSvcTrpcTcp0XF16_1Body{
    10  			GroupUin:     groupUin,
    11  			TargetRemark: mark,
    12  		},
    13  	}
    14  	return BuildOidbPacket(0xF16, 1, body, false, false)
    15  }
    16  
    17  func ParseGroupRemarkResp(data []byte) error {
    18  	return CheckError(data)
    19  }