#removeParticipants([msg.author]) is undefined

1 messages · Page 1 of 1 (latest)

pure raft
#

i got an error when i want to remove a participant from a group chat, what can i do to solve this problem?

sour kelp
#

@pure raft

pure raft
pure raft
#

This is not helping... @zinc knoll

pure raft
zinc knoll
#

I tested and it works fine

const removed = await groupChat.removeParticipants(['[email protected]']);
console.log(removed);
zinc knoll
rose tiger
#

actually i got this

#

defined chat

rose tiger
zinc knoll