Setup

To use the Messages API, install the @wix/inbox package using npm or Yarn:

Copy
npm install @wix/inbox

or

Copy
yarn add @wix/inbox

Then import { messages } from @wix/inbox:

Copy
import { messages } from "@wix/inbox";
Did this help?