Package org.drinkless.tdlib

# Class TdApi.MessageAudio

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageContent
org.drinkless.tdlib.TdApi.MessageAudio

Enclosing class:
  TdApi

public static class TdApi.MessageAudio extends TdApi.MessageContent
An audio message.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.MessageContent

  `TdApi.MessageContent.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `TdApi.Audio`
  `audio`
  The audio description.
  `TdApi.FormattedText`
  `caption`
  Audio caption.
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MessageAudio()`
  An audio message.
  `MessageAudio(TdApi.Audio audio, TdApi.FormattedText caption)`
  An audio message.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Object

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### audio

    public TdApi.Audio audio
    The audio description.

  - ### caption

    public TdApi.FormattedText caption
    Audio caption.

  - ### CONSTRUCTOR

    public static final int CONSTRUCTOR
    Identifier uniquely determining type of the object.
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### MessageAudio

    public MessageAudio()
    An audio message.

  - ### MessageAudio

    public MessageAudio(TdApi.Audio audio, TdApi.FormattedText caption)
    An audio message.
    Parameters:
      `audio` - The audio description.
      `caption` - Audio caption.

- ## 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.MessageContent`
    Returns:
      this.CONSTRUCTOR