public class InputMediaPhoto extends InputMedia
| Constructor and Description |
|---|
InputMediaPhoto(java.lang.String media,
Text caption)
Constructs an input media photo.
|
InputMediaPhoto(UploadFile media,
Text caption)
Constructs an input media.
|
getCaption, getFile, getMedia, getThumbnailpublic InputMediaPhoto(java.lang.String media,
Text caption)
media - file to sendcaption - caption of the file to be sent, 0-200 characterspublic InputMediaPhoto(UploadFile media, Text caption)
media - file to sendcaption - caption of the file to be sent, 0-200 characters