getAIOptions method
List<CometChatMessageComposerAction>
getAIOptions(
- User? user,
- Group? group,
- CometChatTheme theme,
- BuildContext context,
- Map<
String, dynamic> ? id, - AIOptionsStyle? aiOptionStyle,
override
override this to alter attachment options in CometChatMessageComposer
Implementation
@override
List<CometChatMessageComposerAction> getAIOptions(
User? user,
Group? group,
CometChatTheme theme,
BuildContext context,
Map<String, dynamic>? id,
AIOptionsStyle? aiOptionStyle) {
List<CometChatMessageComposerAction> actionList =
super.getAIOptions(user, group, theme, context, id, aiOptionStyle);
actionList.add(getAIComposerButton(context, theme));
return actionList;
}