add visibility type

This commit is contained in:
gutmet 2022-11-21 20:25:55 +01:00
parent 3b78646666
commit 9585b1ce2e

View File

@ -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 {