github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/packets/oidb/GroupSetSpecialTitle.go (about) 1 package oidb 2 3 import ( 4 "github.com/LagrangeDev/LagrangeGo/client/packets/pb/service/oidb" 5 ) 6 7 func BuildGroupSetSpecialTitleReq(groupUin uint32, uid, title string) (*OidbPacket, error) { 8 body := &oidb.OidbSvcTrpcTcp0X8FC{ 9 GroupUin: groupUin, 10 Body: &oidb.OidbSvcTrpcTcp0X8FCBody{ 11 TargetUid: uid, 12 SpecialTitle: title, 13 SpecialTitleExpireTime: -1, 14 UinName: title, 15 }, 16 } 17 return BuildOidbPacket(0x8FC, 2, body, false, false) 18 } 19 20 func ParseGroupSetSpecialTitleResp(data []byte) error { 21 return CheckError(data) 22 }