AssistantApiCoreTypesMessageNotification

GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotification


Table of Contents ▼

Jump to a specific part of the page:

Description

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

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. appName (type: String.t, default: nil)
    - App name of the message notification, e.g. Hangouts.
  2. bundleId (type: String.t, default: nil)
    - The key used to group this notification into a cluster.
  3. dataUri (type: String.t, default: nil)
    - Uri for the attachment (image, audio, video etc.).
  4. 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.
  5. groupingKey (type: String.t, default: nil)
    - The group key of a proactive notification. Details in assistant.api.client_op.NotificationArgs.grouping_key.
  6. index (type: integer(), default: nil)
    - Index of the message notification.
  7. markAsReadActionAvailable (type: boolean(), default: nil)
    - Boolean indicating if the mark_as_read action is available for this message.
  8. 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.
  9. messageRecipientType (type: String.t, default: nil)
    -
  10. messageWordCount (type: integer(), default: nil)
    - Word count of the message
  11. mimeType (type: String.t, default: nil)
    - Mime type of the data_uri. e.g. 'audio/wav', 'video/mp4', 'image/png'.
  12. notificationEntries (type: list(GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotificationNotificationEntry), default: nil)
    -
  13. notificationIconKey (type: String.t, default: nil)
    - On-device cache key for notification icon.
  14. 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.
  15. opaqueToken (type: String.t, default: nil)
    - The opaque_token of a proactive notification. Details in assistant.api.client_op.NotificationArgs.opaque_token.
  16. packageName (type: String.t, default: nil)
    - App pkg of the message notification, e.g. "com.google.android.talk".
  17. postTime (type: String.t, default: nil)
    - Timestamp of the last notification's post time.
  18. replyActionAvailable (type: boolean(), default: nil)
    - Boolean indicating if the reply action is available for this message.
  19. sender (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotificationPerson, default: nil)
    -
  20. 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.

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotification