bloat/model/post.go
2020-10-19 06:51:23 +00:00

22 lines
362 B
Go

package model
type PostFormat struct {
Name string
Type string
}
type PostContext struct {
DefaultVisibility string
DefaultFormat string
ReplyContext *ReplyContext
Formats []PostFormat
DarkMode bool
}
type ReplyContext struct {
InReplyToID string
InReplyToName string
ReplyContent string
ForceVisibility bool
}