code: def _extract_image_urls(arg: Message_T) -> List[str]:
      
      arg_as_msg = Message(arg)
      return [s.data['url'] for s in arg_as_msg
              if s.type == 'image' and 'url' in s.data]
docs: Extract all image urls from a message-like object.