Module tdlight.api

Class TdApi.PushMessageContentVoiceNote

Enclosing class:
TdApi

public static final class TdApi.PushMessageContentVoiceNote extends TdApi.PushMessageContent
A voice note message.
  • Field Details

    • voiceNote

      public TdApi.VoiceNote voiceNote
      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

    • PushMessageContentVoiceNote

      public PushMessageContentVoiceNote()
      A voice note message.
    • PushMessageContentVoiceNote

      public PushMessageContentVoiceNote(TdApi.VoiceNote voiceNote, boolean isPinned)
      A voice note message.
      Parameters:
      voiceNote - VoiceNote Message content; may be null.
      isPinned - boolean True, if the message is a pinned message with the specified content.
    • PushMessageContentVoiceNote

      public PushMessageContentVoiceNote(DataInput input) throws IOException
      A voice note message.
      Throws:
      IOException
  • Method Details