I use https://github.com/jpmens/mqttwarn, a service with slacker in it for posting notifications. There's a user parameter that can be set up that makes a post message appear as a user posted in the configuration of the service. It uses teh as_user parm of the chant message:
Can the files.upload api call support as_user?
I use https://github.com/jpmens/mqttwarn, a service with slacker in it for posting notifications. There's a user parameter that can be set up that makes a post message appear as a user posted in the configuration of the service. It uses teh as_user parm of the chant message:
I've been adding image support, so that an image can be posted to slack from the service (hence the issue: https://github.com/os/slacker/issues/140).
But when I post as image, it comes through as admin, rather than the user as per the chat message.
Though if I'm reading this right: https://api.slack.com/methods/files.upload it's not possible.