nostr-hooks
Version:
React hooks for developing Nostr clients
9 lines (8 loc) • 340 B
TypeScript
import { Nip29GroupThreadComment } from '../../../types';
export declare const sendGroupThreadComment: ({ relay, groupId, threadComment, onSuccess, onError, }: {
relay: string;
groupId: string;
threadComment: Pick<Nip29GroupThreadComment, "content" | "rootId">;
onSuccess?: () => void;
onError?: () => void;
}) => void;