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