Skip to main content

attachments

Overview

Nameattachments
TypeResource
Idgoogleworkspace.chat.attachments

Fields

NameDatatypeDescription
namestringResource name of the attachment, in the form "spaces//messages//attachments/*".
downloadUristringOutput only. The download URL which should be used to allow a human user to download the attachment. Chat apps should not use this URL to download attachment content.
driveDataRefobjectA reference to the data of a drive attachment.
sourcestringThe source of the attachment.
thumbnailUristringOutput only. The thumbnail URL which should be used to preview the attachment to a human user. Chat apps should not use this URL to download attachment content.
attachmentDataRefobject
contentNamestringThe original file name for the content, not the full path.
contentTypestringThe content type (MIME type) of the file.

Methods

NameAccessible byRequired Params
spaces_messages_attachments_getSELECTattachmentsId, messagesId, spacesId