Downloading Media ⤵️

Downloading Media

Media files are downloaded using HTTP GET. You must set the following HTTP headers in the download request.

  • "Content-type" = application/json
  • "Authorization" = "Bearer <Bot Token>"

Example: Authorization = "Bearer 90091783861271726:0:4ydsafdsInS5VIl3R4psQpsad"

The Bot Server download URL format is:

**https://<nandboxBotServer>:<port>/nandbox/download/545619652981.jpg

Language