go-mstdn/ent/mention.go

15 lines
324 B
Go
Raw Normal View History

2023-09-26 10:00:48 +00:00
package ent
import (
"github.com/reiver/go-opt"
2023-09-26 10:00:48 +00:00
)
// See:
// https://docs.joinmastodon.org/entities/Status/#Mention
type Mention struct {
ID opt.Optional[string] `json:"id"`
UserName opt.Optional[string] `json:"username"`
URL opt.Optional[string] `json:"url"`
Acct opt.Optional[string] `json:"acct"`
}