Trying to respond an inline query with an image using

a local instance of the Bot API and I get this error:

ERROR teloxide::error_handlers > Error: Api(Unknown("Bad Request: WEBDOCUMENT_URL_INVALID"))

Any ideas what could be happening?

This is the URL I'm using:

file:///home/maxwell/Pictures/12345.jpg

2 ответов

18 просмотров

Telegram supports only http and https types url

Michel- Автор вопроса

Telegram supports only http and https types url

The error also happens to when I use a local http server for the photo

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

Карта сайта