-
Notifications
You must be signed in to change notification settings - Fork 5
/
types.ts
51 lines (48 loc) · 1.51 KB
/
types.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
export type Payload = {
body: {
note: Note;
};
};
type Note = {
text: string | null;
cw: string | null;
visibility: "public" | "home" | "followers" | "specified";
localOnly: boolean;
files: File[];
};
type File = {
url: string;
type: string;
};
export type CreateTweetRequest = {
variables: {
tweet_text: string;
media?: {
media_entities: {
media_id: string;
}[];
possibly_sensitive: boolean;
};
};
features: {
tweetypie_unmention_optimization_enabled: boolean;
responsive_web_edit_tweet_api_enabled: boolean;
graphql_is_translatable_rweb_tweet_is_translatable_enabled: boolean;
view_counts_everywhere_api_enabled: boolean;
longform_notetweets_consumption_enabled: boolean;
responsive_web_twitter_article_tweet_consumption_enabled: boolean;
tweet_awards_web_tipping_enabled: boolean;
longform_notetweets_rich_text_read_enabled: boolean;
longform_notetweets_inline_media_enabled: boolean;
responsive_web_graphql_exclude_directive_enabled: boolean;
verified_phone_label_enabled: boolean;
freedom_of_speech_not_reach_fetch_enabled: boolean;
standardized_nudges_misinfo: boolean;
tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled:
boolean;
responsive_web_media_download_video_enabled: boolean;
responsive_web_graphql_skip_user_profile_image_extensions_enabled: boolean;
responsive_web_graphql_timeline_navigation_enabled: boolean;
responsive_web_enhance_cards_enabled: boolean;
};
};