src/LINEBot/MessageBuilder/Imagemap/VideoBuilder.php
public function build()
    {
        $video = [
            'originalContentUrl' => $this->originalContentUrl,
            'previewImageUrl' => $this->previewImageUrl,
            'area' => $this->areaBuilder->build()
        ];
        if ($this->externalLinkBuilder) {
            $video['externalLink'] = $this->externalLinkBuilder->build();
        }
        return $video;
    }
public function build()
    {
        $video = [
            'originalContentUrl' => $this->originalContentUrl,
            'previewImageUrl' => $this->previewImageUrl,
            'area' => $this->areaBuilder->build()
        ];
        if ($this->externalLinkBuilder) {
            $video['externalLink'] = $this->externalLinkBuilder->build();
        }
        return $video;
    }
public function build ( ) { $ video = [ 'originalContentUrl' => $ this -> originalContentUrl , 'previewImageUrl' => $ this -> previewImageUrl , 'area' => $ this -> areaBuilder -> build ( ) ] ; if ( $ this -> externalLinkBuilder ) { $ video [ 'externalLink' ] = $ this -> externalLinkBuilder -> build ( ) ; } return $ video ; }
Builds video of imagemap.

@return array
Builds video of imagemap .