Module Cephalopod_models.App_Bsky_Notification_ListNotifications

lexicon "app.bsky.notification.listNotifications"

def main

type main_params = {
  1. reasons : string list option;
    (*

    Notification reasons to include in response.

    *)
  2. limit : int64 option;
    (*

    default: 50 maximum: 100 minimum: 1

    *)
  3. priority : bool option;
  4. cursor : string option;
  5. seenAt : string option;
    (*

    format: "Datetime"

    *)
}
val show_main_params : main_params -> Ppx_deriving_runtime.string
val make_main_params : ?reasons:string list -> ?limit:int64 -> ?priority:bool -> ?cursor:string -> ?seenAt:string -> unit -> main_params
val main_params_of_value : main_params Cephalopod_dasl.Value.Util.conv
val main_params_to_value : main_params -> Cephalopod_dasl.Value.t
type main_output = {
  1. cursor : string option;
  2. notifications : Types.app_bsky_notification_listnotifications_notification list;
  3. priority : bool option;
  4. seenAt : string option;
    (*

    format: "Datetime"

    *)
}
val show_main_output : main_output -> Ppx_deriving_runtime.string
val main_output_of_value : main_output Cephalopod_dasl.Value.Util.conv
val main_output_to_value : main_output -> Cephalopod_dasl.Value.t
val main : (main_params, main_output, unit) Base.query

Enumerate notifications for the requesting account. Requires auth.

def notification

type nonrec notification = Types.app_bsky_notification_listnotifications_notification = {
  1. uri : string;
    (*

    format: "AtUri"

    *)
  2. cid : string;
    (*

    format: "Cid"

    *)
  3. author : Types.app_bsky_actor_defs_profileview;
  4. reason : string;
    (*

    The reason why this notification was delivered - e.g. your post was liked, or you received a new follower. known values: "like"; "repost"; "follow"; "mention"; "reply"; "quote"; "starterpack-joined"; "verified"; "unverified"; "like-via-repost"; "repost-via-repost"

    *)
  5. reasonSubject : string option;
    (*

    format: "AtUri"

    *)
  6. record : Cephalopod_dasl.Value.t;
  7. isRead : bool;
  8. indexedAt : string;
    (*

    format: "Datetime"

    *)
  9. labels : Types.com_atproto_label_defs_label list option;
}