initial commits
parent
2b3e477465
commit
abc42310fe
|
@ -0,0 +1,14 @@
|
|||
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"`
|
||||
}
|
Loading…
Reference in New Issue