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 protected
InputMedia()
protected
InputMedia(String type, String media, String caption, String parseMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCaption()
String
getMedia()
String
getParseMode()
String
getType()
void
setCaption(String caption)
void
setMedia(String media)
void
setParseMode(String parseMode)
protected void
setType(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)
-
-