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