public static class TdApi.InlineQueryResultArticle extends TdApi.InlineQueryResult
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
description
A short description of the result.
|
boolean |
hideUrl
True, if the URL must be not shown.
|
java.lang.String |
id
Unique identifier of the query result.
|
TdApi.Thumbnail |
thumbnail
Result thumbnail in JPEG format; may be null.
|
java.lang.String |
title
Title of the result.
|
java.lang.String |
url
URL of the result, if it exists.
|
| Constructor and Description |
|---|
InlineQueryResultArticle()
Represents a link to an article or web page.
|
InlineQueryResultArticle(java.lang.String id,
java.lang.String url,
boolean hideUrl,
java.lang.String title,
java.lang.String description,
TdApi.Thumbnail thumbnail)
Represents a link to an article or web page.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String id
public java.lang.String url
public boolean hideUrl
public java.lang.String title
public java.lang.String description
public TdApi.Thumbnail thumbnail
public static final int CONSTRUCTOR
public InlineQueryResultArticle()
public InlineQueryResultArticle(java.lang.String id,
java.lang.String url,
boolean hideUrl,
java.lang.String title,
java.lang.String description,
TdApi.Thumbnail thumbnail)
id - Unique identifier of the query result.url - URL of the result, if it exists.hideUrl - True, if the URL must be not shown.title - Title of the result.description - A short description of the result.thumbnail - Result thumbnail in JPEG format; may be null.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object