forked from szdc/tiktok-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sticker.d.ts
65 lines (49 loc) · 1.4 KB
/
sticker.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import {
BaseResponseData,
CountOffsetParams,
ListRequestParams,
ListResponseData,
Media,
} from './request';
import { Post } from './post';
export interface ListPostsByStickerRequest extends ListRequestParams, CountOffsetParams {
/** The ID of the sticker */
sticker_id: string;
}
export interface ListPostsByStickerResponse extends ListResponseData, CountOffsetParams {
/** A list of posts using the sticker */
aweme_list: Post[];
/** Currently empty */
stickers: any[];
}
export interface GetStickersRequest {
/** A list of sticker ids to get information about */
sticker_ids: string;
}
export interface GetStickersResponse extends BaseResponseData {
sticker_infos: Sticker[];
}
export interface Sticker {
/** ??? */
children: [];
/** A description of the sticker */
desc: string;
/** The ID of the sticker */
effect_id: string;
/** The icon associated with the sticker */
icon_url: Media;
/** The ID of the sticker */
id: string;
/** True if the current user has favorited the sticker */
is_favorite: boolean;
/** The name of the sticker */
name: string;
/** The ID the user that owns the sticker (empty if owned by the Effect Assistant) */
owner_id: string;
/** The nickname of the owner, e.g. "Effect Assistant" */
owner_nickname: string;
/** ??? */
tags: any[];
/** The total number of posts using this sticker */
user_count: number;
}