sendUserMessageWithText method
- String text,
- {UserMessageHandler? handler}
Sends a user message with text.
Implementation
UserMessage sendUserMessageWithText(
String text, {
UserMessageHandler? handler,
}) {
sbLog.i(StackTrace.current, 'text: $text');
checkUnsupportedAction();
final params = UserMessageCreateParams(message: text);
return sendUserMessage(
params,
handler: handler,
);
}