我假设给定消息的每个附件都有一个唯一的attachmentId,我可以在需要时用它来引用该附件.似乎这个假设是不正确的.
每次为Google的GMail API(https://developers.google.com/gmail/api/v1/reference/users/messages/get)调用Users.messages.get服务以检索包含附件的邮件时,返回的attachmentId是不同的,即使使用相同的messageId.我怎样才能找到"真正的"attachmentId?
google-api gmail-api
gmail-api ×1
google-api ×1