Skip to content

Add unfurl_links / unfurl_media to WebhookClient#send method #1045

@seratch

Description

@seratch

The WebhookClient#send method does not support the following parameters.

  • unfurl_links: bool
  • unfurl_media: bool

As a workaround, developers can use WebhookClient#send_dict at the moment. We can improve the #send method to have these parameters for both WebhookClient and AsyncWebhookClient.

References:

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

  • slack_sdk.web.WebClient (sync/async) (Web API client)
  • slack_sdk.webhook.WebhookClient (sync/async) (Incoming Webhook, response_url sender)
  • slack_sdk.models (UI component builders)
  • slack_sdk.oauth (OAuth Flow Utilities)
  • slack_sdk.socket_mode (Socket Mode client)
  • slack_sdk.audit_logs (Audit Logs API client)
  • slack_sdk.scim (SCIM API client)
  • slack_sdk.rtm (RTM client)
  • slack_sdk.signature (Request Signature Verifier)

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

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions