Google Chat V1 API - Class Google::Apps::Chat::V1::CustomEmoji::CustomEmojiPayload (v0.12.0)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::CustomEmoji::CustomEmojiPayload.

Payload data for the custom emoji.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#file_content

def file_content() -> ::String
Returns
  • (::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.

#file_content=

def file_content=(value) -> ::String
Parameter
  • value (::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.

Returns
  • (::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

def filename() -> ::String
Returns
  • (::String) — Required. Input only. The image file name.

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

#filename=

def filename=(value) -> ::String
Parameter
  • value (::String) — Required. Input only. The image file name.

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

Returns
  • (::String) — Required. Input only. The image file name.

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