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):
Attributes
-
audioDuration
(type:String.t
, default:nil
)
- Duration of audio message. -
charCount
(type:integer()
, default:nil
)
- Count of characters in the message body in the notification. -
dataUri
(type:String.t
, default:nil
)
- Uri for the attachment (image, audio, video etc.). -
messageBody
(type:String.t
, default:nil
)
- Note that this is not present in production traffic. Content of the message body in the notification. -
mimeType
(type:String.t
, default:nil
)
- Mime type of the data_uri. e.g. 'audio/wav', 'video/mp4', 'image/png'. -
postTime
(type:DateTime.t
, default:nil
)
- Timestamp of the notification's post time. -
sender
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotificationPerson
, default:nil
)
- Sender of the message notification. -
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
}
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