Class TdApi.PageBlockEmbedded

  • Enclosing class:
    TdApi

    public static class TdApi.PageBlockEmbedded
    extends TdApi.PageBlock
    An embedded web page.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean allowScrolling
      True, if scrolling should be allowed.
      TdApi.RichText caption
      Block caption.
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int height
      Block height.
      java.lang.String html
      HTML-markup of the embedded page.
      boolean isFullWidth
      True, if the block should be full width.
      TdApi.Photo posterPhoto
      Poster photo, if available; may be null.
      java.lang.String url
      Web page URL, if available.
      int width
      Block width.
    • Constructor Summary

      Constructors 
      Constructor Description
      PageBlockEmbedded()
      Default constructor.
      PageBlockEmbedded​(java.lang.String url, java.lang.String html, TdApi.Photo posterPhoto, int width, int height, TdApi.RichText caption, boolean isFullWidth, boolean allowScrolling)
      Constructor for initialization of all fields.
    • Field Detail

      • url

        public java.lang.String url
        Web page URL, if available.
      • html

        public java.lang.String html
        HTML-markup of the embedded page.
      • posterPhoto

        public TdApi.Photo posterPhoto
        Poster photo, if available; may be null.
      • width

        public int width
        Block width.
      • height

        public int height
        Block height.
      • isFullWidth

        public boolean isFullWidth
        True, if the block should be full width.
      • allowScrolling

        public boolean allowScrolling
        True, if scrolling should be allowed.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PageBlockEmbedded

        public PageBlockEmbedded()
        Default constructor.
      • PageBlockEmbedded

        public PageBlockEmbedded​(java.lang.String url,
                                 java.lang.String html,
                                 TdApi.Photo posterPhoto,
                                 int width,
                                 int height,
                                 TdApi.RichText caption,
                                 boolean isFullWidth,
                                 boolean allowScrolling)
        Constructor for initialization of all fields.
        Parameters:
        url - Web page URL, if available.
        html - HTML-markup of the embedded page.
        posterPhoto - Poster photo, if available; may be null.
        width - Block width.
        height - Block height.
        caption - Block caption.
        isFullWidth - True, if the block should be full width.
        allowScrolling - True, if scrolling should be allowed.