{
created_at: '' ,
messageObject: { ... },
previews: {
bold: true,
text: 'This is the message preview text'
},
status: 0 | 1 | 2 // read states of latest message.
}
This is documentation for
Stream Chat React-native SDK v3, which is no longer actively maintained. For up-to-date documentation, see the latest version (v5).
ChannelPreviewMessage
Component to render a preview of latest message on channel within the ChannelList
.
This is the default component provided to the prop PreviewMessage
on the ChannelList
component.
Props
lastMessagePreview
Latest message on a channel, formatted for preview.
e.g.
Type |
---|
object |
On this page: