Webhook created for bot account does not show but profile pic

I crated an incoming webhook with

mmctl webhook create-incoming --channel 37zu8p4r57dcid7pnissiqjpme --user 7er85kttnpy6dgbhrujkyxidnh --local
Id: rgotkujrfffk9y91xdr74jf7oh
Display Name: 

When when I use the Webhook I see this:

Is there a way to inherit the user’s profile pic?

The bot’s correct profile image is:

You can pass an ICON_URL in your call.

1 Like

Hello John! Thanks for the tip! I did end up using that variable but I’d like to know if it’s possible to fully post as a user without having to resort to inserting links. Is there a way to get the bot’s profile image from the server and not an external URL? (without having to host a file server, etc)

Thanks again!

I don’t know. You could try asking in https://community.mattermost.com in the Developers channel

1 Like

Sure, just use your browser to connect to Mattermost and open the Developer Console. With the pick tool on the left side above (tab “Elements”) click on the profile picture of the bot. You will then see the url to its profile picture which will point to an image on your Mattermost server.

2 Likes

Perfect, thank you so much @rtfm98 !!

1 Like