Class InputMediaPhoto
- java.lang.Object
-
- org.apache.camel.component.telegram.model.InputMedia
-
- org.apache.camel.component.telegram.model.InputMediaPhoto
-
- All Implemented Interfaces:
Serializable
public class InputMediaPhoto extends InputMedia
Represents a photo to be sent.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InputMediaPhoto()
InputMediaPhoto(String media, String caption, String parseMode)
BuildsInputMediaPhoto
instance.
-
Method Summary
-
Methods inherited from class org.apache.camel.component.telegram.model.InputMedia
getCaption, getMedia, getParseMode, getType, setCaption, setMedia, setParseMode, setType
-
-
-
-
Constructor Detail
-
InputMediaPhoto
public InputMediaPhoto(String media, String caption, String parseMode)
BuildsInputMediaPhoto
instance.- Parameters:
media
- File to send. Pass a file_id to send a file that exists on the Telegram servers, or pass an HTTP URL for Telegram to get a file from the Internetcaption
- Optional. Caption of the video to be sent, 0-1024 charactersparseMode
- Optional. Send 'Markdown' or 'HTML', if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
-
InputMediaPhoto
public InputMediaPhoto()
-
-