$addMediaGallery
Components v2
Adds a media gallery to the message.
Syntax
$addMediaGallery[Gallery name;(Container name)]
Parameters
Gallery name(Type: String || Flag: Required): Name for attaching pictures to the gallery.Container name(Type: String || Flag: Optional): To which container body should the gallery be attached.
Example
$nomention
$addMediaGallery[pictures]
$addMediaGalleryItem[$authorAvatar;;;pictures]
How $addMediaGalleryItem[] and $authorAvatar works?