Added polls entity, available since API 2.8.0

This commit is contained in:
Christian Muehlhaeuser 2019-05-13 01:46:11 +02:00 committed by mattn
parent 1c0769492b
commit 3e91c76504
2 changed files with 21 additions and 0 deletions

View file

@ -34,6 +34,7 @@ type Status struct {
Mentions []Mention `json:"mentions"`
Tags []Tag `json:"tags"`
Card *Card `json:"card"`
Poll *Poll `json:"poll"`
Application Application `json:"application"`
Language string `json:"language"`
Pinned interface{} `json:"pinned"`