@tobyg74/tiktok-api-dl
Version:
Scraper for downloading media in the form of videos, images and audio from Tiktok. Also for stalking Tiktok Users
27 lines (26 loc) • 596 B
TypeScript
export type TiktokVideoCommentsResponse = {
status: "success" | "error";
message?: string;
result?: Comments[];
totalComments?: number;
};
export type Comments = {
cid: string;
text: string;
commentLanguage: string;
createTime: number;
likeCount: number;
isAuthorLiked: boolean;
isCommentTranslatable: boolean;
replyCommentTotal: number;
replyComment: Comments[] | null;
user: User;
url: string;
};
export type User = {
uid: string;
avatarThumb: string[];
nickname: string;
username: string;
isVerified: boolean;
};