Fix pinned tweets

(added to the beginning of the timeline)
Close #23
This commit is contained in:
Alexander Sheiko 2021-01-06 21:19:12 +02:00
parent 142387af97
commit 1e048200bc
2 changed files with 29 additions and 2 deletions

View file

@ -146,6 +146,19 @@ type (
} `json:"content,omitempty"`
} `json:"entries"`
} `json:"addEntries"`
PinEntry struct {
Entry struct {
Content struct {
Item struct {
Content struct {
Tweet struct {
ID string `json:"id"`
} `json:"tweet"`
} `json:"content"`
} `json:"item"`
} `json:"content"`
} `json:"entry"`
} `json:"pinEntry,omitempty"`
} `json:"instructions"`
} `json:"timeline"`
}