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