UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

20 lines 679 B
/** * ```js * import { acceptInvitation } from '@amityco/ts-sdk' * const isAccepted = await acceptInvitation(invitationId) * ``` * * * @param referenceId that is target post's ID linked with a livestream * @param reactionName that is the reaction name * @param streamId stream id * @returns a success boolean if the reaction was added * * @category Live Reaction API * @async */ export declare const createReaction: ({ referenceId, referenceType, reactionName, streamId, }: Pick<Amity.CreateLiveReactionRequest, "referenceType" | "reactionName"> & { referenceId: string; streamId: string; }) => Promise<boolean>; //# sourceMappingURL=createReaction.d.ts.map