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

Send Slack Message to user #120

Open
Agiomir opened this issue Aug 11, 2021 · 1 comment
Open

Send Slack Message to user #120

Agiomir opened this issue Aug 11, 2021 · 1 comment

Comments

@Agiomir
Copy link

Agiomir commented Aug 11, 2021

Hello
, according to example 1, you can send message to Direct user if you enter :
-Channel '@username'

I tried but it sends message to the channel that i have chosen in the creation of Incoming Webhook Uri. Also, i tried to enter another channel name, but again it sends message to default channel again

Please can you help?

Thank you

@nicwendlowsky-carbon
Copy link

@Agiomir You can't send direct messages to users with Webhooks (Slack doesn't allow this). In order to do that, you have to setup up your Slack App with Bot permissions where you'll get a Bot User Token which allows you to send direct messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants