Message constructor

Message({
  1. required String id,
  2. required String object,
  3. required int createdAt,
  4. required String threadId,
  5. required String role,
  6. required List<Content> content,
  7. required List<String> fileIds,
  8. required dynamic assistantId,
  9. required dynamic runId,
  10. required Metadata metadata,
})

Implementation

Message({
  required this.id,
  required this.object,
  required this.createdAt,
  required this.threadId,
  required this.role,
  required this.content,
  required this.fileIds,
  required this.assistantId,
  required this.runId,
  required this.metadata,
});