Class InputMedia
- java.lang.Object
-
- org.apache.camel.component.telegram.model.InputMedia
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InputMediaAnimation,InputMediaAudio,InputMediaPhoto,InputMediaVideo
public abstract class InputMedia extends Object implements Serializable
Represents the content of a media message to be sent.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedInputMedia()protectedInputMedia(String type, String media, String caption, String parseMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCaption()StringgetMedia()StringgetParseMode()StringgetType()voidsetCaption(String caption)voidsetMedia(String media)voidsetParseMode(String parseMode)protected voidsetType(String type)
-
-
-
Method Detail
-
getType
public String getType()
-
setType
protected void setType(String type)
-
getMedia
public String getMedia()
-
setMedia
public void setMedia(String media)
-
getCaption
public String getCaption()
-
setCaption
public void setCaption(String caption)
-
getParseMode
public String getParseMode()
-
setParseMode
public void setParseMode(String parseMode)
-
-