download
  public final ByteArray downloadBytes(String identifier, String attachmentId, FindAttachmentQueryParams queryParams, RequestOverrides overrides)
public final ByteArray downloadBytes(String identifier, String attachmentId, FindAttachmentQueryParams queryParams)
Download the attachment as a byte array
Return
The raw file data
Parameters
identifier
Grant ID or email account to query
attachment
The id of the attachment to download.
query
The query parameters to include in the request
overrides
Optional request overrides to apply