UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 577 B
/** * ```js * import { onLocalInvitationCreated } from '@amityco/ts-sdk' * const dispose = onLocalInvitationCreated(data => { * // ... * }) * ``` * * Fired when an {@link Amity.InvitationPayload} has been created * * @param callback The function to call when the event was fired * @returns an {@link Amity.Unsubscriber} function to stop listening * * @category Invitation Events */ export declare const onLocalInvitationCreated: (callback: Amity.Listener<Amity.InternalInvitation[]>) => Amity.Unsubscriber; //# sourceMappingURL=onLocalInvitationCreated.d.ts.map