public static class InlineQueryResultCachedSticker.InlineQueryResultCachedStickerBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
InlineQueryResultCachedSticker |
build()
Builds the InlineQueryResultCachedSticker object
|
InlineQueryResultCachedSticker.InlineQueryResultCachedStickerBuilder |
id(String id)
*Optional*
Sets the ID to the provided value.
|
InlineQueryResultCachedSticker.InlineQueryResultCachedStickerBuilder |
inputMessageContent(InputMessageContent inputMessageContent)
*Optional*
Sets the content you want to be sent with this result to the provided InputMessageContent object
|
InlineQueryResultCachedSticker.InlineQueryResultCachedStickerBuilder |
replyMarkup(InlineReplyMarkup replyMarkup)
*Optional*
Sets the inline keyboard attached to this message to the InlineReplyMarkup provided
|
InlineQueryResultCachedSticker.InlineQueryResultCachedStickerBuilder |
stickerFileId(String stickerFileId)
*Required*
Sets the ID of the cached sticker file on the telegram servers that you want this result to use
|
public InlineQueryResultCachedSticker.InlineQueryResultCachedStickerBuilder id(String id)
id - The ID you want the result to havepublic InlineQueryResultCachedSticker.InlineQueryResultCachedStickerBuilder stickerFileId(String stickerFileId)
stickerFileId - The ID of the cached sticker file you want to use from the telegram serverspublic InlineQueryResultCachedSticker.InlineQueryResultCachedStickerBuilder replyMarkup(InlineReplyMarkup replyMarkup)
replyMarkup - The inline keyboard you want to attach to the messagepublic InlineQueryResultCachedSticker.InlineQueryResultCachedStickerBuilder inputMessageContent(InputMessageContent inputMessageContent)
inputMessageContent - The content you want to be sent with the resultpublic InlineQueryResultCachedSticker build()
Copyright © 2017. All rights reserved.