Class TdApi.PageBlockEmbeddedPost

  • Enclosing class:
    TdApi

    public static class TdApi.PageBlockEmbeddedPost
    extends TdApi.PageBlock
    An embedded post.
    • Field Detail

      • url

        public java.lang.String url
        Web page URL.
      • author

        public java.lang.String author
        Post author.
      • authorPhoto

        public TdApi.Photo authorPhoto
        Post author photo.
      • date

        public int date
        Point in time (Unix timestamp) when the post was created; 0 if unknown.
      • CONSTRUCTOR

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

      • PageBlockEmbeddedPost

        public PageBlockEmbeddedPost()
        Default constructor.
      • PageBlockEmbeddedPost

        public PageBlockEmbeddedPost​(java.lang.String url,
                                     java.lang.String author,
                                     TdApi.Photo authorPhoto,
                                     int date,
                                     TdApi.PageBlock[] pageBlocks,
                                     TdApi.RichText caption)
        Constructor for initialization of all fields.
        Parameters:
        url - Web page URL.
        author - Post author.
        authorPhoto - Post author photo.
        date - Point in time (Unix timestamp) when the post was created; 0 if unknown.
        pageBlocks - Post content.
        caption - Post caption.