Object.Attachments
module Thumbnails : sig ... end
module Image : sig ... end
module FullImage : sig ... end
module Embed : sig ... end
type t = {
content : string; | (* If the attachment is an article, this property contains a snippet of text from the article. It can also include descriptions for other types. *) |
displayName : string; | (* The title of the attachment, such as a photo caption or an article title. *) |
embed : Embed.t; | (* If the attachment is a video, the embeddable link. *) |
fullImage : FullImage.t; | (* The full image URL for photo attachments. *) |
id : string; | (* The ID of the attachment. *) |
image : Image.t; | (* The preview image for photos or videos. *) |
objectType : string; | (* The type of media object. Possible values include, but are not limited to, the following values:
|
thumbnails : Thumbnails.t list; | (* If the attachment is an album, this property is a list of potential additional thumbnails from the album. *) |
url : string; | (* The link to the attachment, which should be of type text/html. *) |
}
val content : ( t, string ) GapiLens.t
val displayName : ( t, string ) GapiLens.t
val embed : ( t, Embed.t ) GapiLens.t
val fullImage : ( t, FullImage.t ) GapiLens.t
val id : ( t, string ) GapiLens.t
val image : ( t, Image.t ) GapiLens.t
val objectType : ( t, string ) GapiLens.t
val thumbnails : ( t, Thumbnails.t list ) GapiLens.t
val url : ( t, string ) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t