@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
16 lines • 447 B
TypeScript
/**
* ```js
* import { deletePoll } from '@amityco/ts-sdk-react-native'
* const success = await deletePoll(pollId)
* ```
*
* Deletes a {@link Amity.Poll}
*
* @param pollId The {@link Amity.Poll} ID to delete
* @return A success boolean if the {@link Amity.Poll} was deleted
*
* @category Poll API
* @async
*/
export declare const deletePoll: (pollId: Amity.Poll['pollId']) => Promise<boolean>;
//# sourceMappingURL=deletePoll.d.ts.map