Module Cephalopod_models.App_Bsky_Actor_Status

lexicon "app.bsky.actor.status"

def main

type main = {
  1. status : string;
    (*

    The status for the account. known values: "app.bsky.actor.status#live"

    *)
  2. embed : [ `App_bsky_embed_external_main of Types.app_bsky_embed_external_main | `Other of Cephalopod_dasl.Value.t ] option;
    (*

    An optional embed associated with the status.

    *)
  3. durationMinutes : int64 option;
    (*

    The duration of the status in minutes. Applications can choose to impose minimum and maximum limits. minimum: 1

    *)
  4. createdAt : string;
    (*

    format: "Datetime"

    *)
}

A declaration of a Bluesky account status.

val make_main : status:string -> ?embed: [ `App_bsky_embed_external_main of Types.app_bsky_embed_external_main | `Other of Cephalopod_dasl.Value.t ] -> ?durationMinutes:int64 -> createdAt:string -> unit -> main
val main_to_value : main -> Cephalopod_dasl.Value.t

def live

val live_to_value : [ `App_bsky_actor_status_live ] -> Cephalopod_dasl.Value.t