Skip to main content
Version: v3

Reply

Reply is a default UI component for rendering preview of parent message for quoted message, within MessageList.

You can replace this default UI component using the Reply prop on Channel component.

<Channel Reply={CustomReply} />

Props

overrides the value from MessageInputContext
editing

True if the user is editing some message within MessageInput component.

Type
boolean

overrides the value from MessageContext
message

Message object

Type
object

overrides the value from MessageInputContext
quotedMessage

overrides the value from MessagesContext
FileAttachmentIcon

Component to render file icon for file type attachment.

TypeDefault
componentFileIcon

overrides the value from MessagesContext
MessageAvatar

Component to render avatar of sender for message, within MessageList. This component is only rendered for messages from other users.

TypeDefault
componentMessageAvatar

Did you find this page helpful?