Module tdlight.api

Class TdApi.PushMessageContentAudio

Enclosing class:
TdApi

public static final 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:
  • 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
      An audio message.
      Throws:
      IOException
  • Method Details