go-mstdn/ent/previewcardhistory.go

14 lines
297 B
Go
Raw Permalink Normal View History

2023-09-26 09:37:59 +00:00
package ent
import (
"github.com/reiver/go-opt"
2023-09-26 09:37:59 +00:00
)
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"`
}