Class InputMediaPhoto
java.lang.Object
io.github.natanimn.telebof.types.input.InputMediaBuilder<InputMediaPhoto>
io.github.natanimn.telebof.types.input.InputMediaPhoto
- All Implemented Interfaces:
InputMedia
,Serializable
Pass True if the photo needs to be covered with a spoiler animation
- Since:
- 3 March 2025
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.natanimn.telebof.types.input.InputMediaBuilder
caption, captionEntities, getFiles, hasFile, parseMode
-
Constructor Details
-
InputMediaPhoto
Required- Parameters:
media
- File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), or pass an HTTP URL for Telegram to get a file from the Internet.
-
InputMediaPhoto
-
-
Method Details
-
hasSpoiler
Optional- Parameters:
has_spoiler
- Pass True if the photo needs to be covered with a spoiler animation- Returns:
InputMediaPhoto
-