Search code examples
javascriptgetstream-chat

What is the replacement of "MessageTeam" in StreamChatReactAPI


StreamChatAPI v10 has got new replacement for some API like "MessageTeam". I have read the documentation but it's difficult to find its replacement.

First code: 1

Second code: 2


Solution

  • With [email protected], the already deprecated MessageTeam component was removed from the SDK. Unfortunately, there isn't a drop-in replacement offered by the SDK as we believe MessageUI customizations would be best if handled by the integration projects.

    As a starting point, you can take the MessageTeam implementation from the latest v9.x release and maintain it in your project. You can find it here:

    You can follow this guide in order to instruct the SDK to use your own MessageUI implementation: