AssistantApiCoreTypesMessageNotification

AI Overview😉

  • The potential purpose of this module is to analyze and understand the context and content of notifications from messaging apps, such as Hangouts, to improve search results and provide more personalized experiences.
  • This module could impact search results by allowing Google to better understand the context of a user's search query, potentially providing more relevant results based on their messaging history and behavior. It may also enable Google to provide more personalized suggestions and answers, taking into account the user's communication patterns and preferences.
  • To be more favorable for this function, a website could focus on providing clear and concise messaging content, using relevant keywords and phrases, and structuring their messaging data in a way that is easily accessible and understandable by Google's algorithms. Additionally, websites could consider implementing features that allow users to easily share and integrate their messaging data with Google's services, such as Google Assistant or Google Search.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

This proto captures the contents of a messaging app notification that is typically part of a conversation thread. Next Id: 21

Attributes

  • appName (type: String.t, default: nil) - App name of the message notification, e.g. Hangouts.
  • bundleId (type: String.t, default: nil) - The key used to group this notification into a cluster.
  • dataUri (type: String.t, default: nil) - Uri for the attachment (image, audio, video etc.).
  • groupName (type: String.t, default: nil) - Name of the group associated with the message notification. This field is set iff this is a group message.
  • groupingKey (type: String.t, default: nil) - The group key of a proactive notification. Details in assistant.api.client_op.NotificationArgs.grouping_key.
  • index (type: integer(), default: nil) - Index of the message notification.
  • markAsReadActionAvailable (type: boolean(), default: nil) - Boolean indicating if the mark_as_read action is available for this message.
  • messageLength (type: integer(), default: nil) - Length of the message/notification content in characters. Note: We can't send the full content because of privacy restriction, preventing sending client content to our backends. Concatenated message_length of all notification_entries.
  • messageRecipientType (type: String.t, default: nil) -
  • messageWordCount (type: integer(), default: nil) - Word count of the message
  • mimeType (type: String.t, default: nil) - Mime type of the data_uri. e.g. 'audio/wav', 'video/mp4', 'image/png'.
  • notificationEntries (type: list(GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotificationNotificationEntry.t), default: nil) -
  • notificationIconKey (type: String.t, default: nil) - On-device cache key for notification icon.
  • notificationKey (type: String.t, default: nil) - String key of the notification. It is the key from original StatusBarNotification received from Android OS. It is used to identify the original notification to send a reply.
  • opaqueToken (type: String.t, default: nil) - The opaque_token of a proactive notification. Details in assistant.api.client_op.NotificationArgs.opaque_token.
  • packageName (type: String.t, default: nil) - App pkg of the message notification, e.g. "com.google.android.talk".
  • postTime (type: String.t, default: nil) - Timestamp of the last notification's post time.
  • replyActionAvailable (type: boolean(), default: nil) - Boolean indicating if the reply action is available for this message.
  • sender (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotificationPerson.t, default: nil) -
  • senderName (type: String.t, default: nil) - Sender's name of the message notification, e.g. Elsa. Last sender name in case of a group conversation.

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.AssistantApiCoreTypesMessageNotification{
    appName: String.t() | nil,
    bundleId: String.t() | nil,
    dataUri: String.t() | nil,
    groupName: String.t() | nil,
    groupingKey: String.t() | nil,
    index: integer() | nil,
    markAsReadActionAvailable: boolean() | nil,
    messageLength: integer() | nil,
    messageRecipientType: String.t() | nil,
    messageWordCount: integer() | nil,
    mimeType: String.t() | nil,
    notificationEntries:
      [
        GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotificationNotificationEntry.t()
      ]
      | nil,
    notificationIconKey: String.t() | nil,
    notificationKey: String.t() | nil,
    opaqueToken: String.t() | nil,
    packageName: String.t() | nil,
    postTime: String.t() | nil,
    replyActionAvailable: boolean() | nil,
    sender:
      GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotificationPerson.t()
      | nil,
    senderName: 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.