Package org.drinkless.tdlib

# Class TdApi.PushMessageContentAudio

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PushMessageContent
org.drinkless.tdlib.TdApi.PushMessageContentAudio

Enclosing class:
  TdApi

public static class TdApi.PushMessageContentAudio extends TdApi.PushMessageContent
An audio message.

- ## Nested Class Summary

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

  `TdApi.PushMessageContent.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `TdApi.Audio`
  `audio`
  Message content; may be null.
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `boolean`
  `isPinned`
  True, if the message is a pinned message with the specified content.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PushMessageContentAudio()`
  An audio message.
  `PushMessageContentAudio(TdApi.Audio audio, boolean isPinned)`
  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

    @Nullable public TdApi.Audio audio
    Message content; may be null.

  - ### isPinned

    public boolean isPinned
    True, if the message is a pinned message with the specified content.

  - ### CONSTRUCTOR

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

- ## Constructor Details

  - ### PushMessageContentAudio

    public PushMessageContentAudio()
    An audio message.

  - ### PushMessageContentAudio

    public PushMessageContentAudio(TdApi.Audio audio, boolean isPinned)
    An audio message.
    Parameters:
      `audio` - Message content; may be null.
      `isPinned` - True, if the message is a pinned message with the specified content.

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