{ created_at: '' , messageObject: { ... }, previews: { bold: true, text: 'This is the message preview text' }, status: 0 | 1 | 2 // read states of latest message. }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
latestMessagePreview
Latest message on a channel, formatted for preview.
e.g.
| Type |
|---|
| Object |