Sha256: 5f2776fa5f617b167f162992222abc319c7d7429cffa0096bd84ab91c78e9277

Contents?: true

Size: 1.59 KB

Versions: 11

Compression:

Stored size: 1.59 KB

Contents

{
  "$schema": "http://json-schema.org/draft-07/schema",
  "definitions": {
    "timestamp": {
      "type": "string"
    },
    "channel_id": {
      "type": "string"
    },
    "reaction_item_type": {
      "type": "string"
    },
    "reaction_item": {
      "type": "object",
      "description": "(defined by script)",
      "properties": {
        "channel": {
          "$ref": "#/definitions/channel_id"
        },
        "ts": {
          "$ref": "#/definitions/timestamp"
        },
        "type": {
          "$ref": "#/definitions/reaction_item_type"
        }
      }
    },
    "user_id": {
      "type": "string"
    },
    "emoji_name": {
      "type": "string"
    },
    "reaction_added": {
      "type": "object",
      "description": "learn more: https://api.slack.com/events/reaction_added",
      "properties": {
        "event_ts": {
          "$ref": "#/definitions/timestamp"
        },
        "item": {
          "$ref": "#/definitions/reaction_item"
        },
        "item_user": {
          "$ref": "#/definitions/user_id"
        },
        "reaction": {
          "$ref": "#/definitions/emoji_name"
        },
        "type": {
          "const": "reaction_added"
        },
        "user": {
          "$ref": "#/definitions/user_id"
        }
      },
      "example": {
        "event_ts": "1360782804.083113",
        "item": {
          "type": "message",
          "channel": "C0G9QF9GZ",
          "ts": "1360782400.498405"
        },
        "item_user": "U0G9QF9C6",
        "reaction": "thumbsup",
        "type": "reaction_added",
        "user": "U024BE7LH"
      }
    }
  }
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
slack_resources-0.1.9 lib/slack_resources/resources/event_api/schemas/reaction_added.json
slack_resources-0.1.8 lib/slack_resources/resources/event_api/schemas/reaction_added.json
slack_resources-0.1.7 lib/slack_resources/resources/event_api/schemas/reaction_added.json
slack_resources-0.1.6 lib/slack_resources/resources/event_api/schemas/reaction_added.json
slack_resources-0.1.5 lib/slack_resources/resources/event_api/schemas/reaction_added.json
slack_resources-0.1.4 lib/slack_resources/resources/event_api/schemas/reaction_added.json
slack_resources-0.0.0 lib/slack_resources/resources/event_api/schemas/reaction_added.json
slack_resources-0.1.3 lib/slack_resources/resources/event_api/schemas/reaction_added.json
slack_resources-0.1.2 lib/slack_resources/resources/event_api/schemas/reaction_added.json
slack_resources-0.1.1 lib/slack_resources/resources/event_api/schemas/reaction_added.json
slack_resources-0.1.0 lib/slack_resources/resources/event_api/schemas/reaction_added.json