add support for language

This commit is contained in:
Rasmus Lindroth 2022-11-16 20:20:18 +01:00 committed by mattn
parent be61205708
commit 5f0c9a21c2
3 changed files with 11 additions and 0 deletions

View file

@ -230,6 +230,7 @@ type Toot struct {
Sensitive bool `json:"sensitive"`
SpoilerText string `json:"spoiler_text"`
Visibility string `json:"visibility"`
Language string `json:"language"`
ScheduledAt *time.Time `json:"scheduled_at,omitempty"`
Poll *TootPoll `json:"poll"`
}