save photo ids

This commit is contained in:
windowsdeveloperwannabe 2023-05-10 03:18:34 -07:00
parent deb946cf22
commit 6a929cde9c
3 changed files with 35 additions and 14 deletions

View file

@ -3,6 +3,12 @@ package twitterscraper
import "time"
type (
// Photo type.
Photo struct {
ID string
URL string
}
// Video type.
Video struct {
ID string
@ -22,7 +28,7 @@ type (
IsRetweet bool
Likes int
PermanentURL string
Photos []string
Photos []Photo
Place *Place
QuotedStatus *Tweet
Replies int