download
public HangoutsChat.Media.Download download(String resourceName)
throws IOException
Downloads media. Download is supported on the URI `/v1/media/{+name}?alt=media`.
Create a request for the method "media.download".
This request holds the parameters needed by the chat server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
resourceName - Name of the media that is being downloaded. See ReadRequest.resource_name.
- Returns:
- the request
- Throws:
IOException