mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Fixed nullability for Attachment.text_url
(#238)
`text_url` can be `null` for remote images
This commit is contained in:
parent
e97ec8f8ff
commit
7dfe07e07c
@ -580,7 +580,7 @@ Note: Some attributes in the entity payload can have ``null`` value and are mark
|
||||
| `url` | URL of the locally hosted version of the image | no |
|
||||
| `remote_url` | For remote images, the remote URL of the original image | yes |
|
||||
| `preview_url` | URL of the preview image | no |
|
||||
| `text_url` | Shorter URL for the image, for insertion into text (only present on local images) | no |
|
||||
| `text_url` | Shorter URL for the image, for insertion into text (only present on local images) | yes |
|
||||
|
||||
### Card
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user