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
Optional. The resource name of the attachment data. This field is used with the media API to download the attachment data.
↳ attachment_upload_token
string
Optional. 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
Optional. The resource name of the attachment data. This field is used with the media API to download the attachment data.
string
setResourceName
Optional. The resource name of the attachment data. This field is used with the media API to download the attachment data.
var
string
$this
getAttachmentUploadToken
Optional. 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
Optional. 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