Skip to content

Commit 0e8e680

Browse files
committed
fix: CV2 File Display Component is missing name & size
Signed-off-by: Lala Sabathil <[email protected]>
1 parent d6a8cba commit 0e8e680

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/components/reference.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,10 @@ 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 |
1037+
| size\* | integer | The size of the file in bytes |
1038+
1039+
\* This field is auto-populated and cannot be set.
10361040

10371041
###### Example
10381042

0 commit comments

Comments
 (0)