aboutsummaryrefslogtreecommitdiff
path: root/model/post.go
blob: 40118edec40f35080f42ea6b81b1793b1a141076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package model

type PostFormat struct {
	Name string
	Type string
}

type PostContext struct {
	DefaultVisibility string
	DefaultFormat     string
	ReplyContext      *ReplyContext
	Formats           []PostFormat
}

type ReplyContext struct {
	InReplyToID     string
	InReplyToName   string
	ReplyContent    string
	ForceVisibility bool
}