iOS - download attachment from Gmail using messageId and attachmentId
I am following Google Gmail API documentation in my iOS project where I need to download an attachment from a mail by using it userId, messageId and id Try out from Google . Where userId is user's Email address, id is mailId ( Try it.Enter only your EmailId ) messageId is which we get by using an one of above id which has an attachment. This is so far the code which I am have: - (void)fetchLabels { GTLQueryGmail *query = [GTLQueryGmail queryForUsersThreadsList]; [self.service executeQuery:query delegate:self didFinishSelector:@selector(displayResultWithTicket:finishedWithObject:error:)]; } -