public static class TdApi.InputInlineQueryResultSticker extends TdApi.InputInlineQueryResult
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
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 |
stickerHeight
Height of the sticker.
|
java.lang.String |
stickerUrl
The URL of the WEBP, TGS, or WEBM sticker (sticker file size must not exceed 5MB).
|
int |
stickerWidth
Width of the sticker.
|
java.lang.String |
thumbnailUrl
URL of the sticker thumbnail, if it exists.
|
| Constructor and Description |
|---|
InputInlineQueryResultSticker()
Represents a link to a WEBP, TGS, or WEBM sticker.
|
InputInlineQueryResultSticker(java.lang.String id,
java.lang.String thumbnailUrl,
java.lang.String stickerUrl,
int stickerWidth,
int stickerHeight,
TdApi.ReplyMarkup replyMarkup,
TdApi.InputMessageContent inputMessageContent)
Represents a link to a WEBP, TGS, or WEBM sticker.
|
| 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 thumbnailUrl
public java.lang.String stickerUrl
public int stickerWidth
public int stickerHeight
public TdApi.ReplyMarkup replyMarkup
public TdApi.InputMessageContent inputMessageContent
public static final int CONSTRUCTOR
public InputInlineQueryResultSticker()
public InputInlineQueryResultSticker(java.lang.String id,
java.lang.String thumbnailUrl,
java.lang.String stickerUrl,
int stickerWidth,
int stickerHeight,
TdApi.ReplyMarkup replyMarkup,
TdApi.InputMessageContent inputMessageContent)
id - Unique identifier of the query result.thumbnailUrl - URL of the sticker thumbnail, if it exists.stickerUrl - The URL of the WEBP, TGS, or WEBM sticker (sticker file size must not exceed 5MB).stickerWidth - Width of the sticker.stickerHeight - Height of the sticker.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, inputMessageSticker, inputMessageInvoice, inputMessageLocation, inputMessageVenue or inputMessageContact.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object