[[["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 Image (0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/php/docs/reference/apps-chat/latest/Card.V1.Image)\n- [0.11.2](/php/docs/reference/apps-chat/0.11.2/Card.V1.Image)\n- [0.10.0](/php/docs/reference/apps-chat/0.10.0/Card.V1.Image)\n- [0.9.0](/php/docs/reference/apps-chat/0.9.0/Card.V1.Image)\n- [0.8.1](/php/docs/reference/apps-chat/0.8.1/Card.V1.Image)\n- [0.7.2](/php/docs/reference/apps-chat/0.7.2/Card.V1.Image)\n- [0.6.1](/php/docs/reference/apps-chat/0.6.1/Card.V1.Image)\n- [0.5.0](/php/docs/reference/apps-chat/0.5.0/Card.V1.Image)\n- [0.4.0](/php/docs/reference/apps-chat/0.4.0/Card.V1.Image)\n- [0.3.0](/php/docs/reference/apps-chat/0.3.0/Card.V1.Image)\n- [0.2.0](/php/docs/reference/apps-chat/0.2.0/Card.V1.Image)\n- [0.1.4](/php/docs/reference/apps-chat/0.1.4/Card.V1.Image) \nReference documentation and code samples for the Google Apps Chat V1 Client class Image.\n\nAn image that is specified by a URL and can have an `onClick` action. For an\nexample, see [Add an\nimage](https://developers.google.com/workspace/chat/add-text-image-card-dialog#add_an_image).\n\n[Google Workspace Add-ons and Chat\napps](https://developers.google.com/workspace/extend):\n\nGenerated from protobuf message `google.apps.card.v1.Image`\n\nNamespace\n---------\n\nGoogle \\\\ Apps \\\\ Card \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getImageUrl\n\nThe HTTPS URL that hosts the image.\n\nFor example: \n\n https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png\n\n### setImageUrl\n\nThe HTTPS URL that hosts the image.\n\nFor example: \n\n https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png\n\n### getOnClick\n\nWhen a user clicks the image, the click triggers this action.\n\n### hasOnClick\n\n### clearOnClick\n\n### setOnClick\n\nWhen a user clicks the image, the click triggers this action.\n\n### getAltText\n\nThe alternative text of this image that's used for accessibility.\n\n### setAltText\n\nThe alternative text of this image that's used for accessibility."]]