View Source GoogleApi.Chat.V1.Model.Attachment (google_api_chat v0.34.3)
An attachment in Google Chat.
Attributes
-
attachmentDataRef
(type:GoogleApi.Chat.V1.Model.AttachmentDataRef.t
, default:nil
) - A reference to the attachment data. This field is used with the media API to download the attachment data. -
contentName
(type:String.t
, default:nil
) - Output only. The original file name for the content, not the full path. -
contentType
(type:String.t
, default:nil
) - Output only. The content type (MIME type) of the file. -
downloadUri
(type:String.t
, default:nil
) - Output only. The download URL which should be used to allow a human user to download the attachment. Chat apps shouldn't use this URL to download attachment content. -
driveDataRef
(type:GoogleApi.Chat.V1.Model.DriveDataRef.t
, default:nil
) - Output only. A reference to the Google Drive attachment. This field is used with the Google Drive API. -
name
(type:String.t
, default:nil
) - Resource name of the attachment, in the formspaces/*/messages/*/attachments/*
. -
source
(type:String.t
, default:nil
) - Output only. The source of the attachment. -
thumbnailUri
(type:String.t
, default:nil
) - Output only. The thumbnail URL which should be used to preview the attachment to a human user. Chat apps shouldn't use this URL to download attachment content.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Chat.V1.Model.Attachment{ attachmentDataRef: GoogleApi.Chat.V1.Model.AttachmentDataRef.t() | nil, contentName: String.t() | nil, contentType: String.t() | nil, downloadUri: String.t() | nil, driveDataRef: GoogleApi.Chat.V1.Model.DriveDataRef.t() | nil, name: String.t() | nil, source: String.t() | nil, thumbnailUri: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.