nostr-hooks
Version:
React hooks for developing Nostr clients
9 lines (8 loc) • 327 B
TypeScript
import { Nip29GroupJoinRequest } from '../../../types';
export declare const sendGroupJoinRequest: ({ relay, groupId, joinRequest, onSuccess, onError, }: {
relay: string;
groupId: string;
joinRequest: Pick<Nip29GroupJoinRequest, "reason" | "code">;
onSuccess?: () => void;
onError?: () => void;
}) => void;