getAttachment (method)
Retrieves a message attachment.
Syntax
- (void)getAttachment:(NSString*)id :(NSString*)attachmentId;
public func getAttachment(_ id: String, _ attachmentId: String) throws -> Void
Remarks
This method retrieves an attachment. id specifies the message ID for the message the attachment is attached to.
The fetched attachment can be accessed through the Attachments property.