This is documentation for
Stream Chat React Native SDK v5, which is nolonger actively maintained. For up-to-date documentation, see the latest version (v8)
.
MessageBounce
Component to render bounce action handler on click or long press of a Bounced message, within MessageList.
Props
setEditingState
Enables editing state for given message.
| Type |
|---|
(message) => void |
removeMessage
Function to remove message from local channel state. Please note that this function is only for updating the local state, it doesn’t call the API for deleting message (channel.deleteMessage).
| Type |
|---|
(message) => void |
retrySendMessage
Function to re-attempt sending failed message.
| Type |
|---|
(message) => void |
message
Message object.
| Type |
|---|
Message type |
setIsBounceDialogOpen
React state update function to open/close the message bounce modal.
| Type |
|---|
(boolean) => void |