go-mstdn/ent/mention.go

15 lines
331 B
Go

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"`
}