GptAssistantMessage constructor

GptAssistantMessage({
  1. required String id,
  2. String object = "thread.message",
  3. required String threadId,
  4. Map<String, dynamic>? metadata,
  5. required List<String> fileIds,
  6. required List<GptThreadContent> content,
  7. required GptThreadRole role,
  8. required int createdAt,
  9. String? assistantId,
  10. String? runId,
})

Implementation

GptAssistantMessage(
    {required this.id, this.object = "thread.message", required this.threadId, this.metadata, required this.fileIds, required this.content, required this.role, required this.createdAt, this.assistantId, this.runId});