Class InlineQueryResultVoice
- java.lang.Object
-
- org.apache.camel.component.telegram.model.InlineQueryResult
-
- org.apache.camel.component.telegram.model.InlineQueryResultVoice
-
public class InlineQueryResultVoice extends InlineQueryResult
Represents a link to a voice recording in an .ogg container encoded with OPUS.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InlineQueryResultVoice.Builder
-
Constructor Summary
Constructors Constructor Description InlineQueryResultVoice()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InlineQueryResultVoice.Builder
builder()
String
getCaption()
InputMessageContent
getInputMessageContext()
String
getParseMode()
String
getTitle()
Integer
getVoiceDuration()
String
getVoiceUrl()
void
setCaption(String caption)
void
setInputMessageContext(InputMessageContent inputMessageContext)
void
setParseMode(String parseMode)
void
setTitle(String title)
void
setVoiceDuration(Integer voiceDuration)
void
setVoiceUrl(String voiceUrl)
-
Methods inherited from class org.apache.camel.component.telegram.model.InlineQueryResult
getId, getReplyMarkup, getType, setId, setReplyMarkup, setType
-
-
-
-
Method Detail
-
builder
public static InlineQueryResultVoice.Builder builder()
-
getVoiceUrl
public String getVoiceUrl()
-
getVoiceDuration
public Integer getVoiceDuration()
-
getTitle
public String getTitle()
-
getCaption
public String getCaption()
-
getParseMode
public String getParseMode()
-
getInputMessageContext
public InputMessageContent getInputMessageContext()
-
setVoiceUrl
public void setVoiceUrl(String voiceUrl)
-
setVoiceDuration
public void setVoiceDuration(Integer voiceDuration)
-
setTitle
public void setTitle(String title)
-
setCaption
public void setCaption(String caption)
-
setParseMode
public void setParseMode(String parseMode)
-
setInputMessageContext
public void setInputMessageContext(InputMessageContent inputMessageContext)
-
-