aboutsummaryrefslogtreecommitdiff
path: root/mastodon/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'mastodon/status.go')
-rw-r--r--mastodon/status.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/mastodon/status.go b/mastodon/status.go
index 63de3cf..b4f57ae 100644
--- a/mastodon/status.go
+++ b/mastodon/status.go
@@ -47,13 +47,14 @@ type Status struct {
Application Application `json:"application"`
Language string `json:"language"`
Pinned interface{} `json:"pinned"`
+ Poll *Poll `json:"poll"`
// Custom fields
- Pleroma StatusPleroma `json:"pleroma"`
- ShowReplies bool `json:"show_replies"`
- ReplyMap map[string][]ReplyInfo `json:"reply_map"`
- ReplyNumber int `json:"reply_number"`
- RetweetedByID string `json:"retweeted_by_id"`
+ Pleroma StatusPleroma `json:"pleroma"`
+ ShowReplies bool `json:"show_replies"`
+ ReplyMap map[string][]ReplyInfo `json:"reply_map"`
+ ReplyNumber int `json:"reply_number"`
+ RetweetedByID string `json:"retweeted_by_id"`
}
// Context hold information for mastodon context.