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