Package org.drinkless.tdlib

# Class TdApi.MessageVoiceNote

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageContent
org.drinkless.tdlib.TdApi.MessageVoiceNote

Enclosing class:
  TdApi

public static class TdApi.MessageVoiceNote extends TdApi.MessageContent
A voice note message.

- ## Nested Class Summary

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

  `TdApi.MessageContent.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `TdApi.FormattedText`
  `caption`
  Voice note caption.
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `boolean`
  `isListened`
  True, if at least one of the recipients has listened to the voice note.
  `TdApi.VoiceNote`
  `voiceNote`
  The voice note description.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MessageVoiceNote()`
  A voice note message.
  `MessageVoiceNote(TdApi.VoiceNote voiceNote, TdApi.FormattedText caption, boolean isListened)`
  A voice note 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

  - ### voiceNote

    public TdApi.VoiceNote voiceNote
    The voice note description.

  - ### caption

    public TdApi.FormattedText caption
    Voice note caption.

  - ### isListened

    public boolean isListened
    True, if at least one of the recipients has listened to the voice note.

  - ### CONSTRUCTOR

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

- ## Constructor Details

  - ### MessageVoiceNote

    public MessageVoiceNote()
    A voice note message.

  - ### MessageVoiceNote

    public MessageVoiceNote(TdApi.VoiceNote voiceNote, TdApi.FormattedText caption, boolean isListened)
    A voice note message.
    Parameters:
      `voiceNote` - The voice note description.
      `caption` - Voice note caption.
      `isListened` - True, if at least one of the recipients has listened to the voice note.

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