mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
16 lines
471 B
TypeScript
16 lines
471 B
TypeScript
import { invokeTauri } from "@/shared/api/tauri";
|
|
|
|
export async function hasManagedAgentChannelMessageMarker(input: {
|
|
channelId: string;
|
|
marker: string;
|
|
agentPubkey?: string;
|
|
markerScope?: "agent" | "channel";
|
|
}): Promise<boolean> {
|
|
return invokeTauri<boolean>("has_managed_agent_channel_message_marker", {
|
|
channelId: input.channelId,
|
|
marker: input.marker,
|
|
agentPubkey: input.agentPubkey ?? null,
|
|
markerScope: input.markerScope ?? null,
|
|
});
|
|
}
|