public function getRequestBody()
    {
        $body = [
            'status' => $this->getContent(),
        ];

        if ($this->imageIds) {
            $body['media_ids'] = $this->imageIds->implode(',');
        }

        return $body;
    }
public function getRequestBody()
    {
        $body = [
            'status' => $this->getContent(),
        ];

        if ($this->imageIds) {
            $body['media_ids'] = $this->imageIds->implode(',');
        }

        return $body;
    }
public function getRequestBody ( ) { $ body = [ 'status' => $ this -> getContent ( ) , ] ; if ( $ this -> imageIds ) { $ body [ 'media_ids' ] = $ this -> imageIds -> implode ( ',' ) ; } return $ body ; }
Build Twitter request body.

@return  array
Build Twitter request body .