forked from szdc/tiktok-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
follower.d.ts
27 lines (23 loc) · 853 Bytes
/
follower.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { CommonUserDetails } from './user';
import {
ListRequestParams,
ListResponseData,
TimeOffsetRequestParams,
TimeOffsetResponseParams,
} from './request';
export interface ListFollowersRequest extends ListRequestParams, TimeOffsetRequestParams {
/** The id of the user whose followers to retrieve */
user_id: string;
}
export interface ListFollowersResponse extends ListResponseData, TimeOffsetResponseParams {
/** A list of the user's followers */
followers: CommonUserDetails[];
}
export interface ListFollowingRequest extends ListRequestParams, TimeOffsetRequestParams {
/** The id of the user whose followers to retrieve */
user_id: string;
}
export interface ListFollowingResponse extends ListResponseData, TimeOffsetResponseParams {
/** A list of users the user is following */
followings: CommonUserDetails[];
}