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 Summary
ConstructorsConstructorDescriptionInputPaidMediaPhoto
(File media) RequiredInputPaidMediaPhoto
(String media) Required -
Method Summary
-
Constructor Details
-
InputPaidMediaPhoto
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.
-
InputPaidMediaPhoto
-
-
Method Details
-
getFiles
Used only for internal purpose- Specified by:
getFiles
in interfaceInputMedia
- Returns:
- list of file
-
hasFile
public boolean hasFile()Used only for internal purpose- Specified by:
hasFile
in interfaceInputMedia
- Returns:
- boolean
-