MCPcopy Create free account
hub / github.com/FxEmbed/FxEmbed / APIStatus

Interface APIStatus

packages/atmosphere/src/types/api-status.ts:28–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26export type { APIStatusTombstone };
27
28export interface APIStatus {
29 id: string;
30 url: string;
31 text: string;
32 created_at: string;
33 created_timestamp: number;
34
35 likes: number;
36 reposts: number;
37 quotes?: number;
38 replies: number;
39
40 quote?: APIStatus | APIStatusTombstone;
41 poll?: APIPoll;
42 author: APIUser;
43
44 media: {
45 external?: APIExternalMedia;
46 photos?: APIPhoto[];
47 videos?: APIVideo[];
48 all?: (APIPhoto | APIVideo)[];
49 mosaic?: APIMosaicPhoto;
50 broadcast?: APIBroadcast;
51 };
52
53 raw_text: {
54 text: string;
55 facets: APIFacet[];
56 };
57
58 lang: string | null;
59 translation?: APITranslate;
60
61 possibly_sensitive: boolean;
62
63 replying_to: APIReplyingTo | null;
64
65 source: string | null;
66
67 embed_card: 'tweet' | 'summary' | 'summary_large_image' | 'player';
68 provider: DataProvider;
69
70 /** ATProto commit CID (Bluesky only); `id` is the public web record key (rkey). */
71 cid?: string;
72 /** `at://…/app.bsky.feed.post/…` (Bluesky only). */
73 at_uri?: string;
74 /** Discriminator: single post/status (non-Twitter providers; Twitter uses `APITwitterStatus`). */
75 type: 'status';
76}
77
78export interface APITikTokStatus extends APIStatus {
79 provider: DataProvider.TikTok;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected