UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 663 B
/** * ```js * import { getInvitation } from '@amityco/ts-sdk-react-native' * const { invitation } = await getInvitation(targetType, targetId) * ``` * * Get a {@link Amity.Invitation} object * * @param targetType The type of the target of the {@link Amity.Invitation} * @param targetId The ID of the target of the {@link Amity.Invitation} * @returns A {@link Amity.Invitation} object * * @category Invitation API * @async */ export declare const getInvitation: (params: Pick<Amity.QueryMyInvitations, 'targetId' | 'targetType' | 'type' | 'statuses'>) => Promise<Amity.Cached<Amity.Invitation | undefined>>; //# sourceMappingURL=getInvitation.d.ts.map