View Source GoogleApi.Chat.V1.Model.GoogleAppsCardV1Suggestions (google_api_chat v0.34.0)

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 typing Jav, the list of suggestions filters to show Java and JavaScript. Suggested values help guide users to enter values that your app can make sense of. When referring to JavaScript, some users might enter javascript and others java script. Suggesting JavaScript can standardize how users interact with your app. When specified, TextInput.type is always SINGLE_LINE, even if it's set to MULTIPLE_LINE. Google Workspace Add-ons and Chat apps:

Attributes

  • items (type: list(GoogleApi.Chat.V1.Model.GoogleAppsCardV1SuggestionItem.t), default: nil) - A list of suggestions used for autocomplete recommendations in text input fields.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1Suggestions{
  items: [GoogleApi.Chat.V1.Model.GoogleAppsCardV1SuggestionItem.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.