Module Cephalopod_models.App_Bsky_Graph_List

lexicon "app.bsky.graph.list"

def main

type main = {
  1. purpose : Types.app_bsky_graph_defs_listpurpose;
    (*

    Defines the purpose of the list (aka, moderation-oriented or curration-oriented)

    *)
  2. name : string;
    (*

    Display name for list; can not be empty. maximum length: 64 minimum length: 1

    *)
  3. description : string option;
    (*

    maximum length: 3000

    *)
  4. descriptionFacets : Types.app_bsky_richtext_facet_main list option;
  5. avatar : Cephalopod_dasl.Blob.t option;
    (*

    accept: (AcceptN "image/png"; "image/jpeg") max size: 1000000

    *)
  6. labels : [ `Com_atproto_label_defs_selflabels of Types.com_atproto_label_defs_selflabels | `Other of Cephalopod_dasl.Value.t ] option;
  7. createdAt : string;
    (*

    format: "Datetime"

    *)
}

Record representing a list of accounts (actors). Scope includes both moderation-oriented lists and curration-oriented lists.

val make_main : purpose:Types.app_bsky_graph_defs_listpurpose -> name:string -> ?description:string -> ?descriptionFacets:Types.app_bsky_richtext_facet_main list -> ?avatar:Cephalopod_dasl.Blob.t -> ?labels: [ `Com_atproto_label_defs_selflabels of Types.com_atproto_label_defs_selflabels | `Other of Cephalopod_dasl.Value.t ] -> createdAt:string -> unit -> main
val main_to_value : main -> Cephalopod_dasl.Value.t