Reference documentation and code samples for the Google Apps Chat V1 Client class Suggestions.
Suggested values that users can enter. These values appear when users click
inside the text input field. As users type, the suggested values
dynamically filter to match what the users have typed.
For example, a text input field for programming language might suggest
Java, JavaScript, Python, and C++. When users start typingJav, the list
of suggestions filters to showJavaandJavaScript.
Suggested values help guide users to enter values that your app can make
sense of. When referring to JavaScript, some users might enterjavascriptand othersjava script. SuggestingJavaScriptcan standardize how users
interact with your app.
When specified,TextInput.typeis alwaysSINGLE_LINE, even if it's set
toMULTIPLE_LINE.Google Workspace
Add-ons and Chat apps:
Generated from protobuf messagegoogle.apps.card.v1.Suggestions
[[["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 Suggestions (0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/php/docs/reference/apps-chat/latest/Card.V1.Suggestions)\n- [0.11.2](/php/docs/reference/apps-chat/0.11.2/Card.V1.Suggestions)\n- [0.10.0](/php/docs/reference/apps-chat/0.10.0/Card.V1.Suggestions)\n- [0.9.0](/php/docs/reference/apps-chat/0.9.0/Card.V1.Suggestions)\n- [0.8.1](/php/docs/reference/apps-chat/0.8.1/Card.V1.Suggestions)\n- [0.7.2](/php/docs/reference/apps-chat/0.7.2/Card.V1.Suggestions)\n- [0.6.1](/php/docs/reference/apps-chat/0.6.1/Card.V1.Suggestions)\n- [0.5.0](/php/docs/reference/apps-chat/0.5.0/Card.V1.Suggestions)\n- [0.4.0](/php/docs/reference/apps-chat/0.4.0/Card.V1.Suggestions)\n- [0.3.0](/php/docs/reference/apps-chat/0.3.0/Card.V1.Suggestions)\n- [0.2.0](/php/docs/reference/apps-chat/0.2.0/Card.V1.Suggestions)\n- [0.1.4](/php/docs/reference/apps-chat/0.1.4/Card.V1.Suggestions) \nReference documentation and code samples for the Google Apps Chat V1 Client class Suggestions.\n\nSuggested values that users can enter. These values appear when users click\ninside the text input field. As users type, the suggested values\ndynamically filter to match what the users have typed.\n\nFor example, a text input field for programming language might suggest\nJava, JavaScript, Python, and C++. When users start typing `Jav`, the list\nof suggestions filters to show `Java` and `JavaScript`.\nSuggested values help guide users to enter values that your app can make\nsense of. When referring to JavaScript, some users might enter `javascript`\nand others `java script`. Suggesting `JavaScript` can standardize how users\ninteract with your app.\nWhen specified, `TextInput.type` is always `SINGLE_LINE`, even if it's set\nto `MULTIPLE_LINE`.\n[Google Workspace\nAdd-ons and Chat apps](https://developers.google.com/workspace/extend):\n\nGenerated from protobuf message `google.apps.card.v1.Suggestions`\n\nNamespace\n---------\n\nGoogle \\\\ Apps \\\\ Card \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getItems\n\nA list of suggestions used for autocomplete recommendations in text input\nfields.\n\n### setItems\n\nA list of suggestions used for autocomplete recommendations in text input\nfields."]]