Class InlineQueryResultPhoto
- java.lang.Object
-
- org.apache.camel.component.telegram.model.InlineQueryResult
-
- org.apache.camel.component.telegram.model.InlineQueryResultPhoto
-
public class InlineQueryResultPhoto extends InlineQueryResult
Represents a link to a photo.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInlineQueryResultPhoto.Builder
-
Constructor Summary
Constructors Constructor Description InlineQueryResultPhoto()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InlineQueryResultPhoto.Builderbuilder()StringgetCaption()StringgetDescription()InputMessageContentgetInputMessageContext()StringgetParseMode()IntegergetPhotoHeight()StringgetPhotoUrl()IntegergetPhotoWidth()StringgetThumbUrl()StringgetTitle()voidsetCaption(String caption)voidsetDescription(String description)voidsetInputMessageContext(InputMessageContent inputMessageContext)voidsetParseMode(String parseMode)voidsetPhotoHeight(Integer photoHeight)voidsetPhotoUrl(String photoUrl)voidsetPhotoWidth(Integer photoWidth)voidsetThumbUrl(String thumbUrl)voidsetTitle(String title)-
Methods inherited from class org.apache.camel.component.telegram.model.InlineQueryResult
getId, getReplyMarkup, getType, setId, setReplyMarkup, setType
-
-
-
-
Method Detail
-
builder
public static InlineQueryResultPhoto.Builder builder()
-
getPhotoUrl
public String getPhotoUrl()
-
getThumbUrl
public String getThumbUrl()
-
getPhotoWidth
public Integer getPhotoWidth()
-
getPhotoHeight
public Integer getPhotoHeight()
-
getTitle
public String getTitle()
-
getDescription
public String getDescription()
-
getCaption
public String getCaption()
-
getParseMode
public String getParseMode()
-
getInputMessageContext
public InputMessageContent getInputMessageContext()
-
setPhotoUrl
public void setPhotoUrl(String photoUrl)
-
setThumbUrl
public void setThumbUrl(String thumbUrl)
-
setPhotoWidth
public void setPhotoWidth(Integer photoWidth)
-
setPhotoHeight
public void setPhotoHeight(Integer photoHeight)
-
setTitle
public void setTitle(String title)
-
setDescription
public void setDescription(String description)
-
setCaption
public void setCaption(String caption)
-
setParseMode
public void setParseMode(String parseMode)
-
setInputMessageContext
public void setInputMessageContext(InputMessageContent inputMessageContext)
-
-