Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
# Salesforce Open Source project configuration
# Learn more: https://github.com/salesforce/oss-template
#ECCN:Open Source
#GUSINFO:Open Source,Open Source Workflow

# @slackapi/denosaurs
# are code reviewers for all changes in this repo.
* @slackapi/denosaurs

# @slackapi/developer-education
# are code reviewers for changes in the `/docs` directory.
/docs/ @slackapi/developer-education
7 changes: 7 additions & 0 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@

[![codecov](https://codecov.io/gh/slackapi/deno-slack-api/graph/badge.svg?token=QKJCI23P5S)](https://codecov.io/gh/slackapi/deno-slack-api)


Slack API Client for Deno Run on Slack projects

## 📢 Important

We recommend importing this package from
[JSR](https://jsr.io/@slack/sdk/versions). New releases will no longer be
published to `deno.land/x`.

```ts
import { SlackAPI } from "https://deno.land/x/deno_slack_api@2.1.1/mod.ts";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const ChannelArchived = {
*/
channel_name: "{{data.channel_name}}",
/**
* The channel type for the channel that was archived. Can be one of "public" or "private".
* The channel type for the channel that was archived. Can be one of `public`, `private`, `im` or `mpim`.
*/
channel_type: "{{data.channel_type}}",
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ import base_trigger_data from "./common-objects/all_triggers.ts";

export const MessagePosted = {
...base_trigger_data,
/**
* A unique identifier for the app that posted the message. Only available when message is posted by an app.
*/
app_id: "{{data.app_id}}",
/**
* A unique identifier for the {@link https://api.slack.com/automation/types#channelid Slack channel} where message was posted.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,26 @@ export const ReactionAdded = {
* The event type being invoked. At runtime will always be "slack#/events/reaction_added".
*/
event_type: "{{data.event_type}}",
/**
* A unique identifier for the {@link https://api.slack.com/automation/types#userid Slack user} who sent the message that was reacted to.
*/
item_user: "{{data.item_user}}",
/**
* A {@link https://api.slack.com/automation/types#message-context Message Context} object representing the message being reacted to.
*/
message_context: "{{data.message_context}}",
/**
* Link to the message that was reacted to.
*/
message_link: "{{data.message_link}}",
/**
* A unique {@link https://api.slack.com/automation/types#message-ts Slack message timestamp string} indicating when the message being reacted to was sent.
*/
message_ts: "{{data.message_ts}}",
/**
* Link to the parent of the message that was reacted to. Only available if reaction was added to a threaded reply.
*/
parent_message_link: "{{data.parent_message_link}}",
/**
* A string representing the emoji name.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ export const UserJoinedChannel = {
* The event type being invoked. At runtime will always be "slack#/events/user_joined_channel".
*/
event_type: "{{data.event_type}}",
/**
* A unique identifier for the {@link https://api.slack.com/automation/types#userid Slack user} who invited the member to the channel.
*/
inviter_id: "{{data.inviter_id}}",
/**
* A unique identifier for the {@link https://api.slack.com/automation/types#userid Slack user} who joined the channel.
*/
Expand Down