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 SummaryConstructors
- 
Method SummaryMethods inherited from class io.github.natanimn.telebof.types.input.InputMediaBuildercaption, captionEntities, getFiles, hasFile, parseMode
- 
Constructor Details- 
InputMediaPhotoRequired- 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- 
hasSpoilerOptional- Parameters:
- has_spoiler- Pass True if the photo needs to be covered with a spoiler animation
- Returns:
- InputMediaPhoto
 
 
-