public static class TdApi.PageBlockEmbeddedPost extends TdApi.PageBlock
| 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
URL of the embedded post.
|
| 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String url
public java.lang.String author
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 - URL of the embedded post.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()
TdApi.ObjectgetConstructor in class TdApi.Object