Class InlineQueryResultCachedVoice
- java.lang.Object
-
- org.apache.camel.component.telegram.model.InlineQueryResult
-
- org.apache.camel.component.telegram.model.InlineQueryResultCachedVoice
-
public class InlineQueryResultCachedVoice extends InlineQueryResult
Represents a link to a voice message stored on the Telegram servers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InlineQueryResultCachedVoice.Builder
-
Constructor Summary
Constructors Constructor Description InlineQueryResultCachedVoice()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InlineQueryResultCachedVoice.Builder
builder()
String
getCaption()
InputMessageContent
getInputMessageContext()
String
getParseMode()
String
getTitle()
String
getVoiceFileId()
void
setCaption(String caption)
void
setInputMessageContext(InputMessageContent inputMessageContext)
void
setParseMode(String parseMode)
void
setTitle(String title)
void
setVoiceFileId(String voiceFileId)
-
Methods inherited from class org.apache.camel.component.telegram.model.InlineQueryResult
getId, getReplyMarkup, getType, setId, setReplyMarkup, setType
-
-
-
-
Method Detail
-
builder
public static InlineQueryResultCachedVoice.Builder builder()
-
getTitle
public String getTitle()
-
getCaption
public String getCaption()
-
getParseMode
public String getParseMode()
-
getInputMessageContext
public InputMessageContent getInputMessageContext()
-
getVoiceFileId
public String getVoiceFileId()
-
setVoiceFileId
public void setVoiceFileId(String voiceFileId)
-
setTitle
public void setTitle(String title)
-
setCaption
public void setCaption(String caption)
-
setParseMode
public void setParseMode(String parseMode)
-
setInputMessageContext
public void setInputMessageContext(InputMessageContent inputMessageContext)
-
-