Skip to content

Allow unfurl_media and unfurl_links args to be passed to respond and ack methods #346

@gburek-fastly

Description

@gburek-fastly

As described in https://github.com/slackhq/slack-api-docs/blob/master/page_unfurling.md a bot message can send "unfurl_media": True, "unfurl_links": Trueargs tosay` or chat.postMessage API method.

However, the respond and ack methods do not take other **kwargs, and fails with TypeError: _build_message() got an unexpected keyword argument 'unfurl_media'\n"

This is also described in slackapi/bolt-js#466 with the say method but should be possible with respond or ack.

Category (place an x in each of the [ ])

  • slack_bolt.App and/or its core components
  • slack_bolt.async_app.AsyncApp and/or its core components
  • Adapters in slack_bolt.adapter
  • Others

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions