Read direct messages
Get P2P conversation messages.
To read accounts conversation you should know unique ChatID that contain 2 addresses separated by "|" symbol.
To build correct ChatID you can use next function (or develop another by follow this logic):
Note: To create the link to private conversation with another user, use function above to concat both user wallet addresses and replace {__ADDRESSES__} string in this URL:
https://chatme.page/my/account/{__ADDRESSES__}
Get conversation messages
To read latest messages based on ChatID, send request to The Graph node URL:
You can modify this query for filter, sort or paginate results. Read GraphQL API documentation for more details.
Last updated