> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# New Channel Message - Legacy

- Component: `appmixer.slack.list.NewChannelMessage`
- Kind: Trigger
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.slack 6.0.7](https://connectors.appmixer.com/connector/appmixer.slack/6.0.7.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.slack/6.0.7/component/appmixer.slack.list.NewChannelMessage>

DEPRECATED - use New Channel Message instead.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Channel (`channelId`) | text | Select a public channel. |

## Output ports

### Port `message`

| Field | Type | Description |
| --- | --- | --- |
| Message Timestamp (`ts`) | string | - |
| Message Type (`type`) | string | - |
| Text (`text`) | string | - |
| User (`user`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.slack.list.NewChannelMessage",
  "label": "New Channel Message - Legacy",
  "author": "Appmixer <info@appmixer.com>",
  "icon": "(data URI omitted)",
  "description": "DEPRECATED - use New Channel Message instead.",
  "private": false,
  "tick": true,
  "auth": {
    "service": "appmixer:slack",
    "scope": [
      "channels:read",
      "channels:history"
    ]
  },
  "outPorts": [
    {
      "name": "message",
      "options": [
        {
          "label": "Message Timestamp",
          "value": "ts",
          "schema": {
            "type": "string",
            "example": "1737024600.123456"
          }
        },
        {
          "label": "Message Type",
          "value": "type",
          "schema": {
            "type": "string",
            "example": "message"
          }
        },
        {
          "label": "Text",
          "value": "text",
          "schema": {
            "type": "string",
            "example": "Hey team, the new feature is ready for review!"
          }
        },
        {
          "label": "User",
          "value": "user",
          "schema": {
            "type": "string",
            "example": "U0ABC12345"
          }
        }
      ]
    }
  ],
  "properties": {
    "schema": {
      "properties": {
        "channelId": {
          "type": "string"
        }
      },
      "required": [
        "channelId"
      ]
    },
    "inspector": {
      "inputs": {
        "channelId": {
          "type": "text",
          "label": "Channel",
          "index": 1,
          "source": {
            "url": "/component/appmixer/slack/list/ListChannels?outPort=channels",
            "data": {
              "messages": {
                "in/types": "public_channel"
              },
              "transform": "ListChannels#channelsToSelectArray"
            }
          },
          "tooltip": "Select a public channel."
        }
      }
    }
  }
}
```
