MessageObject constructor

MessageObject({
  1. required String toJid,
  2. required String messageType,
  3. String? textMessage,
  4. String? replyMessageId,
  5. double? latitude,
  6. double? longitude,
  7. String? contactName,
  8. List<String>? contactNumbers,
  9. String? file,
  10. String? fileName,
  11. String? caption,
  12. String? base64Thumbnail,
  13. String? audioDuration,
  14. bool? isAudioRecorded,
})

Implementation

MessageObject(
    {required this.toJid,
    required this.messageType,
    this.textMessage,
    this.replyMessageId,
    this.latitude,
    this.longitude,
    this.contactName,
    this.contactNumbers,
    this.file,
    this.fileName,
    this.caption,
    this.base64Thumbnail,
    this.audioDuration,
    this.isAudioRecorded});