Sha256: d562c641e51637b3a333c41074b320b76ea11f4eb83f71ee7fb395dab7b52f85

Contents?: true

Size: 1.48 KB

Versions: 4

Compression:

Stored size: 1.48 KB

Contents

{
  "url": "https://api.slack.com/events/channel_rename",
  "type": "channel_rename",
  "response": {
    "channel": {
      "id": "C02ELGNBH",
      "name": "new_name",
      "created": 1360782804
    },
    "type": "channel_rename"
  },
  "schema": {
    "$schema": "http://json-schema.org/draft-07/schema",
    "definitions": {
      "time_integer": {
        "type": "number"
      },
      "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_rename": {
        "type": "object",
        "description": "learn more: https://api.slack.com/events/channel_rename",
        "properties": {
          "channel": {
            "$ref": "#/definitions/channel"
          },
          "type": {
            "const": "channel_rename"
          }
        },
        "example": {
          "channel": {
            "id": "C02ELGNBH",
            "name": "new_name",
            "created": 1360782804
          },
          "type": "channel_rename"
        }
      }
    }
  },
  "compatibility": [
    "RTM",
    "Events API"
  ],
  "scopes": [
    "channels:read"
  ]
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slack_resources-0.1.3 lib/slack_resources/resources/event_api/details/channel_rename.json
slack_resources-0.1.2 lib/slack_resources/resources/event_api/details/channel_rename.json
slack_resources-0.1.1 lib/slack_resources/resources/event_api/details/channel_rename.json
slack_resources-0.1.0 lib/slack_resources/resources/event_api/details/channel_rename.json