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