Package com.jtelegram.api.inline.result
Class InlineResultArticle
- 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.InlineResultArticle
-
- All Implemented Interfaces:
InlineResult.Describeable
,InlineResult.Titled
,InlineResult.Urlable
public class InlineResultArticle extends DimensionalThumbableInlineResult implements InlineResult.Titled, InlineResult.Urlable, InlineResult.Describeable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InlineResultArticle.InlineResultArticleBuilder
-
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 InlineResultArticle.InlineResultArticleBuilder
builder()
java.lang.String
getDescription()
java.lang.Boolean
getHideUrl()
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 InlineResultArticle.InlineResultArticleBuilder builder()
-
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interfaceInlineResult.Titled
-
getUrl
public java.lang.String getUrl()
- Specified by:
getUrl
in interfaceInlineResult.Urlable
-
getHideUrl
public java.lang.Boolean getHideUrl()
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceInlineResult.Describeable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classDimensionalThumbableInlineResult
-
-