@@ -287,7 +287,9 @@ class PBGetGrpMemberInfoReq(ProtoStruct):
287287 next_key : Optional [bytes ] = proto_field (15 , default = None ) # base64(pb)
288288
289289 @classmethod
290- def build (cls , grp_id : int , uid = "" , next_key : Optional [str ] = None ) -> "PBGetGrpMemberInfoReq" :
290+ def build (
291+ cls , grp_id : int , uid = "" , next_key : Optional [str ] = None
292+ ) -> "PBGetGrpMemberInfoReq" :
291293 assert not (uid and next_key ), "invalid arguments"
292294 if uid :
293295 account = AccountInfo (uid = uid )
@@ -434,3 +436,34 @@ class GetInfoRspBody(ProtoStruct):
434436
435437class GetInfoFromUidRsp (ProtoStruct ):
436438 body : list [GetInfoRspBody ] = proto_field (1 )
439+
440+
441+ class Oidb88D0Args (ProtoStruct ):
442+ seq : Optional [int ] = proto_field (22 , default = None )
443+
444+
445+ class GetGrpLastSeqReqBody (ProtoStruct ):
446+ grp_id : int = proto_field (1 )
447+ args : Oidb88D0Args = proto_field (2 , default = Oidb88D0Args (seq = 0 ))
448+
449+
450+ class PBGetGrpLastSeq (ProtoStruct ):
451+ apk_sub_id : int = proto_field (1 )
452+ body : GetGrpLastSeqReqBody = proto_field (2 )
453+
454+ @classmethod
455+ def build (cls , apk_subid : int , grp_id : int ) -> "PBGetGrpLastSeq" :
456+ return cls (
457+ apk_sub_id = apk_subid ,
458+ body = GetGrpLastSeqReqBody (grp_id = grp_id ),
459+ )
460+
461+
462+ class GetGrpLastSeqRspBody (ProtoStruct ):
463+ grp_id : int = proto_field (1 )
464+ # f2: int = proto_field(2) # 0
465+ args : Oidb88D0Args = proto_field (3 )
466+
467+
468+ class GetGrpLastSeqRsp (ProtoStruct ):
469+ body : GetGrpLastSeqRspBody = proto_field (1 )
0 commit comments