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

allow send message as bot #104

Open
Wing924 opened this issue Feb 21, 2019 · 2 comments · May be fixed by #105
Open

allow send message as bot #104

Wing924 opened this issue Feb 21, 2019 · 2 comments · May be fixed by #105

Comments

@Wing924
Copy link

Wing924 commented Feb 21, 2019

Please allow send message as slack app bot account.
We need as_user=false when use bot token.

Wing924 pushed a commit to Wing924/slack-cli that referenced this issue Feb 21, 2019
@Wing924 Wing924 linked a pull request Feb 21, 2019 that will close this issue
@berezovskyi
Copy link

Unfortunately it got deprecated and no longer works:

"deprecated_argument": "as_user"

@tjg37
Copy link

tjg37 commented Sep 9, 2020

@Wing924 It's possible to send a message as a bot by adding the chat:write:bot permission to your app (See docs), and then adding the bot to the channel where you want to post your message. You'll need to initialize using the Bot User OAuth Access Token and not the OAuth Access Token.

I hope that his helps.

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

Successfully merging a pull request may close this issue.

3 participants