RichAction.sendMessage constructor
- @FreezedUnionValue.new('send_message')
Action to send a message in the chat
Implementation
@FreezedUnionValue('send_message')
const factory RichAction.sendMessage({
required String message,
required String label,
@JsonKey(name: 'show_in_chat') @Default(true) bool showInChat,
@Default('secondary') String style,
}) = SendMessageAction;