diff options
| author | s <[email protected]> | 2025-11-10 08:31:32 -0500 |
|---|---|---|
| committer | s <[email protected]> | 2025-11-10 08:31:32 -0500 |
| commit | 7c0f4b692c3b712bf4a0da3bbac008ff75c405de (patch) | |
| tree | 9ba8faa5c23541f4b000f6996b2589931925b5fd /internal/models/x.go | |
| parent | 65acee9a9b500c17b9426f80997401758ec326b1 (diff) | |
| download | dborg-7c0f4b692c3b712bf4a0da3bbac008ff75c405de.tar.gz dborg-7c0f4b692c3b712bf4a0da3bbac008ff75c405de.zip | |
feat: add x replies/search commands and improve api key validationv0.7.0
Diffstat (limited to 'internal/models/x.go')
| -rw-r--r-- | internal/models/x.go | 29 |
1 files changed, 29 insertions, 0 deletions
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"` +} |
