Deprecate the text_url attribute to media attachments (#895)

This commit is contained in:
Claire 2021-09-13 17:55:19 +02:00 committed by GitHub
parent 55c284295f
commit 06cc977ff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 6 deletions

View File

@ -185,12 +185,6 @@ menu:
**Type:** String \(URL\), or null if the attachment is local\
**Version history:** Added in 0.6.0.
### `text_url` {#text_url}
**Description:** A shorter URL for the attachment.\
**Type:** String \(URL\)\
**Version history:** Added in 0.6.0.
### `meta` {#meta}
**Description:** Metadata returned by Paperclip.\
@ -213,6 +207,14 @@ More importantly, there may be another top-level `focus` Hash object as of 2.3.0
**Type:** String\
**Version history:** Added in 2.8.1
## Deprecated attributes
### `text_url` {#text_url}
**Description:** A shorter URL for the attachment.\
**Type:** String \(URL\)\
**Version history:** Added in 0.6.0 and deprecated in 3.5.0.
## See also
* Status\#media\_attachments