Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
interface TweetObject
import { type TweetObject } from "https://deno.land/x/twitter_api_client@v0.4.0/api_v2/data_interface/tweet.ts";

Properties

id: string
text: string
optional
attachments: { media_keys?: string; poll_ids?: string; }
optional
author_id: string
optional
context_annotations: ContextAnnotation[]
optional
conversation_id: string
optional
created_at: string
optional
in_reply_to_user_id: string
optional
referenced_tweets: { type: "retweeted" | "quoted" | "replied_to"; id: string; }[]
optional
geo: { coordinates?: { type: string; coordinates: number[]; }; place_id: string; }
optional
entities: Entities
optional
withheld: WithHeld
optional
public_metrics: { retweet_count: number; reply_count: number; like_count: number; quote_count: number; }
optional
non_public_metrics: { impression_count: number; url_link_clicks: number; }
optional
organic_matrics: { impression_count: number; url_link_clicks: number; user_profile_clicks: number; retweet_count: number; reply_count: number; like_count: number; }
optional
promoted_metrics: { impression_count: number; url_link_clicks: number; user_profile_clicks: number; retweet_count: number; reply_count: number; like_count: number; }
optional
possivly_sensitive: boolean
optional
lang: string
optional
source: string
optional
errors: Object