Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Updating typings for interactive messages #1318

Merged
merged 2 commits into from
Jul 9, 2018
Merged

Conversation

jaalger
Copy link
Contributor

@jaalger jaalger commented Apr 11, 2018

  • Updating SlackAttachment type for interactive messages
  • Updating Message type for interactive message handling

closes #1317

- Updating SlackAttachment type for interactive messages
- Updating Message type for interactive message handling
lib/Botkit.d.ts Outdated
@@ -221,13 +221,18 @@ declare namespace botkit {
action?: string;
channel?: string;
match?: RegExpMatchArray;
replace_original?: boolean;
response_type?: string;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These properties are Slack specific, please move them to SlackMessage interface.

- Moving slack specific message properties to slackMessage interface
@jaalger
Copy link
Contributor Author

jaalger commented Jun 1, 2018

@Naktibalda I have moved the slack specific properties to the SlackMessage interface as suggested. Thanks for taking a look at this PR and providing feedback.

@benbrown benbrown merged commit 6d907e3 into howdyai:master Jul 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing Typescript Types for Slack Interactive Messages
4 participants