MessageBounce

Handles bounce actions on tap or long press of a bounced message in MessageList.

Best Practices

  • Provide clear feedback when a message is bounced.
  • Use retrySendMessage only after validating message content.
  • Keep bounce handling UI lightweight to avoid list jank.
  • Use removeMessage for local cleanup; server state requires explicit calls.
  • Avoid editing state changes unless the user explicitly chooses to edit.

Props

Prop Description Type
setEditingState Set editing state for a message. (message) => void
removeMessage Remove a message from local state only (does not call channel.deleteMessage). (message) => void
retrySendMessage Retry sending a failed message. (message) => void
message Message object. Message type
setIsBounceDialogOpen State setter to open/close the bounce modal. (boolean) => void
Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat React Native v9: <Your Question>