public static class TdApi.PageBlockPhoto extends TdApi.PageBlock
TdApi.PageBlock.Constructors
Modifier and Type | Field and Description |
---|---|
TdApi.PageBlockCaption |
caption
Photo caption.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Photo |
photo
Photo file; may be null.
|
java.lang.String |
url
URL that needs to be opened when the photo is clicked.
|
Constructor and Description |
---|
PageBlockPhoto()
A photo.
|
PageBlockPhoto(TdApi.Photo photo,
TdApi.PageBlockCaption caption,
java.lang.String url)
A photo.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
@Nullable public TdApi.Photo photo
public TdApi.PageBlockCaption caption
public java.lang.String url
public static final int CONSTRUCTOR
public PageBlockPhoto()
public PageBlockPhoto(TdApi.Photo photo, TdApi.PageBlockCaption caption, java.lang.String url)
photo
- Photo file; may be null.caption
- Photo caption.url
- URL that needs to be opened when the photo is clicked.public int getConstructor()
getConstructor
in class TdApi.PageBlock