space.add() / space.remove(), or leave the group
with space.leave() — or use the canonical addMember() / removeMember() /
leaveSpace() content builders:
space.create
accepts.
List the current roster with space.getMembers(). Each entry’s id is the
canonical address, so the results feed straight back into add() / remove()
/ space.create(); the agent’s own number is excluded:
@spectrum-ts/imessage and only works on group
chats. With @spectrum-ts/imessage-local, or on a DM, it throws an
— a DM cannot be converted into a group, so create a new
group with space.create instead. getMembers() has the same constraints.