Class TdApi.PushMessageContentAudio

Enclosing class:
TdApi

public static class TdApi.PushMessageContentAudio extends TdApi.PushMessageContent
An audio message.
  • Field Details

    • audio

      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:
  • 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.Object
      Returns:
      this.CONSTRUCTOR