Add support for creating scheduled posts

This commit is contained in:
Ben Lubar 2019-06-13 22:21:55 -05:00 committed by mattn
parent 934e685e7a
commit 977e6c550e

View File

@ -256,6 +256,7 @@ type Toot struct {
Sensitive bool `json:"sensitive"` Sensitive bool `json:"sensitive"`
SpoilerText string `json:"spoiler_text"` SpoilerText string `json:"spoiler_text"`
Visibility string `json:"visibility"` Visibility string `json:"visibility"`
ScheduledAt time.Time `json:"scheduled_at,omitempty"`
} }
// Mention hold information for mention. // Mention hold information for mention.