@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
17 lines • 649 B
TypeScript
/**
* ```js
* import { event } from '@amityco/ts-sdk-react-native'
* const response = await event.createRSVP(eventId, status)
* ```
*
* Creates an {@link Amity.EventResponse} for the active user for a specific event.
*
* @param eventId The ID of the {@link Amity.EventResponse} to create an RSVP for
* @param status The RSVP status to set for the event
* @returns The {@link Amity.EventResponse} with updated RSVP information
*
* @category Event API
* @async
*/
export declare const createRSVP: (eventId: string, status: Amity.EventResponseStatus) => Promise<Amity.Cached<Amity.EventResponse>>;
//# sourceMappingURL=createRSVP.d.ts.map