답변

0

현재 메시지 첨부 파일에 대한 정보를 얻을 수있는 API가 없습니다.

the docs에는 아무런 언급이 없으므로 이미지를 삭제할 것인지 잘 모르겠습니다. 이미지에 대한 영구적 인 액세스를 보장하려면 s3과 같은 위치에 이미지를 저장해야합니다.

이러한 예는 knox 사용 :

http.get('http://google.com/doodle.png', function(res){ 
    var headers = { 
     'Content-Length': res.headers['content-length'] 
    , 'Content-Type': res.headers['content-type'] 
    }; 
    client.putStream(res, '/doodle.png', headers, function(err, res){ 
    // Logic 
    }); 
});