go-mstdn/ent/mention.go

15 lines
331 B
Go
Raw Normal View History

2023-09-26 10:00:48 +00:00
package ent
import (
"sourcecode.social/reiver/go-opt"
)
// 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"`
}