Class InputPaidMediaPhoto
java.lang.Object
io.github.natanimn.telebof.types.input.InputPaidMediaPhoto
- All Implemented Interfaces:
- InputMedia,- InputPaidMedia,- Serializable
The paid media to send is a photo.
- Since:
- 3 March 2025
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionInputPaidMediaPhoto(File media) RequiredInputPaidMediaPhoto(String media) Required
- 
Method Summary
- 
Constructor Details- 
InputPaidMediaPhotoRequired- 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.
 
- 
InputPaidMediaPhoto
 
- 
- 
Method Details- 
getFilesUsed only for internal purpose- Specified by:
- getFilesin interface- InputMedia
- Returns:
- list of file
 
- 
hasFilepublic boolean hasFile()Used only for internal purpose- Specified by:
- hasFilein interface- InputMedia
- Returns:
- boolean
 
 
-