To edit the icon that appears in chat on Teams, you'll need to visit, once you've logged on with your Microsoft credentials, select 'my bots' and then find the bot whose icon you want to change.
Hit 'Settings' in the top right hand corner and then you should see the option to upload a new icon; it must be less than 30k and a png file only.

Did this answer your question?