Class SendPhoto
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<SendPhoto, Message>
io.github.natanimn.telebof.requests.send.SendBuilder<SendPhoto, Message>
io.github.natanimn.telebof.requests.send.SendPhoto
SendPhoto class. Returns
Message
on success.- Since:
- 3 March 2025
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptionalcaptionEntities
(MessageEntity[] caption_entities) OptionalhasSpoiler
(boolean has_spoiler) OptionalshowCaptionAboveMedia
(boolean show_caption_above_media) OptionalMethods inherited from class io.github.natanimn.telebof.requests.send.SendBuilder
allowPaidBroadcast, businessConnectionId, disableNotification, disableWebPagePreview, messageEffectId, messageThreadId, parseMode, protectContent, replyMarkup, replyParameters
Methods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
SendPhoto
-
SendPhoto
-
-
Method Details
-
caption
-
captionEntities
Optional- Parameters:
caption_entities
- A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode- Returns:
SendPhoto
-
hasSpoiler
-
showCaptionAboveMedia
-