Module Cephalopod_models.App_Bsky_Actor_Profile

lexicon "app.bsky.actor.profile"

def main

type main = {
  1. displayName : string option;
    (*

    maximum length: 640

    *)
  2. description : string option;
    (*

    Free-form profile description text. maximum length: 2560

    *)
  3. avatar : Cephalopod_dasl.Blob.t option;
    (*

    Small image to be displayed next to posts from account. AKA, 'profile picture' accept: (AcceptN "image/png"; "image/jpeg") max size: 1000000

    *)
  4. banner : Cephalopod_dasl.Blob.t option;
    (*

    Larger horizontal image to display behind profile view. accept: (AcceptN "image/png"; "image/jpeg") max size: 1000000

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

    Self-label values, specific to the Bluesky application, on the overall account.

    *)
  6. joinedViaStarterPack : Types.com_atproto_repo_strongref_main option;
  7. pinnedPost : Types.com_atproto_repo_strongref_main option;
  8. createdAt : string option;
    (*

    format: "Datetime"

    *)
}

A declaration of a Bluesky account profile.

val make_main : ?displayName:string -> ?description:string -> ?avatar:Cephalopod_dasl.Blob.t -> ?banner:Cephalopod_dasl.Blob.t -> ?labels: [ `Com_atproto_label_defs_selflabels of Types.com_atproto_label_defs_selflabels | `Other of Cephalopod_dasl.Value.t ] -> ?joinedViaStarterPack:Types.com_atproto_repo_strongref_main -> ?pinnedPost:Types.com_atproto_repo_strongref_main -> ?createdAt:string -> unit -> main
val main_to_value : main -> Cephalopod_dasl.Value.t