public List<ChatPendingGroupMember> recv_getGroupHistory()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   getGroupHistory_result result = new getGroupHistory_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.success) {
     return result.Success;
   }
   if (result.__isset.ex) {
     throw result.Ex;
   }
   if (result.__isset.se) {
     throw result.Se;
   }
   throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "getGroupHistory failed: unknown result");
 }
 public void getGroupHistory_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getGroupHistory_args args = new getGroupHistory_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getGroupHistory_result result = new getGroupHistory_result();
   try {
     result.Success = iface_.getGroupHistory(args.UserId, args.GroupId, args.Session);
   } catch (ChatGroupException ex) {
     result.Ex = ex;
   } catch (SessionException se) {
     result.Se = se;
   }
   oprot.WriteMessageBegin(new TMessage("getGroupHistory", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }