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.

798 B
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { ChannelType } from './channelType';
import type { CreateChannelRequestName } from './createChannelRequestName';
import type { CreateChannelRequestTeamId } from './createChannelRequestTeamId';

/**
 * Request to create a channel.
 */
export interface CreateChannelRequest {
  /** Whether team members automatically join this channel. Defaults to false. */
  auto_join_team?: boolean;
  /** Channel type. */
  channel_type: ChannelType;
  /** Optional channel name. */
  name?: CreateChannelRequestName;
  /** Participants to add, excluding the owner. */
  participants: string[];
  /** Team id for team channels. */
  team_id?: CreateChannelRequestTeamId;
}