Class InlineQueryResultCachedAudio
java.lang.Object
io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedAudio>
io.github.natanimn.telebof.types.inline.InlineQueryResultCachedAudio
- All Implemented Interfaces:
InlineQueryResult,Serializable
public class InlineQueryResultCachedAudio
extends InlineQueryMediaResult<InlineQueryResultCachedAudio>
Represents a link to an MP3 audio file stored on the Telegram servers. By default, this audio file will be sent by the user.
Alternatively, you can use
InputMessageContent to send a message with the specified content instead of the audio.- Since:
- 3 March 2025
- Author:
- Natanim
- See Also:
-
Field Summary
FieldsFields inherited from class io.github.natanimn.telebof.types.inline.InlineQueryMediaResult
thisT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.natanimn.telebof.types.inline.InlineQueryMediaResult
setCaption, setCaptionEntities, setInputMessageContent, setParseMode, setReplyMarkup
-
Field Details
-
audioFileId
-
-
Constructor Details
-
InlineQueryResultCachedAudio
Required- Parameters:
id- Unique identifier for this result, 1-64 bytesaudioFileId- A valid file identifier for the audio file
-