Jody Heavener
Jody Heavener

Reputation: 2874

Post Slack message as specific user

I'm building a Slack bot with slash commands and I would like to post a message with an attachment as a specific user (specifically, the user that called the slash command).

I know this is possible because the Giphy Slack integration does so when responding to the /giphy [image] command, by responding as the user with a gif image.

In the slash request Slack does provide both user_id and user_name parameters, so I imagine I can make use of those.

Upvotes: 1

Views: 653

Answers (1)

Jody Heavener
Jody Heavener

Reputation: 2874

I reached out to Slack with this question, and unfortunately at this time it doesn't look like what I'm asking for is possible. The Giphy Slack integration was internally built.

Maybe in the future!

Upvotes: 3

Related Questions