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 (
|
const (
|
||||||
VisibilityPublic = "public"
|
Public Visibility = "public"
|
||||||
VisibilityUnlisted = "unlisted"
|
Unlisted Visibility = "unlisted"
|
||||||
VisibilityFollowersOnly = "private"
|
FollowersOnly Visibility = "private"
|
||||||
VisibilityDirectMessage = "direct"
|
DirectMessage Visibility = "direct"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Toot struct {
|
type Toot struct {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user