Skip to content

Commit 67905f9

Browse files
fix: CV2 File Display Component is missing name & size (#7609)
* fix: CV2 File Display Component is missing name & size Signed-off-by: Lala Sabathil <[email protected]> * Update docs/components/reference.mdx Co-authored-by: Anthony <[email protected]> --------- Signed-off-by: Lala Sabathil <[email protected]> Co-authored-by: Anthony <[email protected]>
1 parent dc91f07 commit 67905f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/components/reference.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,8 @@ To use this component, you need to send the [message flag](/docs/resources/messa
10331033
| id? | integer | Optional identifier for component |
10341034
| file | [unfurled media item](/docs/components/reference#unfurled-media-item-structure) | This unfurled media item is unique in that it **only** supports attachment references using the `attachment://<filename>` syntax |
10351035
| spoiler? | boolean | Whether the media should be a spoiler (or blurred out). Defaults to `false` |
1036+
| name | string | The name of the file. This field is ignored and provided by the API as part of the response |
1037+
| size | integer | The size of the file in bytes. This field is ignored and provided by the API as part of the response |
10361038

10371039
###### Example
10381040

0 commit comments

Comments
 (0)