This repository was archived by the owner on Nov 7, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package twitter
22
33// Entities represent metadata and context info parsed from Twitter components.
4- // https://dev .twitter.com/overview/api/ entities
4+ // https://developer .twitter.com/en/docs/tweets/data-dictionary/overview/ entities-object
55// TODO: symbols
66type Entities struct {
77 Hashtags []HashtagEntity `json:"hashtags"`
@@ -48,14 +48,14 @@ type MentionEntity struct {
4848}
4949
5050// UserEntities contain Entities parsed from User url and description fields.
51- // https://dev .twitter.com/overview/api/ entities-in-twitter-objects#users
51+ // https://developer .twitter.com/en/docs/tweets/data-dictionary/overview/ entities-object#mentions
5252type UserEntities struct {
5353 URL Entities `json:"url"`
5454 Description Entities `json:"description"`
5555}
5656
5757// ExtendedEntity contains media information.
58- // https://dev .twitter.com/overview/api/entities-in-twitter-objects#extended_entities
58+ // https://developer .twitter.com/en/docs/tweets/data-dictionary/overview/extended-entities-object
5959type ExtendedEntity struct {
6060 Media []MediaEntity `json:"media"`
6161}
@@ -74,7 +74,7 @@ func (i Indices) End() int {
7474}
7575
7676// MediaSizes contain the different size media that are available.
77- // https://dev .twitter.com/overview/api/ entities#obj-sizes
77+ // https://developer .twitter.com/en/docs/tweets/data-dictionary/overview/ entities-object#media-size
7878type MediaSizes struct {
7979 Thumb MediaSize `json:"thumb"`
8080 Large MediaSize `json:"large"`
You can’t perform that action at this time.
0 commit comments