Module Cephalopod_models.Chat_Bsky_Moderation_GetMessageContext

lexicon "chat.bsky.moderation.getMessageContext"

def main

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

    Conversation that the message is from. NOTE: this field will eventually be required.

    *)
  2. messageId : string;
  3. before : int64 option;
    (*

    default: 5

    *)
  4. after : int64 option;
    (*

    default: 5

    *)
}
val show_main_params : main_params -> Ppx_deriving_runtime.string
val make_main_params : ?convoId:string -> messageId:string -> ?before:int64 -> ?after:int64 -> 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. messages : [ `Chat_bsky_convo_defs_messageview of Types.chat_bsky_convo_defs_messageview | `Chat_bsky_convo_defs_deletedmessageview of Types.chat_bsky_convo_defs_deletedmessageview | `Other of Cephalopod_dasl.Value.t ] list;
}
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