Hi guys! I have two bots: A & B I have

file_id's from bot A in my database, and i have to use this photo in B bot.

So i use getFile method and receive file_path. link with received file_path is valid, because i can download file threw browser.

But i receive an error while send photo to bot B: wrong file identifier/HTTP URL specified

Do you have some ideas, why it does not work?

3 ответов

34 просмотра

file_IDs are valid only for a single bot and cannot be shared between bots.

Vitalii-Shumanskyi Автор вопроса
Яico X
file_IDs are valid only for a single bot and canno...

I know. That's why i use getFile on bot A and get file_path for sending photo to bot B by URL

You need to download it and use the file path.

Похожие вопросы

Карта сайта