Function: paginateCommentReplies()
ts
function paginateCommentReplies(
client,
mediaId,
commentId
): AsyncGenerator<{
[key: string]: unknown;
content_type?: string;
created_at?: number;
pk?: string;
status?: string;
text?: string;
user?: {
[key: string]: unknown;
biography?: string;
external_url?: string | null;
follower_count?: number | null;
following_count?: number | null;
full_name?: string;
is_private?: boolean;
is_verified?: boolean;
media_count?: number | null;
pk?: string;
profile_pic_url?: string | null;
username?: string;
};
}>;Walks every reply to a comment, yielding one at a time across pages.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
mediaId | string |
commentId | string |
Returns
AsyncGenerator<{ [key: string]: unknown; content_type?: string; created_at?: number; pk?: string; status?: string; text?: string; user?: { [key: string]: unknown; biography?: string; external_url?: string | null; follower_count?: number | null; following_count?: number | null; full_name?: string; is_private?: boolean; is_verified?: boolean; media_count?: number | null; pk?: string; profile_pic_url?: string | null; username?: string; }; }>