AiChatMessage constructor
AiChatMessage({
- required String id,
- required AiMessageRole role,
- required String content,
- required DateTime timestamp,
- List<
AgentAction> ? actions, - bool isVoice = false,
- List<
ChatContent> ? richContent, - bool buttonsDisabled = false,
- int tappedButtonIndex = -1,
Implementation
AiChatMessage({
required this.id,
required this.role,
required this.content,
required this.timestamp,
this.actions,
this.isVoice = false,
this.richContent,
this.buttonsDisabled = false,
this.tappedButtonIndex = -1,
});