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