public function storeTemporaryAudio (Audio $audio)
    {
        $json = $this->storeGenericMedia(MediaType::AUDIO, false, $audio);

        return (new Uploaded\Audio($json->media_id))
            ->withExpiresDate($this->createExpiryDate($json->created_at));
    }
public function storeTemporaryAudio (Audio $audio)
    {
        $json = $this->storeGenericMedia(MediaType::AUDIO, false, $audio);

        return (new Uploaded\Audio($json->media_id))
            ->withExpiresDate($this->createExpiryDate($json->created_at));
    }
public function storeTemporaryAudio ( Audio $ audio ) { $ json = $ this -> storeGenericMedia ( MediaType :: AUDIO , false , $ audio ) ; return ( new Uploaded \ Audio ( $ json -> media_id ) ) -> withExpiresDate ( $ this -> createExpiryDate ( $ json -> created_at ) ) ; }
Uploads an audio item for temporary storage on the WeChat servers.

@param Audio $audio

@return Uploaded\Audio
Uploads an audio item for temporary storage on the WeChat servers .