public static class TdApi.InputInlineQueryResultArticle extends TdApi.InputInlineQueryResult
TdApi.InputInlineQueryResult.Constructors
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.InputMessageContent |
inputMessageContent
The content of the message to be sent.
|
TdApi.ReplyMarkup |
replyMarkup
The message reply markup; pass null if none.
|
int |
thumbnailHeight
Thumbnail height, if known.
|
java.lang.String |
thumbnailUrl
URL of the result thumbnail, if it exists.
|
int |
thumbnailWidth
Thumbnail width, if known.
|
java.lang.String |
title
Title of the result.
|
java.lang.String |
url
URL of the result, if it exists.
|
Constructor and Description |
---|
InputInlineQueryResultArticle()
Represents a link to an article or web page.
|
InputInlineQueryResultArticle(java.lang.String id,
java.lang.String url,
boolean hideUrl,
java.lang.String title,
java.lang.String description,
java.lang.String thumbnailUrl,
int thumbnailWidth,
int thumbnailHeight,
TdApi.ReplyMarkup replyMarkup,
TdApi.InputMessageContent inputMessageContent)
Represents a link to an article or web page.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String id
public java.lang.String url
public boolean hideUrl
public java.lang.String title
public java.lang.String description
public java.lang.String thumbnailUrl
public int thumbnailWidth
public int thumbnailHeight
public TdApi.ReplyMarkup replyMarkup
public TdApi.InputMessageContent inputMessageContent
public static final int CONSTRUCTOR
public InputInlineQueryResultArticle()
public InputInlineQueryResultArticle(java.lang.String id, java.lang.String url, boolean hideUrl, java.lang.String title, java.lang.String description, java.lang.String thumbnailUrl, int thumbnailWidth, int thumbnailHeight, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)
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.thumbnailUrl
- URL of the result thumbnail, if it exists.thumbnailWidth
- Thumbnail width, if known.thumbnailHeight
- Thumbnail height, if known.replyMarkup
- The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null.inputMessageContent
- The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageInvoice, inputMessageLocation, inputMessageVenue or inputMessageContact.public int getConstructor()
getConstructor
in class TdApi.InputInlineQueryResult