fetchConversations

Fetches all the conversations associated with a specific account.

Usage

const account = '0x...';
const conversations = await chat.fetchConversations(account);

Returns

Promise<Conversation[]>

A promise that resolves to an array containing all the conversations associated with the specified account.

Parameters

account

  • Type Address

The address of the target account for which all related conversations are being fetched.

Previous
fetchConversation