Sha256: 9aa368a9c278950442d05e8ac6531e052d8a8d30c6487e44126cc7cc07535f83

Contents?: true

Size: 1.7 KB

Versions: 7

Compression:

Stored size: 1.7 KB

Contents

{
  "url": "https://api.slack.com/events/channel_created",
  "event": "channel_created",
  "sub_schemas": {
    "time_integer": {
      "type": "number"
    },
    "user_id": {
      "type": "string"
    },
    "channel_id": {
      "type": "string"
    },
    "channel_name": {
      "type": "string"
    },
    "channel": {
      "type": "object",
      "description": "(defined by script)",
      "properties": {
        "created": {
          "$ref": "#/definitions/time_integer"
        },
        "id": {
          "$ref": "#/definitions/channel_id"
        },
        "name": {
          "$ref": "#/definitions/channel_name"
        }
      }
    },
    "channel_created": {
      "type": "object",
      "description": "learn more: https://api.slack.com/events/channel_created",
      "properties": {
        "channel": {
          "$ref": "#/definitions/channel"
        },
        "type": {
          "const": "channel_created"
        }
      },
      "example": {
        "channel": {
          "id": "C024BE91L",
          "name": "fun",
          "created": 1360782804,
          "creator": "U024BE7LH"
        },
        "type": "channel_created"
      }
    }
  },
  "schema": {
    "type": "object",
    "description": "learn more: https://api.slack.com/events/channel_created",
    "properties": {
      "channel": {
        "$ref": "#/definitions/channel"
      },
      "type": {
        "const": "channel_created"
      }
    },
    "example": {
      "channel": {
        "id": "C024BE91L",
        "name": "fun",
        "created": 1360782804,
        "creator": "U024BE7LH"
      },
      "type": "channel_created"
    }
  },
  "compatibility": [
    "RTM",
    "Events API"
  ],
  "scopes": [
    "channels:read"
  ]
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
slack_resources-0.1.9 lib/slack_resources/resources/event_api/details/channel_created.json
slack_resources-0.1.8 lib/slack_resources/resources/event_api/details/channel_created.json
slack_resources-0.1.7 lib/slack_resources/resources/event_api/details/channel_created.json
slack_resources-0.1.6 lib/slack_resources/resources/event_api/details/channel_created.json
slack_resources-0.1.5 lib/slack_resources/resources/event_api/details/channel_created.json
slack_resources-0.1.4 lib/slack_resources/resources/event_api/details/channel_created.json
slack_resources-0.0.0 lib/slack_resources/resources/event_api/details/channel_created.json