add user mentions
This commit is contained in:
parent
5081b46f68
commit
0adefb32f3
3 changed files with 39 additions and 0 deletions
8
types.go
8
types.go
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue