All types are in a separate package, flutter_chat_types. There are 3 supported message types at the moment -
Text. All of them have corresponding "partial" message types, that include only the message's content. "Partial" messages are useful to create the content and then pass it to some kind of a backend service, which will assign fields like
author etc, returning a "full" message which can be passed to the
messages parameter of the
Chat widget. In addition to that, there are
Custom can be used to build anything you want, and
Unsupported is just a placeholder to have backwards compatibility. See the API reference for more info.