aboutsummaryrefslogtreecommitdiff
path: root/model/post.go
blob: 7cfead79d15c8ff4d4b9cd1c1eae5bb37275cd99 (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
	ReplyContext      *ReplyContext
	Formats           []PostFormat
	DarkMode          bool
}

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