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
      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 - Audio Message content; may be null.
      isPinned - boolean True, if the message is a pinned message with the specified content.
    • PushMessageContentAudio

      public PushMessageContentAudio​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details