@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
17 lines • 585 B
TypeScript
/**
* ```js
* import { EventRepository } from '@amityco/ts-sdk-react-native'
* const response = await EventRepository.updateEvent(eventId, bundle)
* ```
*
* Updates an {@link Amity.Event}
*
* @param eventId The ID of the {@link Amity.Event} to edit
* @param bundle The data necessary to update an existing {@link Amity.Event}
* @returns the updated {@link Amity.Event}
*
* @category Event API
* @async
*/
export declare const updateEvent: (eventId: string, bundle: Amity.EventUpdateOptions) => Promise<Amity.Cached<Amity.Event>>;
//# sourceMappingURL=updateEvent.d.ts.map