UNPKG

nostr-hooks

Version:
9 lines (8 loc) 327 B
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;