Class TdApi.InlineQueryResultAudio

Enclosing class:
TdApi

public static class TdApi.InlineQueryResultAudio extends TdApi.InlineQueryResult
Represents an audio file.
  • Field Details

    • id

      public String id
      Unique identifier of the query result.
    • audio

      public TdApi.Audio audio
      Audio file.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • InlineQueryResultAudio

      public InlineQueryResultAudio()
      Represents an audio file.
    • InlineQueryResultAudio

      public InlineQueryResultAudio(String id, TdApi.Audio audio)
      Represents an audio file.
      Parameters:
      id - Unique identifier of the query result.
      audio - Audio file.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR