Package org.drinkless.tdlib
Class TdApi.PageBlockRelatedArticle
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.PageBlockRelatedArticle
-
- Enclosing class:
- TdApi
public static class TdApi.PageBlockRelatedArticle extends TdApi.Object
Contains information about a related article.
-
-
Field Summary
Fields Modifier and Type Field Description StringauthorArticle author; may be empty.static intCONSTRUCTORIdentifier uniquely determining type of the object.StringdescriptionArticle description; may be empty.TdApi.PhotophotoArticle photo; may be null.intpublishDatePoint in time (Unix timestamp) when the article was published; 0 if unknown.StringtitleArticle title; may be empty.StringurlRelated article URL.
-
Constructor Summary
Constructors Constructor Description PageBlockRelatedArticle()Contains information about a related article.PageBlockRelatedArticle(String url, String title, String description, TdApi.Photo photo, String author, int publishDate)Contains information about a related article.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
url
public String url
Related article URL.
-
title
public String title
Article title; may be empty.
-
description
public String description
Article description; may be empty.
-
photo
public TdApi.Photo photo
Article photo; may be null.
-
author
public String author
Article author; may be empty.
-
publishDate
public int publishDate
Point in time (Unix timestamp) when the article was published; 0 if unknown.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PageBlockRelatedArticle
public PageBlockRelatedArticle()
Contains information about a related article.
-
PageBlockRelatedArticle
public PageBlockRelatedArticle(String url, String title, String description, TdApi.Photo photo, String author, int publishDate)
Contains information about a related article.- Parameters:
url- Related article URL.title- Article title; may be empty.description- Article description; may be empty.photo- Article photo; may be null.author- Article author; may be empty.publishDate- Point in time (Unix timestamp) when the article was published; 0 if unknown.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-