Sha256: c4e8b1b25ea53556faeb4870b4bd028ea2875e5b1d6613118290209db062080b

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": [
        "mpim"
      ]
    },
    "message.mpim": {
      "type": "object",
      "description": "learn more: https://api.slack.com/events/message.mpim",
      "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": "G024BE91L",
        "channel_type": "mpim",
        "event_ts": "1355517523.000005",
        "text": "Let's make a pact.",
        "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.mpim.json
slack_resources-0.1.2 lib/slack_resources/resources/event_api/schemas/message.mpim.json
slack_resources-0.1.1 lib/slack_resources/resources/event_api/schemas/message.mpim.json
slack_resources-0.1.0 lib/slack_resources/resources/event_api/schemas/message.mpim.json