public static class TdApi.PageBlockEmbeddedPost extends TdApi.PageBlock
TdApi.PageBlock.Constructors
Modifier and Type | Field and Description |
---|---|
java.lang.String |
author
Post author.
|
TdApi.Photo |
authorPhoto
Post author photo; may be null.
|
TdApi.PageBlockCaption |
caption
Post caption.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
date
Point in time (Unix timestamp) when the post was created; 0 if unknown.
|
TdApi.PageBlock[] |
pageBlocks
Post content.
|
java.lang.String |
url
Web page URL.
|
Constructor and Description |
---|
PageBlockEmbeddedPost()
An embedded post.
|
PageBlockEmbeddedPost(java.lang.String url,
java.lang.String author,
TdApi.Photo authorPhoto,
int date,
TdApi.PageBlock[] pageBlocks,
TdApi.PageBlockCaption caption)
An embedded post.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String url
public java.lang.String author
@Nullable public TdApi.Photo authorPhoto
public int date
public TdApi.PageBlock[] pageBlocks
public TdApi.PageBlockCaption caption
public static final int CONSTRUCTOR
public PageBlockEmbeddedPost()
public PageBlockEmbeddedPost(java.lang.String url, java.lang.String author, TdApi.Photo authorPhoto, int date, TdApi.PageBlock[] pageBlocks, TdApi.PageBlockCaption caption)
url
- Web page URL.author
- Post author.authorPhoto
- Post author photo; may be null.date
- Point in time (Unix timestamp) when the post was created; 0 if unknown.pageBlocks
- Post content.caption
- Post caption.public int getConstructor()
getConstructor
in class TdApi.PageBlock