RtcAigcMessage constructor

RtcAigcMessage({
  1. required String id,
  2. required MessageType type,
  3. String text = '',
  4. String? senderId,
  5. bool isUser = false,
  6. bool isInterrupted = false,
  7. int? timestamp,
  8. String? functionName,
  9. Map<String, dynamic>? functionArguments,
  10. String? status,
  11. bool isFinal = false,
})

构造函数

Implementation

RtcAigcMessage({
  required this.id,
  required this.type,
  this.text = '',
  this.senderId,
  this.isUser = false,
  this.isInterrupted = false,
  this.timestamp,
  this.functionName,
  this.functionArguments,
  this.status,
  this.isFinal = false,
});