{
  "$id": "https://intentschema.org/profiles/com.slack/communication.chat.channel.get.v1.json",
  "id": "org.intentschema.communication.chat.channel.get.v1@com.slack.v1",
  "pins": "https://intentschema.org/intents/communication/chat/channel/get/v1.json",
  "title": "Slack channel get profile",
  "description": "Slack profile for conversations.info.",
  "constraints": {
    "properties": {
      "target": {
        "properties": {
          "system": {
            "const": "slack"
          }
        },
        "required": [
          "system"
        ]
      },
      "slack": {
        "type": "object",
        "properties": {
          "include_locale": {
            "type": "boolean"
          },
          "include_num_members": {
            "type": "boolean"
          }
        }
      }
    }
  },
  "api": {
    "method": "GET",
    "path": "/api/conversations.info",
    "scopes": [
      "channels:read"
    ],
    "docs": "https://api.slack.com/methods/conversations.info",
    "params": {
      "target.external_id": "channel",
      "slack.include_locale": "include_locale",
      "slack.include_num_members": "include_num_members"
    },
    "base_url": "https://slack.com"
  }
}
