code: public function video($resource, $isReusable = false)
      {
          $payload = [
              'is_reusable' => $isReusable
          ];
  
          if (is_int($resource)) {
              $payload['attachment_id'] = $resource;
          } else {
              $payload['url'] = $resource;
          }
  
          $this->setAttachment('video', $payload);
  
          return $this;
      }
docs: Populate video
  
  @param string|int $resource Url or attachment id
  @param bool $isReusable Is reusable
  
  @return Message