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

     1  package oidb
     2  
     3  import (
     4  	"github.com/LagrangeDev/LagrangeGo/client/packets/pb/service/oidb"
     5  	"github.com/LagrangeDev/LagrangeGo/internal/proto"
     6  )
     7  
     8  func BuildGroupSetReactionReq(groupUin, sequence uint32, code string) (*OidbPacket, error) {
     9  	body := &oidb.OidbSvcTrpcTcp0X9082_1{
    10  		GroupUin: groupUin,
    11  		Sequence: sequence,
    12  		Code:     proto.Some(code),
    13  		Field5:   true,
    14  		Field6:   false,
    15  		Field7:   false,
    16  	}
    17  	return BuildOidbPacket(0x9082, 1, body, false, true)
    18  }
    19  
    20  func ParseGroupSetReactionResp(data []byte) error {
    21  	return CheckError(data)
    22  }