aboutsummaryrefslogtreecommitdiff
path: root/model/post.go
blob: 831f74fd344d4c97439dd8efe34ecb7d5e34d2e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}