Using a custom bot, I can postMessage
s (doc) into a channel (with the bot's auth-token). However, the messages don't show my bot's icon or name, just the default bot's one:
When I change topic, it works fine (i.e. the icon and name of my custom bot appear).
Is there some extra configuration needed?
Seems the as_user=true
param is needed. Doc is somewhat confusing in this regard:
as_user Optional
Pass true to post the message as the authed user, instead of as a bot
The authed user in this case, is the bot whose auth-token you've used.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With