AssistantApiCoreTypesMessageNotificationNotificationEntry

GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotificationNotificationEntry


Table of Contents ▼

Jump to a specific part of the page:

Description

Structure of each notification in the MessageNotification Bundle. Attribute sender_name could be different in case of group messages. Next Id: 9

Attributes List

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

View Attributes

Attributes

  1. audioDuration (type: String.t, default: nil)
    - Duration of audio message.
  2. charCount (type: integer(), default: nil)
    - Count of characters in the message body in the notification.
  3. dataUri (type: String.t, default: nil)
    - Uri for the attachment (image, audio, video etc.).
  4. messageBody (type: String.t, default: nil)
    - Note that this is not present in production traffic. Content of the message body in the notification.
  5. mimeType (type: String.t, default: nil)
    - Mime type of the data_uri. e.g. 'audio/wav', 'video/mp4', 'image/png'.
  6. postTime (type: DateTime.t, default: nil)
    - Timestamp of the notification's post time.
  7. sender (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotificationPerson, default: nil)
    - Sender of the message notification.
  8. wordCount (type: integer(), default: nil)
    - Count of words in the message body in the notification.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotificationNotificationEntry{
audioDuration: String.t() | nil,
charCount: integer() | nil,
dataUri: String.t() | nil,
messageBody: String.t() | nil,
mimeType: String.t() | nil,
postTime: DateTime.t() | nil,
sender: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotificationPerson.t() | nil,
wordCount: integer() | nil
}

Function

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

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