Sha256: 4ad9be939fb0cd080bf558b690471d3c912e728fff4e3708100df621dd0fd8d9

Contents?: true

Size: 1.22 KB

Versions: 4

Compression:

Stored size: 1.22 KB

Contents

{
  "$schema": "http://json-schema.org/draft-07/schema",
  "definitions": {
    "channel_id": {
      "type": "string"
    },
    "timestamp": {
      "type": "string"
    },
    "user_id": {
      "type": "string"
    },
    "message_channel_type": {
      "type": "string",
      "enum": [
        "im"
      ]
    },
    "message.im": {
      "type": "object",
      "description": "learn more: https://api.slack.com/events/message.im",
      "properties": {
        "channel": {
          "$ref": "#/definitions/channel_id"
        },
        "channel_type": {
          "$ref": "#/definitions/message_channel_type"
        },
        "event_ts": {
          "$ref": "#/definitions/timestamp"
        },
        "text": {
          "type": "string"
        },
        "ts": {
          "$ref": "#/definitions/timestamp"
        },
        "type": {
          "const": "message"
        },
        "user": {
          "$ref": "#/definitions/user_id"
        }
      },
      "example": {
        "channel": "D024BE91L",
        "channel_type": "im",
        "event_ts": "1355517523.000005",
        "text": "Hello hello can you hear me?",
        "ts": "1355517523.000005",
        "type": "message",
        "user": "U2147483697"
      }
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slack_resources-0.1.3 lib/slack_resources/resources/event_api/schemas/message.im.json
slack_resources-0.1.2 lib/slack_resources/resources/event_api/schemas/message.im.json
slack_resources-0.1.1 lib/slack_resources/resources/event_api/schemas/message.im.json
slack_resources-0.1.0 lib/slack_resources/resources/event_api/schemas/message.im.json