kopia lustrzana https://github.com/halcy/Mastodon.py
commit
0d823b23e6
|
@ -199,15 +199,17 @@ class Mastodon(Internals):
|
||||||
should be marked as sensitive, which hides it by default on the Mastodon
|
should be marked as sensitive, which hides it by default on the Mastodon
|
||||||
web front-end.
|
web front-end.
|
||||||
|
|
||||||
The visibility parameter is a string value and accepts any of:
|
The `visibility` parameter is a string value and accepts any of:
|
||||||
'direct' - post will be visible only to mentioned users
|
|
||||||
'private' - post will be visible only to followers
|
* ``'direct'`` - post will be visible only to **mentioned users**, known in Mastodon's UI as "Mentioned users only"
|
||||||
'unlisted' - post will be public but not appear on the public timeline
|
* ``'private'`` - post will be visible only to **followers**, known in Mastodon's UI as "Followers only"
|
||||||
'public' - post will be public
|
* ``'unlisted'`` - post will be public but **will not appear** on the public timelines
|
||||||
|
* ``'public'`` - post will be public and **will appear** on public timelines
|
||||||
|
|
||||||
If not passed in, visibility defaults to match the current account's
|
\
|
||||||
|
If not passed in, `visibility` defaults to match the current account's
|
||||||
default-privacy setting (starting with Mastodon version 1.6) or its
|
default-privacy setting (starting with Mastodon version 1.6) or its
|
||||||
locked setting - private if the account is locked, public otherwise
|
locked setting - ``'private'`` if the account is locked, ``'public'`` otherwise
|
||||||
(for Mastodon versions lower than 1.6).
|
(for Mastodon versions lower than 1.6).
|
||||||
|
|
||||||
The `spoiler_text` parameter is a string to be shown as a warning before
|
The `spoiler_text` parameter is a string to be shown as a warning before
|
||||||
|
|
Ładowanie…
Reference in New Issue