-
Notifications
You must be signed in to change notification settings - Fork 0
Client
HedariKun edited this page Jan 29, 2019
·
1 revision
| Parameters | Default | Type | Description |
|---|---|---|---|
| token | string | bot's access token | |
| apiUrl | string | mastodon's instance base url |
| Parameters | Default | Type | Description |
|---|---|---|---|
| status | string | the content of the status | |
| attachments | null | [Attachment] | an array of attachments to attach them to the status |
| sensitive | false | boolean | to set the status to be sensitive |
| spoiler | false | boolean | to set the status to spoiler |
| Parameters | Default | Type | Description |
|---|---|---|---|
| id | string | the id of the account you want to get |
| Parameters | Default | Type | Description |
|---|---|---|---|
| uri | string | the uri of the account you want to follow |
| Parameters | Default | Type | Description |
|---|---|---|---|
| stream | string | the data of the file you want to upload as based64 stream string | |
| description | "" | string | the description you want to add to the attachment |
| Parameters | Default | Type | Description |
|---|---|---|---|
| id | number | the id of the status you want to get. |