respond_interaction_advanced(Args{
message_components: func() {
advmsgcmp_layout_actionrow()
},
})
Action Row
BlockAdvanced Messages
Holds up to 5 buttons or a single select component.
Inputs
5 Buttons or Select Component
5 Buttons or Select Component
Holds blocks: Button, String Select Option, String Select, User Select, Role Select, Mentionable Select, Channel Select
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 Action Row
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_actionrow- Can only be placed inside
respond_interaction_advanced(message_components),send_advanced_message(message_components),advmsgcmp_layout_container(children).
Inputs
| Field | InventScript name | Value |
|---|---|---|
| 5 Buttons or Select Component | children | blocks: func() { ... } with only advmsgcmp_interaction_* blocks |
Example InventScript
More advanced messages blocks
TextText component.Message ContainerHolds text, thumbnails, galleries, and other content components.SectionHolds text alongside an accessory button or thumbnail.SeparatorAdds vertical padding between message components, with an optional divider line.ButtonCreate a button for users to click on. Triggers with a new flow and Custom ID.GalleryTop-level container for 1-10 media items.ImageSingle media item in a gallery or a thumbnail accessory.String Select OptionOption item for a String Select component.String SelectString select menu for advanced messages and modals.User SelectUser select menu for advanced messages and modals.Role SelectRole select menu for advanced messages and modals.Mentionable SelectMentionable select menu for advanced messages and modals.Channel SelectChannel select menu for advanced messages and modals.