fetchAttachment (method)
Retrieves a message attachment.
Syntax
- (void)fetchAttachment:(NSString*)id :(NSString*)attachmentId;
public func fetchAttachment(_ 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 Attachment* properties.