module Message:sig..end
type t = {
|
historyId : |
(* |
The ID of the last history record that modified this message.
| *) |
|
id : |
(* |
The immutable ID of the message.
| *) |
|
internalDate : |
(* |
The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header.
| *) |
|
labelIds : |
(* |
List of IDs of labels applied to this message.
| *) |
|
payload : |
(* |
The parsed email structure in the message parts.
| *) |
|
raw : |
(* |
The entire email message in an RFC 2822 formatted and base64url encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.
| *) |
|
sizeEstimate : |
(* |
Estimated size in bytes of the message.
| *) |
|
snippet : |
(* |
A short part of the message text.
| *) |
|
threadId : |
(* |
The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met:
| *) |
val historyId : (t, string) GapiLens.t
val id : (t, string) GapiLens.t
val internalDate : (t, int64) GapiLens.t
val labelIds : (t, string list) GapiLens.t
val payload : (t, GapiGmailV1Model.MessagePart.t) GapiLens.t
val raw : (t, string) GapiLens.t
val sizeEstimate : (t, int) GapiLens.t
val snippet : (t, string) GapiLens.t
val threadId : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t ->
GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t