Returned the HTML field of the tweet
This commit is contained in:
parent
6414a834ea
commit
29ee72026a
2 changed files with 36 additions and 0 deletions
3
types.go
3
types.go
|
|
@ -13,6 +13,7 @@ type (
|
|||
// Tweet type.
|
||||
Tweet struct {
|
||||
Hashtags []string
|
||||
HTML string
|
||||
ID string
|
||||
IsQuoted bool
|
||||
IsPin bool
|
||||
|
|
@ -53,9 +54,11 @@ type (
|
|||
Media []struct {
|
||||
MediaURLHttps string `json:"media_url_https"`
|
||||
Type string `json:"type"`
|
||||
URL string `json:"url"`
|
||||
} `json:"media"`
|
||||
URLs []struct {
|
||||
ExpandedURL string `json:"expanded_url"`
|
||||
URL string `json:"url"`
|
||||
} `json:"urls"`
|
||||
} `json:"entities"`
|
||||
ExtendedEntities struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue