Class TdApi.LinkPreviewTypePhoto
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.LinkPreviewType
dev.voroby.springframework.telegram.client.TdApi.LinkPreviewTypePhoto
- Enclosing class:
- TdApi
The link is a link to a photo.
-
Field Summary
Modifier and TypeFieldDescriptionAuthor of the photo.static final int
Identifier uniquely determining type of the object.The photo. -
Constructor Summary
ConstructorDescriptionThe link is a link to a photo.LinkPreviewTypePhoto
(TdApi.Photo photo, String author) The link is a link to a photo. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
photo
The photo. -
author
Author of the photo. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
LinkPreviewTypePhoto
public LinkPreviewTypePhoto()The link is a link to a photo. -
LinkPreviewTypePhoto
The link is a link to a photo.- Parameters:
photo
- The photo.author
- Author of the photo.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-