Package org.drinkless.tdlib
Class TdApi.InlineQueryResultArticle
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InlineQueryResult
org.drinkless.tdlib.TdApi.InlineQueryResultArticle
- Enclosing class:
- TdApi
Represents a link to an article or web page.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.A short description of the result.Unique identifier of the query result.Result thumbnail in JPEG format; may be null.Title of the result.URL of the result, if it exists. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents a link to an article or web page.InlineQueryResultArticle
(String id, String url, String title, String description, TdApi.Thumbnail thumbnail) Represents a link to an article or web page. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
id
Unique identifier of the query result. -
url
URL of the result, if it exists. -
title
Title of the result. -
description
A short description of the result. -
thumbnail
Result thumbnail in JPEG format; may be null. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InlineQueryResultArticle
public InlineQueryResultArticle()Represents a link to an article or web page. -
InlineQueryResultArticle
public InlineQueryResultArticle(String id, String url, String title, String description, TdApi.Thumbnail thumbnail) Represents a link to an article or web page.- Parameters:
id
- Unique identifier of the query result.url
- URL of the result, if it exists.title
- Title of the result.description
- A short description of the result.thumbnail
- Result thumbnail in JPEG format; may be null.
-
-
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
-