# How to set avatar for chat

**URL:** <https://devforum.zoom.us/t/how-to-set-avatar-for-chat/65358>\
**Category:** Web\
**Created:** [March 7, 2022, 2:24pm UTC](https://devforum.zoom.us/t/how-to-set-avatar-for-chat/65358 "2022-03-07T14:24:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ol\_mas](https://avatars.discourse-cdn.com/v4/letter/o/f14d63/32.png) [@ol\_mas](https://devforum.zoom.us/u/ol_mas)\
**Post date:** [March 7, 2022, 2:24pm UTC](https://devforum.zoom.us/t/how-to-set-avatar-for-chat/65358/1 "2022-03-07T14:24:10Z")

</div>

**Description**  
The payload received on new chat message includes sender.avatar property. How is this property is set to make use of it? Thanks.

**Which Web Video SDK version?**  
1.1.6

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [March 11, 2022, 3:34am UTC](https://devforum.zoom.us/t/how-to-set-avatar-for-chat/65358/2 "2022-03-11T03:34:35Z")

</div>

Hey @ol_mas

Thanks for your feedback.

The `avatar` property comes from the login user with a Zoom account. If you want to show the avatar in chat, here is a workaround: Using the `userId` to bind to the account of your own application after joining the session, then you can refer to the avatar of your own app. Hope this can help you.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![ol\_mas](https://avatars.discourse-cdn.com/v4/letter/o/f14d63/32.png) [@ol\_mas](https://devforum.zoom.us/u/ol_mas)\
**Post date:** [March 11, 2022, 2:32pm UTC](https://devforum.zoom.us/t/how-to-set-avatar-for-chat/65358/3 "2022-03-11T14:32:57Z")

</div>

Thanks, that’s what I did already!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 11, 2022, 12:33am UTC](https://devforum.zoom.us/t/how-to-set-avatar-for-chat/65358/4 "2022-04-11T00:33:29Z")

</div>

Closed on April 11, 2022, 12:33am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
