add user mentions

This commit is contained in:
windowsdeveloperwannabe 2023-05-10 05:02:21 -07:00
parent 5081b46f68
commit 0adefb32f3
3 changed files with 39 additions and 0 deletions

View file

@ -3,6 +3,13 @@ package twitterscraper
import "time"
type (
// Mention type.
Mention struct {
ID string
Username string
Name string
}
// Photo type.
Photo struct {
ID string
@ -27,6 +34,7 @@ type (
IsReply bool
IsRetweet bool
Likes int
Mentions []Mention
PermanentURL string
Photos []Photo
Place *Place