Open nightrider77 opened 11 months ago
Hello
I can confirm that the bot supports file ID as well since i have it in use as well. How did you test it if i may ask ?
@nightrider77 Note that the file ID is locked to the bot that created it in the first place, so you can use the file ID from a file uploaded with a different bot. (As far as I recall)
According to Telegram's API, https://core.telegram.org/bots/api#senddocument sendDocument method can accept document or file_id as a reference to a file which already exists on their servers. Current version of php-telegram-bot doesn't support to pass file_id to this method, only path to local document.