Reference documentation and code samples for the Google Apps Chat V1 Client class AttachmentDataRef.
A reference to the attachment data.
Generated from protobuf message google.chat.v1.AttachmentDataRef
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ resource_name
string
The resource name of the attachment data. This field is used with the media API to download the attachment data.
↳ attachment_upload_token
string
Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.
getResourceName
The resource name of the attachment data. This field is used with the media API to download the attachment data.
string
setResourceName
The resource name of the attachment data. This field is used with the media API to download the attachment data.
var
string
$this
getAttachmentUploadToken
Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.
string
setAttachmentUploadToken
Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.
var
string
$this