Google Apps Chat V1 Client - Class CustomEmojiPayload (0.12.0)

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

Payload data for the custom emoji.

Generated from protobuf message google.chat.v1.CustomEmoji.CustomEmojiPayload

Namespace

Google \ Apps \ Chat \ V1 \ CustomEmoji

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ file_content
string

Required. Input only. The image used for the custom emoji. The payload must be under 256 KB and the dimension of the image must be square and between 64 and 500 pixels. The restrictions are subject to change.

↳ filename
string

Required. Input only. The image file name. Supported file extensions: .png , .jpg , .gif .

getFileContent

Required. Input only. The image used for the custom emoji.

The payload must be under 256 KB and the dimension of the image must be square and between 64 and 500 pixels. The restrictions are subject to change.

Returns
Type
Description
string

setFileContent

Required. Input only. The image used for the custom emoji.

The payload must be under 256 KB and the dimension of the image must be square and between 64 and 500 pixels. The restrictions are subject to change.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getFilename

Required. Input only. The image file name.

Supported file extensions: .png , .jpg , .gif .

Returns
Type
Description
string

setFilename

Required. Input only. The image file name.

Supported file extensions: .png , .jpg , .gif .

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: