addMembersToGroupConversation

Adds members to an existing group conversation based on its unique hash identifier.

Usage

const conversationHash = '0x...';
const members = ['0xAddress1...', '0xAddress2...'];
const txResponse = await chat.addMembersToGroupConversation(conversationHash, members);

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 target group conversation to which members will be added.

members

  • Type Address[]

An array of Ethereum addresses representing the members you wish to add to the group conversation.

Previous
removeConversation