Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "reply_broadcast" parameter in webhook API #1068

Merged
merged 1 commit into from Jun 6, 2022

Conversation

jjaxu
Copy link
Contributor

@jjaxu jjaxu commented May 19, 2022

Hello!

Slack's Webhook API actually supports the "reply_broadcast" parameter when sending replies, just like its chat.postMessage API although it's not documented explicitly in its webhook API docs. (I discovered it while working on a Slack bot for work).

The webhook SDK currently doesn't support this (it's only supported in PostMessageParameters), so I would like to add this to the WebhookMessage struct as well so it can be used for webhooks.

Note:
The default value of this parameter is false when not specified, so there won't be any breaking changes.

Hopefully, this can get accepted so I can start using the SDK over raw HTTP requests.
Thanks!

Copy link
Member

@kanata2 kanata2 left a comment

Choose a reason for hiding this comment

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

LGTM!

@kanata2 kanata2 merged commit 1010af8 into slack-go:master Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants