Get a list of attachments in messages without downloading the entire message

I want to get a list of attachments for a message without downloading the entire message.

Using "Users.messages: get" we can set the returned fields, but we can only select the "payload", which will return all the payload for the message

https://developers.google.com/gmail/api/v1/reference/users/messages/get#try-it

I only need a list of attachments so that the user can choose which application to go to and retrieve.

Is there a more efficient way to do this?

Thank you for your help,

Paul C

+4
source share
1 answer

, . , get? Format = FULL ( ) - , , . , ( , , , , MIME-, , .eml ..).

+2

Source: https://habr.com/ru/post/1546520/


All Articles