Ejemplo n.º 1
0
        public override void ToStream(Stream output)
        {
            output.Write(TLUtils.SignatureToBytes(Signature));

            Url.ToStream(output);
            ThumbUrl.ToStream(output);
            ContentUrl.ToStream(output);
            ContentType.ToStream(output);
            W.ToStream(output);
            H.ToStream(output);
        }
Ejemplo n.º 2
0
        public override void ToStream(Stream output)
        {
            output.Write(TLUtils.SignatureToBytes(Signature));

            Id.ToStream(output);
            ResultId.ToStream(output);
            Type.ToStream(output);
            ThumbUrl.ToStream(output);
            ContentType.ToStream(output);
            ContentUrl.ToStream(output);
            Url.ToStream(output);
            Attributes.ToStream(output);
        }