$addSection
Components v2
Adds a section to the message.
Syntax
$addSection[Section name;(Container name)]
The section must contain all section components, otherwise the function will not work!
Parameters
Section name(Type: String || Flag: Required): Name for attaching other section components to the section.
You can’t have multiple sections and containers with the same name in one message. So for example, you can’t have two sections with the name set to section.
Container name(Type: String || Flag: Optional): To which container body should the section be attached.
Section Components
Example
$nomention
$addSection[section]
$addTextDisplay[Hello world!;section]
$addThumbnail[$authorAvatar;;;section]
How $addTextDisplay[], $addThumbnail[] and $authorAvatar works?