Skip to main content
Set or clear the group chat icon using space.avatar() or the canonical avatar() content builder:
Read the current icon back with space.getAvatar(). It resolves to or undefined when the group has no icon. The result round-trips into the setter:
Group avatars require @spectrum-ts/imessage and only work on group chats. With @spectrum-ts/imessage-local, or on a DM, avatar() and getAvatar() throw an .