Class InputMediaDocument
java.lang.Object
io.micronaut.chatbots.telegram.api.InputMedia
io.micronaut.chatbots.telegram.api.InputMediaDocument
- Direct Known Subclasses:
InputMediaAnimation
,InputMediaAudio
,InputMediaVideo
Represents a general file to be sent.
-
Constructor Summary
-
Method Summary
Methods inherited from class io.micronaut.chatbots.telegram.api.InputMedia
getCaption, getCaptionEntities, getMedia, getParseMode, getType, setCaption, setCaptionEntities, setMedia, setParseMode, setType
-
Constructor Details
-
InputMediaDocument
public InputMediaDocument() -
InputMediaDocument
-
-
Method Details
-
getThumb
- Returns:
- Thumbnail of the file sent
-
setThumb
- Parameters:
thumb
- Thumbnail of the file sent
-
getDisableContentTypeDetection
- Returns:
- Disables automatic server-side content type detection for files uploaded using multipart/form-data. Always True, if the document is sent as part of an album.
-
setDisableContentTypeDetection
- Parameters:
disableContentTypeDetection
- Disables automatic server-side content type detection for files uploaded using multipart/form-data. Always True, if the document is sent as part of an album.
-
toString
- Overrides:
toString
in classInputMedia
-