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