Sha256: 14a61fa7457edabe4f09964f7a6b04f48dbe024789bea026b98c4289e52a831f

Contents?: true

Size: 1.59 KB

Versions: 7

Compression:

Stored size: 1.59 KB

Contents

{
  "url": "https://api.slack.com/events/channel_rename",
  "event": "channel_rename",
  "sub_schemas": {
    "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"
      }
    }
  },
  "schema": {
    "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

7 entries across 7 versions & 1 rubygems

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