From 7c0f4b692c3b712bf4a0da3bbac008ff75c405de Mon Sep 17 00:00:00 2001 From: s Date: Mon, 10 Nov 2025 08:31:32 -0500 Subject: feat: add x replies/search commands and improve api key validation --- internal/models/x.go | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'internal/models/x.go') diff --git a/internal/models/x.go b/internal/models/x.go index 07c3117..8480d32 100644 --- a/internal/models/x.go +++ b/internal/models/x.go @@ -79,3 +79,32 @@ type NotableFollowersResponse struct { Unlimited bool `json:"unlimited"` } `json:"credits"` } + +type ScrapedReply struct { + ConversationID string `json:"conversation_id"` + Date string `json:"date"` + ID string `json:"id"` + InReplyToID string `json:"in_reply_to_id"` + Languages string `json:"languages"` + Likes string `json:"likes"` + Name string `json:"name"` + Post string `json:"post"` + Quotes string `json:"quotes"` + Reposts string `json:"reposts"` + Type string `json:"type"` + URL string `json:"url"` + Username string `json:"username"` +} + +type ScrapedTweet struct { + Date string `json:"date"` + ID string `json:"id"` + Languages string `json:"languages"` + Likes string `json:"likes"` + Name string `json:"name"` + Post string `json:"post"` + Quotes string `json:"quotes"` + Reposts string `json:"reposts"` + Type string `json:"type"` + URL string `json:"url"` +} -- cgit v1.2.3