public function add($type, $params) {
        $params = array_merge(array('type' => $type), $params);
		return $this->master->call('files/add', $params);
	}
public function add($type, $params) {
        $params = array_merge(array('type' => $type), $params);
		return $this->master->call('files/add', $params);
	}
public function add ( $ type , $ params ) { $ params = array_merge ( array ( 'type' => $ type ) , $ params ) ; return $ this -> master -> call ( 'files/add' , $ params ) ; }
Add new file

@param string $type - mms|voice
@param array $params
@option string "url" URL address to file
@option resource "file" A file handler (only for MMS)
@return object
@option bool "success"
@option string "id"
Add new file