Class InlineQueryResultCachedAudio

java.lang.Object
io.github.natanimn.telebof.types.inline.InlineQueryResultCachedAudio
All Implemented Interfaces:
InlineQueryResult, Serializable

public class InlineQueryResultCachedAudio extends Object
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
See Also:
  • Constructor Details

    • InlineQueryResultCachedAudio

      public InlineQueryResultCachedAudio(String id, String audioFileId)
      Required
      Parameters:
      id - Unique identifier for this result, 1-64 bytes
      audioFileId - A valid file identifier for the audio file
  • Method Details