Media names received from incoming chats (including jpg, jpeg, png, mp4, mp3, and pdf) can be downloaded with the below URL:

Request URL
https://{{url}}/v5/assets/webhook/media_name

Sample URL request id is given below:

http://180.150.243.46/v5/assets/webhook/304d5d8d-025d-4807-9c0e-8afd9487f0c7.jpg