Class InlineQueryResultVoice

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

public class InlineQueryResultVoice extends Object implements Serializable
Represents a link to a voice recording in an .OGG container encoded with OPUS. By default, this voice recording will be sent by the user. Alternatively, you can use InlineQueryMediaResult.inputMessageContent to send a message with the specified content instead of the voice message.
Since:
3 March 2025
See Also:
  • Constructor Details

    • InlineQueryResultVoice

      public InlineQueryResultVoice(String id, String voiceUrl, String title)
      Required
      Parameters:
      id - Unique identifier for this result, 1-64 bytes
      voiceUrl - A valid URL for the voice recording
      title - Recording title
  • Method Details