$addThumbnail
Components v2
Adds a thumbnail component to the section.
Syntax
$addThumbnail[Image URL;Image description;Spoiler?;Section name]
This function counts as a component. A message can have a maximum of 40 components. You can’t add more than 3 components to a section.
Parameters
Image URL(Type: URL || Flag: Required): URL of the thumbnail image.Image description(Type: String || Flag: Emptiable): Alt text description for the image.Spoiler?(Type: Bool || Flag: Emptiable): Will the image have a spoiler effect?Section name(Type: String || Flag: Required): The name of the section to which the component will be attached.
Example
$nomention
$addSection[Section]
$addTextDisplay[Hello world!;Section]
$addThumbnail[$authorAvatar;My avatar;;Section]
How $addSection[], $authorAvatar and $addTextDisplay[] works?