Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

871 B
Raw Blame
---
title: ManageChannelParticipants
description: >-
  Add or remove members of an existing channel.
---

# ManageChannelParticipants

Add or remove members of an existing channel. Requires the current user to be a channel member. Direct-message channels cannot change membership. The channel owner cannot be removed. Participants accept `macro|<email>` ids from ListTeamMembers or bare emails. Use `add` to invite people and `remove` to take them out. Use only when the user asks to change who is in a channel.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `channelId` | string | Yes | Channel id whose membership should change. |
| `action` | `"add"` \| `"remove"` | Yes | Membership change to apply. |
| `participants` | string[] | Yes | People to add or remove, as `macro\|<email>` ids or bare emails. Must not be empty. |