Package com.jtelegram.api.inline.result
Class InlineResultPhoto
- java.lang.Object
-
- com.jtelegram.api.inline.result.framework.InlineResult
-
- com.jtelegram.api.inline.result.framework.ThumbableInlineResult
-
- com.jtelegram.api.inline.result.InlineResultPhoto
-
- All Implemented Interfaces:
InlineResult.Captioned
,InlineResult.Describeable
,InlineResult.Titled
,InlineResult.Visual
public class InlineResultPhoto extends ThumbableInlineResult implements InlineResult.Visual, InlineResult.Titled, InlineResult.Captioned, InlineResult.Describeable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InlineResultPhoto.InlineResultPhotoBuilder
-
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 InlineResultPhoto.InlineResultPhotoBuilder
builder()
java.lang.String
getCaption()
ParseMode
getCaptionParseMode()
java.lang.String
getDescription()
java.lang.Integer
getHeight()
java.lang.String
getTitle()
java.lang.String
getUrl()
java.lang.Integer
getWidth()
java.lang.String
toString()
-
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 InlineResultPhoto.InlineResultPhotoBuilder builder()
-
getCaption
public java.lang.String getCaption()
- Specified by:
getCaption
in interfaceInlineResult.Captioned
-
getCaptionParseMode
public ParseMode getCaptionParseMode()
- Specified by:
getCaptionParseMode
in interfaceInlineResult.Captioned
-
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interfaceInlineResult.Titled
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceInlineResult.Describeable
-
getUrl
public java.lang.String getUrl()
-
getWidth
public java.lang.Integer getWidth()
- Specified by:
getWidth
in interfaceInlineResult.Visual
-
getHeight
public java.lang.Integer getHeight()
- Specified by:
getHeight
in interfaceInlineResult.Visual
-
toString
public java.lang.String toString()
- Overrides:
toString
in classThumbableInlineResult
-
-