Exemple #1
0
        public IAsyncResult send_multiGetLastReadMessageIds(AsyncCallback callback, object state, List <string> chatIds)
        {
            oprot_.WriteMessageBegin(new TMessage("multiGetLastReadMessageIds", TMessageType.Call, seqid_));
            multiGetLastReadMessageIds_args args = new multiGetLastReadMessageIds_args();

            args.ChatIds = chatIds;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
            return(oprot_.Transport.BeginFlush(callback, state));
        }
Exemple #2
0
        public void send_multiGetLastReadMessageIds(List <string> chatIds)
        {
            oprot_.WriteMessageBegin(new TMessage("multiGetLastReadMessageIds", TMessageType.Call, seqid_));
            multiGetLastReadMessageIds_args args = new multiGetLastReadMessageIds_args();

            args.ChatIds = chatIds;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
            oprot_.Transport.Flush();
        }
Exemple #3
0
        public void send_multiGetLastReadMessageIds(List <string> chatIds)
    #endif
        {
            oprot_.WriteMessageBegin(new TMessage("multiGetLastReadMessageIds", TMessageType.Call, seqid_));
            multiGetLastReadMessageIds_args args = new multiGetLastReadMessageIds_args();

            args.ChatIds = chatIds;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
      #if SILVERLIGHT
            return(oprot_.Transport.BeginFlush(callback, state));
      #else
            oprot_.Transport.Flush();
      #endif
        }