Example #1
0
 public override void ToStream(Stream output)
 {
     output.Write(TLUtils.SignatureToBytes(Signature));
     output.Write(PhotoId != null ? PhotoId.ToBytes() : new TLLong(0).ToBytes());
     PhotoSmall.ToStream(output);
     PhotoBig.ToStream(output);
 }
Example #2
0
 public override void ToStream(Stream output)
 {
     output.Write(TLUtils.SignatureToBytes(Signature));
     PhotoSmall.ToStream(output);
     PhotoBig.ToStream(output);
 }