Exemplo n.º 1
0
 public override void ToStream(Stream output)
 {
     output.Write(TLUtils.SignatureToBytes(Signature));
     NewMessages.ToStream(output);
     NewEncryptedMessages.ToStream(output);
     OtherUpdates.ToStream(output);
     Chats.ToStream(output);
     Users.ToStream(output);
     State.ToStream(output);
 }
Exemplo n.º 2
0
 public override void ToStream(Stream output)
 {
     output.Write(TLUtils.SignatureToBytes(Signature));
     Flags.ToStream(output);
     Pts.ToStream(output);
     ToStream(output, Timeout, Flags, (int)ChannelDifferenceFlags.Timeout);
     NewMessages.ToStream(output);
     OtherUpdates.ToStream(output);
     Chats.ToStream(output);
     Users.ToStream(output);
 }