TwitterViewer.Tweet (TwitterViewer v0.1.0)

Copy Markdown View Source

A post on X. author and reposted_by are a TwitterViewer.UserLite, or a TwitterViewer.User when the object carries the full profile. article, poll, card, community_note and sensitive are nil when the API leaves them out.

Summary

Types

t()

@type t() :: %TwitterViewer.Tweet{
  article: term(),
  author: term(),
  bookmark_count: term(),
  card: term(),
  community_note: term(),
  conversation_id: term(),
  created_at: term(),
  id: term(),
  in_reply_to: term(),
  lang: term(),
  like_count: term(),
  media: term(),
  pinned: term(),
  poll: term(),
  quote_count: term(),
  quoted: term(),
  reply_count: term(),
  repost_count: term(),
  reposted_by: term(),
  sensitive: term(),
  text: term(),
  url: term(),
  view_count: term()
}