aiogram / telegram-bot-api

Docker image of Telegram Bot API Server
https://hub.docker.com/r/aiogram/telegram-bot-api
165 stars 49 forks source link

File extension missed #15

Open goshgarmirzayev opened 5 months ago

goshgarmirzayev commented 5 months ago

Hello, I am using calling getFile endpoint and result is like this

{
    "ok": true,
    "result": {
        "file_id": "AgACAgIAAx0Cc-iEZQACFS9mU3kQP76tK26IMiLqQad96F7FRAACftUxGyq7oUr4MK3g6PNOCgEAAwIAA20AAzUE",
        "file_unique_id": "AQADftUxGyq7oUpy",
        "file_size": 22033,
        "file_path": "/photos/file_288"
    }
}

checked file in volume also file located without extension. Attaching docker-compose file

telegram-bot-api: image: aiogram/telegram-bot-api:latest environment: TELEGRAM_API_ID: "myAppId" TELEGRAM_API_HASH: "myHash" TELEGRAM_LOCAL: true ports:

  • 1002:8081 volumes:
  • telegram-bot-api-data:/var/lib/telegram-bot-api

can u provide a solution?