<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def send_image(self, url, name, **imageinfo):
 """Send a pre-uploaded image to the room. See http://matrix.org/docs/spec/r0.0.1/client_server.html#m-image for imageinfo Args: url (str):
 The mxc url of the image. name (str):
 The filename of the image. imageinfo ():
 Extra information about the image. """

        return self.client.api.send_content(
            self.room_id, url, name, "m.image",
            extra_information=imageinfo
        )