Package com.jtelegram.api.inline.result
Class InlineResultDocument
- java.lang.Object
-
- com.jtelegram.api.inline.result.framework.InlineResult
-
- com.jtelegram.api.inline.result.framework.ThumbableInlineResult
-
- com.jtelegram.api.inline.result.framework.DimensionalThumbableInlineResult
-
- com.jtelegram.api.inline.result.InlineResultDocument
-
- All Implemented Interfaces:
InlineResult.Captioned
,InlineResult.Describeable
,InlineResult.Titled
,InlineResult.Urlable
public class InlineResultDocument extends DimensionalThumbableInlineResult implements InlineResult.Titled, InlineResult.Captioned, InlineResult.Describeable, InlineResult.Urlable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InlineResultDocument.InlineResultDocumentBuilder
-
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 InlineResultDocument.InlineResultDocumentBuilder
builder()
java.lang.String
getCaption()
ParseMode
getCaptionParseMode()
java.lang.String
getDescription()
java.lang.String
getMimeType()
java.lang.String
getTitle()
java.lang.String
getUrl()
java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.inline.result.framework.DimensionalThumbableInlineResult
getThumbHeight, getThumbWidth
-
Methods inherited from class com.jtelegram.api.inline.result.framework.ThumbableInlineResult
getThumbUrl
-
Methods inherited from class com.jtelegram.api.inline.result.framework.InlineResult
getId, getInputMessageContent, getReplyMarkup, getType
-
-
-
-
Method Detail
-
builder
public static InlineResultDocument.InlineResultDocumentBuilder 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
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceInlineResult.Describeable
-
getMimeType
public java.lang.String getMimeType()
-
getUrl
public java.lang.String getUrl()
- Specified by:
getUrl
in interfaceInlineResult.Urlable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classDimensionalThumbableInlineResult
-
-