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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Apps Chat V1 Client - Class CustomEmojiPayload (0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/php/docs/reference/apps-chat/latest/Chat.V1.CustomEmoji.CustomEmojiPayload)\n- [0.11.2](/php/docs/reference/apps-chat/0.11.2/Chat.V1.CustomEmoji.CustomEmojiPayload)\n- [0.10.0](/php/docs/reference/apps-chat/0.10.0/Chat.V1.CustomEmoji.CustomEmojiPayload)\n- [0.9.0](/php/docs/reference/apps-chat/0.9.0/Chat.V1.CustomEmoji.CustomEmojiPayload)\n- [0.8.1](/php/docs/reference/apps-chat/0.8.1/Chat.V1.CustomEmoji.CustomEmojiPayload)\n- [0.7.2](/php/docs/reference/apps-chat/0.7.2/Chat.V1.CustomEmoji.CustomEmojiPayload)\n- [0.6.1](/php/docs/reference/apps-chat/0.6.1/Chat.V1.CustomEmoji.CustomEmojiPayload)\n- [0.5.0](/php/docs/reference/apps-chat/0.5.0/Chat.V1.CustomEmoji.CustomEmojiPayload)\n- [0.4.0](/php/docs/reference/apps-chat/0.4.0/Chat.V1.CustomEmoji.CustomEmojiPayload)\n- [0.3.0](/php/docs/reference/apps-chat/0.3.0/Chat.V1.CustomEmoji.CustomEmojiPayload)\n- [0.2.0](/php/docs/reference/apps-chat/0.2.0/Chat.V1.CustomEmoji.CustomEmojiPayload)\n- [0.1.4](/php/docs/reference/apps-chat/0.1.4/Chat.V1.CustomEmoji.CustomEmojiPayload) \nReference documentation and code samples for the Google Apps Chat V1 Client class CustomEmojiPayload.\n\nPayload data for the custom emoji.\n\nGenerated from protobuf message `google.chat.v1.CustomEmoji.CustomEmojiPayload`\n\nNamespace\n---------\n\nGoogle \\\\ Apps \\\\ Chat \\\\ V1 \\\\ CustomEmoji\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getFileContent\n\nRequired. Input only. The image used for the custom emoji.\n\nThe payload must be under 256 KB and the dimension of\nthe image must be square and between 64 and 500 pixels. The\nrestrictions are subject to change.\n\n### setFileContent\n\nRequired. Input only. The image used for the custom emoji.\n\nThe payload must be under 256 KB and the dimension of\nthe image must be square and between 64 and 500 pixels. The\nrestrictions are subject to change.\n\n### getFilename\n\nRequired. Input only. The image file name.\n\nSupported file extensions: `.png`, `.jpg`, `.gif`.\n\n### setFilename\n\nRequired. Input only. The image file name.\n\nSupported file extensions: `.png`, `.jpg`, `.gif`."]]