Module Comment.Object

type t = {
content : string;

The HTML-formatted content, suitable for display.

objectType : string;

The object type of this comment. Possible values are:

  • "comment" - A comment in reply to an activity.
originalContent : string;

The content (text) as provided by the author, stored without any HTML formatting. When creating or updating a comment, this value must be supplied as plain text in the request.

}
val content : (t, string) GapiLens.t
val objectType : (t, string) GapiLens.t
val originalContent : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t