node-slack-interactive-messages icon indicating copy to clipboard operation
node-slack-interactive-messages copied to clipboard

all respond messages treated string (not message object).

Open yukimochi opened this issue 8 years ago • 0 comments

Description

In v1.0.0 All respond messages treated string (not message object). So, serialized json shown in slack as is.

What type of issue is this? (place an x in one of the [ ])

  • [x] bug
  • [ ] enhancement (feature request)
  • [ ] question
  • [ ] documentation related
  • [ ] testing related
  • [ ] discussion

Requirements

  • [x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • [x] I've read and agree to the Code of Conduct.
  • [x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

Reproducible in:

@slack/interactive-messages version:v1.0.0 node version:v10.9.0 OS version(s):Heroku

Steps to reproduce:

1.receive some interaction.(slackInteractions.action('some_action', (payload, respond) => {}) 2.return message object (payload.original_message) as pending message. 3.shown serialized json in slack screen.

Expected result:

Show complete message in slack screen.

Actual result:

Show serialized json text in slack screen.

Attachments:

Logs, screenshots, screencast, sample project, funny gif, etc.

yukimochi avatar Aug 17 '18 08:08 yukimochi