public function storeTemporaryThumbnail (Thumbnail $thumbnail)
    {
        $json = $this->storeGenericMedia(MediaType::THUMBNAIL, false, $thumbnail);

        return (new Uploaded\Thumbnail($json->thumb_media_id))
            ->withExpiresDate($this->createExpiryDate($json->created_at));
    }
public function storeTemporaryThumbnail (Thumbnail $thumbnail)
    {
        $json = $this->storeGenericMedia(MediaType::THUMBNAIL, false, $thumbnail);

        return (new Uploaded\Thumbnail($json->thumb_media_id))
            ->withExpiresDate($this->createExpiryDate($json->created_at));
    }
public function storeTemporaryThumbnail ( Thumbnail $ thumbnail ) { $ json = $ this -> storeGenericMedia ( MediaType :: THUMBNAIL , false , $ thumbnail ) ; return ( new Uploaded \ Thumbnail ( $ json -> thumb_media_id ) ) -> withExpiresDate ( $ this -> createExpiryDate ( $ json -> created_at ) ) ; }
Uploads a thumbnail for temporary storage on the WeChat servers.

@param Thumbnail $thumbnail

@return Uploaded\Thumbnail
Uploads a thumbnail for temporary storage on the WeChat servers .