public static class InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
InlineQueryResultMpeg4Gif |
build()
Builds the InlineQueryResultMpeg4Gif object
|
InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder |
caption(String caption)
*Optional*
Sets the caption to the provided value.
|
InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder |
id(String id)
*Optional*
Sets the ID to the provided value.
|
InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder |
inputMessageContent(InputMessageContent inputMessageContent)
*Optional*
Sets the content you want to be sent with this result to the provided InputMessageContent object
|
InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder |
mpeg4Height(int mpeg4Height)
*Optional*
Sets the height of the mpeg4gif for the result
|
InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder |
mpeg4Url(URL mpeg4Url)
*Required*
Sets the URL of the mpeg4gif for the result
|
InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder |
mpeg4Width(int mpeg4Width)
*Optional*
Sets the width of the mpeg4gif for the result
|
InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder |
replyMarkup(InlineReplyMarkup replyMarkup)
*Optional*
Sets the inline keyboard attached to this message to the InlineReplyMarkup provided
|
InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder |
thumbUrl(URL thumbUrl)
*Required*
Sets the URL of the thumbnail that should show next to the result in the inline result selection pane
|
InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder |
title(String title)
*Optional*
Sets the title to the provided value
|
public InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder id(String id)
id - The ID you want the result to havepublic InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder mpeg4Url(URL mpeg4Url)
mpeg4Url - The URL of the mpeg4gif for the resultpublic InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder mpeg4Width(int mpeg4Width)
mpeg4Width - The width of the mpeg4gifpublic InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder mpeg4Height(int mpeg4Height)
mpeg4Height - The height of the mpeg4gifpublic InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder thumbUrl(URL thumbUrl)
thumbUrl - The URL of the thumbnail you want to be shown next to the result in the result selection panepublic InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder title(String title)
title - The title you want the result to havepublic InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder caption(String caption)
caption - The caption you want the result to havepublic InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder replyMarkup(InlineReplyMarkup replyMarkup)
replyMarkup - The inline keyboard you want to attach to the messagepublic InlineQueryResultMpeg4Gif.InlineQueryResultMpeg4GifBuilder inputMessageContent(InputMessageContent inputMessageContent)
inputMessageContent - The content you want to be sent with the resultpublic InlineQueryResultMpeg4Gif build()
Copyright © 2017. All rights reserved.