Added has_media to unread messages API