Package com.cadiducho.telegrambotapi
Class InputMedia
- java.lang.Object
-
- com.cadiducho.telegrambotapi.InputMedia
-
- Direct Known Subclasses:
InputMediaAnimation
,InputMediaAudio
,InputMediaDocument
,InputMediaPhoto
,InputMediaVideo
public abstract class InputMedia extends Object
This object represents the content of a media message to be sent. It should be one of
-
-
Constructor Summary
Constructors Constructor Description InputMedia()
-
-
-
Field Detail
-
type
protected String type
Type of the result
-
media
protected String media
File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet.
-
caption
protected String caption
Optional. Caption of the InputMedia to be sent, 0-200 characters
-
parseMode
@Json(name="parse_mode") protected ParseMode parseMode
Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
-
-