Google Apps Chat V1 Client - Class Source (0.4.0)

Reference documentation and code samples for the Google Apps Chat V1 Client class Source.

The source of the attachment.

Protobuf type google.chat.v1.Attachment.Source

Namespace

Google \ Apps \ Chat \ V1 \ Attachment

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SOURCE_UNSPECIFIED

Value: 0

Reserved.

Generated from protobuf enum SOURCE_UNSPECIFIED = 0;

DRIVE_FILE

Value: 1

The file is a Google Drive file.

Generated from protobuf enum DRIVE_FILE = 1;

UPLOADED_CONTENT

Value: 2

The file is uploaded to Chat.

Generated from protobuf enum UPLOADED_CONTENT = 2;