모든 도구

teams_send_channel_message

Microsoft Teams · macOS · Windows

효과: 보내기. 상태: 조건부 제공.

‘조건부 제공’은 도구가 버전, 플랫폼, 권한, 계정 또는 설정에 따라 달라질 수 있음을 뜻하며 모든 설치에서 활성화되었다는 의미는 아닙니다.

macOS

목적

Graph API를 통해 Microsoft Teams 채널에 텍스트 메시지를 보냅니다. Chat.ReadWrite / ChannelMessage.Send 권한으로 connect_m365_account가 필요합니다. team_id와 channel_id는 teams_list_teams / teams_list_channels에서 받아야 합니다. 첫 호출은 미리보기를 반환하고 confirm=true로 실제 전송합니다.

필수 입력

입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.

권한 및 확인

스키마에 명시적 확인 매개변수가 있습니다. 미리보기를 검토하고 플랫폼 계약에 따라 실제 작업을 승인하세요.

영문 정식 기술 스키마macOS
{
  "properties": {
    "channel_id": {
      "description": "Channel ID from teams_list_channels, or the channel's name",
      "type": "string"
    },
    "confirm": {
      "description": "Set true to send; false returns preview",
      "type": "boolean"
    },
    "team_id": {
      "description": "Team ID from teams_list_teams, or the team's name",
      "type": "string"
    },
    "text": {
      "description": "Plain-text message body",
      "type": "string"
    }
  },
  "required": [
    "team_id",
    "channel_id",
    "text"
  ],
  "type": "object"
}

문서 예시

teams_send_channel_message 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.

{
  "channel_id": "demo-channel-001",
  "confirm": false,
  "team_id": "demo-team-001",
  "text": "Can we review the launch checklist on Tuesday?"
}

Windows

목적

Graph API를 통해 Microsoft Teams 채널에 메시지를 보냅니다. ChannelMessage.Send 권한으로 connect_m365_account가 필요합니다. teams_list_teams / teams_list_channels에서 받은 team_id와 channel_id 또는 이름을 사용합니다. 첫 호출은 미리보기를 반환하고 confirm=true로 실제 전송합니다.

필수 입력

입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.

권한 및 확인

스키마에 명시적 확인 매개변수가 있습니다. 미리보기를 검토하고 플랫폼 계약에 따라 실제 작업을 승인하세요.

영문 정식 기술 스키마Windows
{
  "properties": {
    "channel_id": {
      "description": "Channel ID from teams_list_channels, or the channel's name",
      "type": "string"
    },
    "confirm": {
      "description": "Set true to send; false returns preview",
      "type": "boolean"
    },
    "team_id": {
      "description": "Team ID from teams_list_teams, or the team's name",
      "type": "string"
    },
    "text": {
      "description": "Plain-text message body",
      "type": "string"
    }
  },
  "required": [
    "team_id",
    "channel_id",
    "text"
  ],
  "type": "object"
}

문서 예시

teams_send_channel_message 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.

{
  "channel_id": "demo-channel-001",
  "confirm": false,
  "team_id": "demo-team-001",
  "text": "Can we review the launch checklist on Tuesday?"
}