Class TdApi.MessageVoiceNote

    • Field Detail

      • 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 Detail

      • MessageVoiceNote

        public MessageVoiceNote()
        Default constructor.
      • MessageVoiceNote

        public MessageVoiceNote​(TdApi.VoiceNote voiceNote,
                                TdApi.FormattedText caption,
                                boolean isListened)
        Constructor for initialization of all fields.
        Parameters:
        voiceNote - Message content.
        caption - Voice note caption.
        isListened - True, if at least one of the recipients has listened to the voice note.