Package com.jtelegram.api.inline.result
Class InlineResultVoice
- java.lang.Object
-
- com.jtelegram.api.inline.result.framework.InlineResult
-
- com.jtelegram.api.inline.result.InlineResultVoice
-
- All Implemented Interfaces:
InlineResult.Captioned
,InlineResult.Duratable
,InlineResult.Titled
,InlineResult.Urlable
public class InlineResultVoice extends InlineResult implements InlineResult.Urlable, InlineResult.Captioned, InlineResult.Titled, InlineResult.Duratable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InlineResultVoice.InlineResultVoiceBuilder
-
Nested classes/interfaces inherited from class com.jtelegram.api.inline.result.framework.InlineResult
InlineResult.Cached, InlineResult.Captioned, InlineResult.Describeable, InlineResult.Duratable, InlineResult.Titled, InlineResult.Urlable, InlineResult.Visual
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InlineResultVoice.InlineResultVoiceBuilder
builder()
java.lang.String
getCaption()
ParseMode
getCaptionParseMode()
java.lang.Integer
getDuration()
java.lang.String
getTitle()
java.lang.String
getUrl()
java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.inline.result.framework.InlineResult
getId, getInputMessageContent, getReplyMarkup, getType
-
-
-
-
Method Detail
-
builder
public static InlineResultVoice.InlineResultVoiceBuilder builder()
-
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interfaceInlineResult.Titled
-
getCaption
public java.lang.String getCaption()
- Specified by:
getCaption
in interfaceInlineResult.Captioned
-
getCaptionParseMode
public ParseMode getCaptionParseMode()
- Specified by:
getCaptionParseMode
in interfaceInlineResult.Captioned
-
getDuration
public java.lang.Integer getDuration()
- Specified by:
getDuration
in interfaceInlineResult.Duratable
-
getUrl
public java.lang.String getUrl()
- Specified by:
getUrl
in interfaceInlineResult.Urlable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classInlineResult
-
-