Skip to content

Commit 6c8c9b5

Browse files
Yareajadvaith1
andauthored
Add maximum length for a button URL (#7301)
Co-authored-by: advaith <[email protected]>
1 parent fa0ce16 commit 6c8c9b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/components/reference.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Buttons must be placed inside an [Action Row](/docs/components/reference#action-
146146
| emoji? | partial [emoji](/docs/resources/emoji#emoji-object) | `name`, `id`, and `animated` |
147147
| custom_id | string | Developer-defined identifier for the button; max 100 characters |
148148
| sku_id? | snowflake | Identifier for a purchasable [SKU](/docs/resources/sku#sku-object), only available when using premium-style buttons |
149-
| url? | string | URL for link-style buttons |
149+
| url? | string | URL for link-style buttons; max 512 characters |
150150
| disabled? | boolean | Whether the button is disabled (defaults to `false`) |
151151

152152
Buttons come in various styles to convey different types of actions. These styles also define what fields are valid for a button.

0 commit comments

Comments
 (0)