ChatBotMessage constructor
const
ChatBotMessage({
- required int id,
- required int index,
- required ChatBotMessageType type,
- required ChatBotMessageSender sender,
- required String key,
- String? title,
- String? text,
- String? icon,
- ChatBotMessageMeta meta = const ChatBotMessageMeta.defaults(),
- List<
ChatBotMessageOption> options = const [],
Implementation
const ChatBotMessage({
required this.id,
required this.index,
required this.type,
required this.sender,
required this.key,
this.title,
this.text,
this.icon,
this.meta = const ChatBotMessageMeta.defaults(),
this.options = const [],
});