go-mstdn/ent/previewcardhistory.go

14 lines
304 B
Go
Raw Normal View History

2023-09-26 09:37:59 +00:00
package ent
import (
"sourcecode.social/reiver/go-opt"
)
2023-09-26 12:17:10 +00:00
// See:
// https://docs.joinmastodon.org/entities/PreviewCard/#history
2023-09-26 12:15:55 +00:00
type PreviewCardHistory struct {
2023-09-26 09:37:59 +00:00
Day opt.Optional[string] `json:"day"`
Accounts opt.Optional[string] `json:"accounts"`
Uses opt.Optional[string] `json:"uses"`
}