UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

21 lines 747 B
/** * ```js * import { acceptInvitation } from '@amityco/ts-sdk-react-native' * const isAccepted = await acceptInvitation(invitationId) * ``` * * Accepts array of {@link Amity.LiveReaction} object without userId * * @param reactions the array of {@link Amity.LiveReaction} to create // TODO: confirm what is the ids in addedIds * @returns An object addedIds contains array of reaction ID * * @category Live Reaction API * @async */ export declare const createLiveReaction: ({ reactions, liveStreamId, roomId, }: { reactions: Amity.CreateLiveReactionRequest[]; liveStreamId?: string | undefined; roomId?: string | undefined; }) => Promise<Amity.CreateLiveReactionResponse>; //# sourceMappingURL=createLiveReaction.d.ts.map