public override TLObject FromStream(Stream input) { PhotoId = GetObject <TLLong>(input); Caption = GetObject <TLRichTextBase>(input); return(this); }
public override TLObject FromStream(Stream input) { Author = GetObject <TLRichTextBase>(input); PublishedDate = GetObject <TLInt>(input); return(this); }
public override TLObject FromStream(Stream input) { Items = GetObject <TLVector <TLPageBlockBase> >(input); Caption = GetObject <TLRichTextBase>(input); return(this); }
public override TLObject FromBytes(byte[] bytes, ref int position) { bytes.ThrowExceptionIfIncorrect(ref position, Signature); Text = GetObject <TLRichTextBase>(bytes, ref position); return(this); }
public override TLObject FromBytes(byte[] bytes, ref int position) { bytes.ThrowExceptionIfIncorrect(ref position, Signature); Items = GetObject <TLVector <TLPageBlockBase> >(bytes, ref position); Caption = GetObject <TLRichTextBase>(bytes, ref position); return(this); }
public override TLObject FromBytes(byte[] bytes, ref int position) { bytes.ThrowExceptionIfIncorrect(ref position, Signature); Flags = GetObject <TLInt>(bytes, ref position); VideoId = GetObject <TLLong>(bytes, ref position); Caption = GetObject <TLRichTextBase>(bytes, ref position); return(this); }
public override TLObject FromStream(Stream input) { Flags = GetObject <TLInt>(input); _url = GetObject <TLString>(Flags, (int)PageBlockEmbedFlags.Url, null, input); _html = GetObject <TLString>(Flags, (int)PageBlockEmbedFlags.Html, null, input); W = GetObject <TLInt>(input); H = GetObject <TLInt>(input); Caption = GetObject <TLRichTextBase>(input); return(this); }
public override TLObject FromStream(Stream input) { Url = GetObject <TLString>(input); WebPageId = GetObject <TLLong>(input); AuthorPhotoId = GetObject <TLLong>(input); Author = GetObject <TLString>(input); Date = GetObject <TLInt>(input); Blocks = GetObject <TLVector <TLPageBlockBase> >(input); Caption = GetObject <TLRichTextBase>(input); return(this); }
public override TLObject FromBytes(byte[] bytes, ref int position) { bytes.ThrowExceptionIfIncorrect(ref position, Signature); Flags = GetObject <TLInt>(bytes, ref position); _url = GetObject <TLString>(Flags, (int)PageBlockEmbedFlags.Url, null, bytes, ref position); _html = GetObject <TLString>(Flags, (int)PageBlockEmbedFlags.Html, null, bytes, ref position); W = GetObject <TLInt>(bytes, ref position); H = GetObject <TLInt>(bytes, ref position); Caption = GetObject <TLRichTextBase>(bytes, ref position); return(this); }
public override TLObject FromBytes(byte[] bytes, ref int position) { bytes.ThrowExceptionIfIncorrect(ref position, Signature); Url = GetObject <TLString>(bytes, ref position); WebPageId = GetObject <TLLong>(bytes, ref position); AuthorPhotoId = GetObject <TLLong>(bytes, ref position); Author = GetObject <TLString>(bytes, ref position); Date = GetObject <TLInt>(bytes, ref position); Blocks = GetObject <TLVector <TLPageBlockBase> >(bytes, ref position); Caption = GetObject <TLRichTextBase>(bytes, ref position); return(this); }
public override TLObject FromStream(Stream input) { Text = GetObject <TLRichTextBase>(input); return(this); }