src/Api/Community.php
public function setBackgroundImage(string $imageData) : void
    {
        $url = $this->uploadImage('communityBackgroundImage', $imageData);

        $this->set([
            'backgroundImage' => [
                'sourceUrl' => $url
            ]
        ]);
    }
public function setBackgroundImage(string $imageData) : void
    {
        $url = $this->uploadImage('communityBackgroundImage', $imageData);

        $this->set([
            'backgroundImage' => [
                'sourceUrl' => $url
            ]
        ]);
    }
public function setBackgroundImage ( string $ imageData ) : void { $ url = $ this -> uploadImage ( 'communityBackgroundImage' , $ imageData ) ; $ this -> set ( [ 'backgroundImage' => [ 'sourceUrl' => $ url ] ] ) ; }
Sets the background image for the Community.

@param string $imageData Raw bytes of the image.
@return void
Sets the background image for the Community .