add visibility type
This commit is contained in:
parent
3b78646666
commit
9585b1ce2e
10
mastodon.go
10
mastodon.go
|
@ -148,11 +148,13 @@ func newClient(config *Config) *Client {
|
|||
}
|
||||
}
|
||||
|
||||
type Visibility string
|
||||
|
||||
const (
|
||||
VisibilityPublic = "public"
|
||||
VisibilityUnlisted = "unlisted"
|
||||
VisibilityFollowersOnly = "private"
|
||||
VisibilityDirectMessage = "direct"
|
||||
Public Visibility = "public"
|
||||
Unlisted Visibility = "unlisted"
|
||||
FollowersOnly Visibility = "private"
|
||||
DirectMessage Visibility = "direct"
|
||||
)
|
||||
|
||||
type Toot struct {
|
||||
|
|
Loading…
Reference in New Issue
Block a user