Core: Reset and manage file name download

Created on 5 Jun 2017  路  4Comments  路  Source: php-telegram-bot/core

When I download file, store the file under photos/file_xxx.jpg path on disk.
ex: file_11.jpg, file_12.jpg, file_13.jpg
How can I manage file name (file_xxx.jpg)?
And also how can I reset xxx number in contain of file name?

Most helpful comment

I believe that name and number is assigned by Telegram and you can't control it, you can only rename it after downloading.

All 4 comments

I believe that name and number is assigned by Telegram and you can't control it, you can only rename it after downloading.

I delete bot and create that again!!! 馃

I delete bot and create that again!!! 馃

Mind explaining what you mean by this? And if this changed anything?

For reset xxx number in file name ;-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marcolino7 picture marcolino7  路  3Comments

tchibomann picture tchibomann  路  3Comments

vansanblch picture vansanblch  路  3Comments

abbe-cipher picture abbe-cipher  路  4Comments

dorcu picture dorcu  路  3Comments