예제 #1
0
 public override void ToStream(Stream output)
 {
     output.Write(TLUtils.SignatureToBytes(Signature));
     Flags.ToStream(output);
     QueryId.ToStream(output);
     ToStream(output, NextOffset, Flags, (int)BotResultsFlags.NextOffset);
     Results.ToStream(output);
 }
        public override void ToStream(Stream output)
        {
            output.Write(TLUtils.SignatureToBytes(Signature));

            Flags.ToStream(output);
            Peer.ToStream(output);
            ToStream(output, ReplyToMsgId, Flags, (int)SendFlags.ReplyToMsgId);
            RandomId.ToStream(output);
            QueryId.ToStream(output);
            Id.ToStream(output);
        }