Class SendAudio
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<SendAudio, Message>
io.github.natanimn.telebof.requests.send.SendBuilder<SendAudio, Message>
io.github.natanimn.telebof.requests.send.SendAudio
SendAudio class. Returns
Message
on success- Since:
- 3 March 2025
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptionalcaptionEntities
(MessageEntity[] caption_entities) Optionalduration
(int duration) OptionalOptionalOptionalOptionalOptionalMethods 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
-
SendAudio
-
SendAudio
-
-
Method Details
-
caption
-
captionEntities
Optional- Parameters:
caption_entities
- A list of special entities that appear in the caption, which can be specified instead of parse_mode- Returns:
SendAudio
-
duration
-
performer
-
title
-
thumbnail
Optional- Parameters:
thumbnail
- Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Thumbnails can't be reused and can be only uploaded as a new file- Returns:
SendAudio
-
thumbnail
Optional- Parameters:
thumbnail
- Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail's width and height should not exceed 320. Thumbnails can't be reused and can be only uploaded as a new file- Returns:
SendAudio
-