ChatMessageContent.text constructor

ChatMessageContent.text(
  1. String text
)

The content of a message that is text.

Implementation

factory ChatMessageContent.text(final String text) =>
    ChatMessageContentText(text: text);