removeMembersFromGroupConversation
Removes multiple members from an existing group conversation using its unique hash identifier.
Usage
const conversationHash = '0x...';
const membersToRemove = ['0xAddress1...', '0xAddress2...'];
const txResponse = await chat.removeMembersFromGroupConversation(conversationHash, membersToRemove);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 from which members will be removed.
members
Type
Address[]
An array of Ethereum addresses representing the members you wish to remove from the group conversation.
Last updated
