Class TdApi.PageBlockVoiceNote

Enclosing class:
TdApi

public static class TdApi.PageBlockVoiceNote extends TdApi.PageBlock
A voice note.
  • Field Details

    • voiceNote

      public TdApi.VoiceNote voiceNote
      Voice note; may be null.
    • caption

      public TdApi.PageBlockCaption caption
      Voice note caption; may be null if none.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • PageBlockVoiceNote

      public PageBlockVoiceNote()
      A voice note.
    • PageBlockVoiceNote

      public PageBlockVoiceNote(TdApi.VoiceNote voiceNote, TdApi.PageBlockCaption caption)
      A voice note.
      Parameters:
      voiceNote - Voice note; may be null.
      caption - Voice note caption; may be null if none.
  • 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