Class InputMedia
- java.lang.Object
-
- com.jtelegram.api.message.input.media.InputMedia
-
- Direct Known Subclasses:
PhotoInputMedia
,ThumbableInputMedia
public abstract class InputMedia extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InputMedia(InputMediaType type, InputFile media, java.lang.String caption, ParseMode parseMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<InputFile>
getAllMedia()
java.lang.String
getCaption()
InputFile
getMedia()
ParseMode
getParseMode()
InputMediaType
getType()
java.lang.String
toString()
-
-
-
Constructor Detail
-
InputMedia
protected InputMedia(InputMediaType type, InputFile media, java.lang.String caption, ParseMode parseMode)
-
-
Method Detail
-
getAllMedia
public java.util.List<InputFile> getAllMedia()
-
getType
public InputMediaType getType()
-
getMedia
public InputFile getMedia()
-
getCaption
public java.lang.String getCaption()
-
getParseMode
public ParseMode getParseMode()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-