UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

15 lines 532 B
/** * ```js * import { PostRepository } from '@amityco/ts-sdk-react-native' * const pinProduct = await PostRepository.pinProduct(postId, pinnedProductId) * ``` * * @param postId The ID of the post to unpin the product from * @param productId the ID of the product to pin * @returns Amity.Post * * @category Post API * @async * */ export declare const pinProduct: (postId: Amity.Post['postId'], pinnedProductId: Amity.Post['pinnedProductId']) => Promise<Amity.Cached<Amity.Post>>; //# sourceMappingURL=pinProduct.d.ts.map