Browse Source

Fixed nullability for `Attachment.text_url` (#238)

`text_url` can be `null` for remote images
Valerii Hiora 7 years ago
parent
commit
7dfe07e07c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Using-the-API/API.md

+ 1 - 1
Using-the-API/API.md

@@ -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