Section

BlockAdvanced Messages

Holds text alongside an accessory button or thumbnail.

Inputs

Text

Text

Holds blocks: Text

Accessory

Accessory

Holds blocks: Button, Image

Where it goes

This block can only be placed inside Respond to Interaction with Advanced Message, Send Advanced Message or Message Container.

Build a bot using blocks like Section

Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: advmsgcmp_layout_section
  • Can only be placed inside respond_interaction_advanced (message_components), send_advanced_message (message_components), advmsgcmp_layout_container (children).

Inputs

FieldInventScript nameValue
Textchildrenblocks: func() { ... } with only advmsgcmp_content_text* blocks
Accessoryaccessoryblocks: func() { ... } with only advmsgcmp_interaction_button*, advmsgcmp_media_image* blocks

Example InventScript

respond_interaction_advanced(Args{
	message_components: func() {
		advmsgcmp_layout_section()
	},
})

More advanced messages blocks