Skip to content

Commit 3dffaee

Browse files
authored
feat: add character length for a button url
1 parent e70f3ce commit 3dffaee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/interactions/Message_Components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Buttons are interactive components that render in messages. They can be clicked
9696
| emoji? | partial [emoji](#DOCS_RESOURCES_EMOJI/emoji-object) | `name`, `id`, and `animated` |
9797
| custom_id? | string | Developer-defined identifier for the button; max 100 characters |
9898
| sku_id? | snowflake | Identifier for a purchasable [SKU](#DOCS_RESOURCES_SKU/sku-object), only available when using premium-style buttons |
99-
| url? | string | URL for link-style buttons |
99+
| url? | string | URL for link-style buttons; max 512 characters |
100100
| disabled? | boolean | Whether the button is disabled (defaults to `false`) |
101101

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

0 commit comments

Comments
 (0)