code: async def on_raw_metadata(self, message):
          
          target, targetmeta = self._parse_user(message.params[0])
          key, visibility, value = message.params[1:4]
          if visibility == VISIBLITY_ALL:
              visibility = None
  
          if target in self.users:
              self._sync_user(target, targetmeta)
          await self.on_metadata(target, key, value, visibility=visibility)
docs: Metadata event.