Sha256: 544c6bc7b16294bb136326c5e91e229affbd35e47fb0c3cb3ab4f32331c52607

Contents?: true

Size: 1.1 KB

Versions: 7

Compression:

Stored size: 1.1 KB

Contents

{
  "$schema": "http://json-schema.org/draft-07/schema",
  "definitions": {
    "channel_id": {
      "type": "string"
    },
    "timestamp": {
      "type": "string"
    },
    "user_id": {
      "type": "string"
    },
    "message.im": {
      "type": "object",
      "description": "learn more: https://api.slack.com/events/message.im",
      "properties": {
        "channel": {
          "$ref": "#/definitions/channel_id"
        },
        "channel_type": {
          "const": "im"
        },
        "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

7 entries across 7 versions & 1 rubygems

Version Path
slack_resources-0.1.9 lib/slack_resources/resources/event_api/schemas/message.im.json
slack_resources-0.1.8 lib/slack_resources/resources/event_api/schemas/message.im.json
slack_resources-0.1.7 lib/slack_resources/resources/event_api/schemas/message.im.json
slack_resources-0.1.6 lib/slack_resources/resources/event_api/schemas/message.im.json
slack_resources-0.1.5 lib/slack_resources/resources/event_api/schemas/message.im.json
slack_resources-0.1.4 lib/slack_resources/resources/event_api/schemas/message.im.json
slack_resources-0.0.0 lib/slack_resources/resources/event_api/schemas/message.im.json