Ejemplo n.º 1
0
 public override void ToStream(Stream output)
 {
     output.Write(TLUtils.SignatureToBytes(Signature));
     Flags.ToStream(output);
     Caption.ToStream(output);
     ToStream(output, ReplyMarkup, Flags, (int)InputBotInlineMessageFlags.ReplyMarkup);
 }
Ejemplo n.º 2
0
 public override void ToStream(Stream output)
 {
     output.Write(TLUtils.SignatureToBytes(Signature));
     File.ToStream(output);
     Duration.ToStream(output);
     W.ToStream(output);
     H.ToStream(output);
     MimeType.ToStream(output);
     Caption.ToStream(output);
 }
Ejemplo n.º 3
0
        public override void ToStream(Stream output)
        {
            output.Write(TLUtils.SignatureToBytes(Signature));

            Flags.ToStream(output);
            ToStream(output, Url, Flags, (int)PageBlockEmbedFlags.Url);
            ToStream(output, Html, Flags, (int)PageBlockEmbedFlags.Html);
            ToStream(output, PosterPhotoId, Flags, (int)PageBlockEmbedFlags.PosterPhotoId);
            W.ToStream(output);
            H.ToStream(output);
            Caption.ToStream(output);
        }
Ejemplo n.º 4
0
 public override void ToStream(Stream output)
 {
     output.Write(TLUtils.SignatureToBytes(Signature));
     Id.ToStream(output);
     AccessHash.ToStream(output);
     UserId.ToStream(output);
     Date.ToStream(output);
     Caption.ToStream(output);
     Duration.ToStream(output);
     MimeType.ToStream(output);
     Size.ToStream(output);
     Thumb.ToStream(output);
     DCId.ToStream(output);
     W.ToStream(output);
     H.ToStream(output);
 }