AssistantApiMessageCapabilities

AI Overview😉

  • The potential purpose of this module is to determine how to handle device capabilities and preferences when initiating actions, such as sending chat messages, on multiple devices (primary and secondary/tethered devices). It aims to decide which device should perform the action based on availability, app installation, and user preferences.
  • This module could impact search results by influencing how devices interact with search queries and subsequent actions. For instance, if a user searches for something on their primary device, but the action requires an app that's only installed on their secondary device, this module would decide whether to fall back to the secondary device or not. This could affect the search results' relevance, accuracy, and overall user experience.
  • To be more favorable for this function, a website could ensure that its app is installed and capable of handling actions on both primary and secondary devices. Additionally, the website could provide clear instructions or preferences for users to specify their device preferences, making it easier for the module to make informed decisions. Furthermore, optimizing the website's content and functionality to be device-agnostic could also improve the overall user experience and search results.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.AssistantApiMessageCapabilities (google_api_content_warehouse v0.4.0)

Attributes

  • fallbackToTetheredDeviceAppCapabilities (type: boolean(), default: nil) - If true, APP_ID queries initiated by this device should fall back to execution on the tethered device if it's available and if the primary device cannot perform the action (e.g. due to the app not being installed).
  • preferTargetingPrimaryDevice (type: boolean(), default: nil) - For chat_message.SEND targeting, when either the primary or secondary (tethered) device is capable of handling the chat_message.SEND action, prefer targeting it to the primary device.
  • supportedRecipientTypes (type: list(String.t), default: nil) - Should only be checked if nonempty.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantApiMessageCapabilities{
  fallbackToTetheredDeviceAppCapabilities: boolean() | nil,
  preferTargetingPrimaryDevice: boolean() | nil,
  supportedRecipientTypes: [String.t()] | nil
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.