UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 645 B
/** * ```js * import { getInvitation } from '@amityco/ts-sdk' * 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: (targetType: Amity.Invitation['targetType'], targetId: Amity.Invitation['targetId']) => Promise<Amity.Cached<Amity.Invitation | undefined>>; //# sourceMappingURL=getInvitation.d.ts.map