Module Values.StartPositionSource

A filtering option for where to start. For example, if you sent 100 messages, start with message 50.

Sourcetype nonrec t = {
  1. id : ChatItemId.t option;
    (*

    The ID of the message or event where to start.

    *)
  2. absoluteTime : Instant.t option;
    (*

    The time in ISO format where to start. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

    *)
  3. mostRecent : MostRecent.t option;
    (*

    The start position of the most recent message where you want to start.

    *)
}
Sourceval make : ?id:??? -> ?absoluteTime:??? -> ?mostRecent:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of MostRecent.t | `String of ChatItemId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t