Reply
Reply renders the quoted parent message preview inside MessageList.
Best Practices
- Keep reply previews concise to avoid cluttering the message list.
- Ensure the preview clearly references the quoted message.
- Use consistent styling with the rest of message bubbles.
- Handle missing quoted messages gracefully.
- Override via the
Channelprop rather than modifying internals.
Replace it via the Reply prop on Channel.
<Channel Reply={CustomReply} />Props
editing
Defined with message type if the user is editing some message within MessageInput component else its undefined.
| Type |
|---|
Message| undefined |
message
Message object.
| Type |
|---|
Message type |
quotedMessage
Message that is quoted to the original message
| Type |
|---|
Message| undefined |
UI Component Props
FileAttachmentIcon
Renders the file icon for file attachments.
| Type | Default |
|---|---|
| ComponentType | FileIcon |
MessageAvatar
Renders the sender avatar in MessageList. Only shown for other users’ messages.
| Type | Default |
|---|---|
| ComponentType | MessageAvatar |