UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

16 lines 483 B
/** * ```js * import { queryPosts } from '@amityco/ts-sdk-react-native' * const { data: posts, prevPage, nextPage } = await queryPosts({ targetId, targetType }) * ``` * * Queries a paginable list of {@link Amity.Post} objects * * @param query The query parameters * @returns posts * * @category Post API * @async */ export declare const queryPosts: (query: Amity.QueryPosts) => Promise<Amity.Cached<Amity.PageToken<Amity.Post>>>; //# sourceMappingURL=queryPosts.d.ts.map