You say #blocks
Blocks The closed catalog of layout blocks a bot message, a modal or a Home tab is made of.
A message can carry up to 50 blocks next to its text. People who can’t see blocks (notifications, search, previews) read the text, so always send one. Blocks come from this catalog only; anything else is refused with the field that is wrong.
Argument Type Required What textstring yes 1–150 characters.
Argument Type Required What textstring no Up to 3,000 characters. fieldsarray of string no Up to 10 items. accessoryvalue no
Argument Type Required What elementsarray of value yes Up to 5 items.
Argument Type Required What elementsarray of string yes Up to 10 items.
No arguments.
Argument Type Required What urlURL yes Up to 3,000 characters. altstring no Up to 2,000 characters.
Buttons and menus go in an actions block or as a section’s accessory; input elements go in an input block (modals and Home only).
Argument Type Required What textstring yes 1–75 characters. actionIdstring yes 1–255 characters. valuestring no Up to 2,000 characters. style"primary" / "danger"no urlURL no Up to 3,000 characters.
Argument Type Required What actionIdstring yes 1–255 characters. optionsarray of object yes Up to 100 items. placeholderstring no Up to 150 characters. initialValuestring no Up to 2,000 characters.
Argument Type Required What actionIdstring yes 1–255 characters. placeholderstring no Up to 150 characters. initialValuestring no Up to 3,000 characters. multilineboolean no minLengthinteger no 0–3,000. maxLengthinteger no 1–3,000.
Argument Type Required What actionIdstring yes 1–255 characters. optionsarray of object yes Up to 10 items. initialValuesarray of string no Up to 10 items.
Argument Type Required What actionIdstring yes 1–255 characters. placeholderstring no Up to 150 characters. initialDatestring no
A modal or a Home tab: views.open, views.push, views.update, views.publish. Its blocks are the message blocks plus input.
Argument Type Required What blocksblocks yes Up to 50 items. titlestring no 1–24 characters. submitstring no 1–24 characters. closestring no 1–24 characters. callbackIdstring no Up to 255 characters. privateMetadatastring no Up to 3,000 characters. notifyOnCloseboolean no
Argument Type Required What blockIdstring yes 1–255 characters. labelstring yes 1–150 characters. elementvalue yes hintstring no Up to 300 characters. optionalboolean no
Updated November 10, 2026 . Every method, scope, event and limit here is generated from the server’s own code.