ChatwootMessage constructor

ChatwootMessage({
  1. required int id,
  2. required String? content,
  3. required int? messageType,
  4. required String? contentType,
  5. required dynamic contentAttributes,
  6. required String createdAt,
  7. required int? conversationId,
  8. required List? attachments,
  9. required ChatwootEventMessageUser? sender,
})

Implementation

ChatwootMessage(
    {required this.id,
    required this.content,
    required this.messageType,
    required this.contentType,
    required this.contentAttributes,
    required this.createdAt,
    required this.conversationId,
    required this.attachments,
    required this.sender});