Add missing documentation about language param

This commit is contained in:
Eugen Rochko 2018-06-06 04:09:47 +02:00 committed by GitHub
parent 1c6f7abbf2
commit 5578765530
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -683,10 +683,11 @@ Form data:
| ----------------- | ------------------------------------------------------------------------ | ---------- |
| `status` | The text of the status | no |
| `in_reply_to_id` | local ID of the status you want to reply to | yes |
| `media_ids` | [Array](#parameter-types) of media IDs to attach to the status (maximum 4) | yes |
| `media_ids` | [Array](#parameter-types) of media IDs to attach to the status (maximum 4)| yes |
| `sensitive` | Set this to mark the media of the status as NSFW | yes |
| `spoiler_text` | Text to be shown as a warning before the actual content | yes |
| `visibility` | Either "direct", "private", "unlisted" or "public" | yes |
| `language` | ISO 639-2 language code of the toot, to skip automatic detection | yes |
Returns the new [Status](#status).