Sha256: 54796792abdd888e8f5625b731d65cf7de0a358166decc4758c0b5c71caca0a0

Contents?: true

Size: 1.94 KB

Versions: 4

Compression:

Stored size: 1.94 KB

Contents

{
  "url": "https://api.slack.com/events/message",
  "type": "message",
  "response": {
    "channel": "D0PNCRP9N",
    "channel_type": "app_home|channel|group|mpim|null",
    "event_ts": "1525215129.000001",
    "text": "How many cats did we herd yesterday?",
    "ts": "1525215129.000001",
    "type": "message",
    "user": "U061F7AUR"
  },
  "schema": {
    "$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": [
          "app_home",
          "channel",
          "group",
          "mpim",
          null
        ]
      },
      "message": {
        "type": "object",
        "description": "learn more: https://api.slack.com/events/message",
        "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": "D0PNCRP9N",
          "channel_type": "app_home|channel|group|mpim|null",
          "event_ts": "1525215129.000001",
          "text": "How many cats did we herd yesterday?",
          "ts": "1525215129.000001",
          "type": "message",
          "user": "U061F7AUR"
        }
      }
    }
  },
  "compatibility": [
    "RTM",
    "Events API"
  ],
  "scopes": [
    "channels:history",
    "groups:history",
    "im:history",
    "mpim:history"
  ]
}

Version data entries

4 entries across 4 versions & 1 rubygems

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