You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
@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.
The text was updated successfully, but these errors were encountered: