FileMessage constructor

FileMessage({
  1. required String toJid,
  2. String? replyMessageId,
  3. MessageType? messageType,
  4. LocationMessageParams? locationMessage,
  5. ContactMessageParams? contactMessage,
  6. FileMessageParams? fileMessage,
  7. String topicId = "",
})

Initializes a new instance of the FileMessage class.

Implementation

FileMessage(
    {required this.toJid,
    this.replyMessageId,
    this.messageType,
    // this.mentionedUsersIds,
    // this.metaData = const [],
    this.locationMessage,
    this.contactMessage,
    this.fileMessage,
    this.topicId = ""});