removeConversation
Removes a conversation based on its unique hash identifier. This operation can be done only by the creator of the conversation.
Usage
const conversationHash = '0x...';
const txResponse = await chat.removeConversation(conversationHash);
Returns
Promise<EthereumTransactionResponse>
A promise that resolves to the response from the sendTransaction
method on the walletClient
provided by the developer on Chat
initialization.
Parameters
conversationHash
- Type
ConversationHash
The unique hash identifier of the conversation you wish to remove.