Google Apps Chat V1 Client - Class CitedSource (0.31.0)

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

A reference to a source of information.

Generated from protobuf message google.chat.v1.CitedSource

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ title string

Required. The plaintext title of the CitedSource. Does not support markdown format.

↳ uri string

Required. The URI pointing to the resource referenced by this CitedSource.

↳ snippet CitedSource\Snippet

Optional. Snippet containing information directly from the source.

↳ footer CitedSource\Footer

Optional. Additional information to show alongside the snippet in the form of a footer.

getTitle

Required. The plaintext title of the CitedSource. Does not support markdown format.

Returns
Type Description
string

setTitle

Required. The plaintext title of the CitedSource. Does not support markdown format.

Parameter
Name Description
var string
Returns
Type Description
$this

getUri

Required. The URI pointing to the resource referenced by this CitedSource.

Returns
Type Description
string

setUri

Required. The URI pointing to the resource referenced by this CitedSource.

Parameter
Name Description
var string
Returns
Type Description
$this

getSnippet

Optional. Snippet containing information directly from the source.

Returns
Type Description
CitedSource\Snippet|null

hasSnippet

clearSnippet

setSnippet

Optional. Snippet containing information directly from the source.

Parameter
Name Description
var CitedSource\Snippet
Returns
Type Description
$this

getFooter

Optional. Additional information to show alongside the snippet in the form of a footer.

Returns
Type Description
CitedSource\Footer|null

hasFooter

clearFooter

setFooter

Optional. Additional information to show alongside the snippet in the form of a footer.

Parameter
Name Description
var CitedSource\Footer
Returns
Type Description
$this