Class InputMediaPhoto
- java.lang.Object
-
- com.pengrad.telegrambot.model.request.InputMedia<InputMediaPhoto>
-
- com.pengrad.telegrambot.model.request.InputMediaPhoto
-
- All Implemented Interfaces:
java.io.Serializable
public class InputMediaPhoto extends InputMedia<InputMediaPhoto> implements java.io.Serializable
Stas Parshin 23 November 2017- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InputMediaPhoto(byte[] media)
InputMediaPhoto(java.io.File media)
InputMediaPhoto(java.lang.String media)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContentType()
java.lang.String
getDefaultFileName()
-
Methods inherited from class com.pengrad.telegrambot.model.request.InputMedia
caption, captionEntities, getAttachments, getFileName, parseMode, thumb, thumb
-
-
-
-
Method Detail
-
getDefaultFileName
public java.lang.String getDefaultFileName()
- Specified by:
getDefaultFileName
in classInputMedia<InputMediaPhoto>
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in classInputMedia<InputMediaPhoto>
-
-