Answer the question
In order to leave comments, you need to log in
How to send photo to telegram bot api?
I use this library to work with telegram bot api - https://github.com/HetIsNiels/TelegramWrapper , everything is fine, except that if I use the sendPhoto($caller->getChat()->id, $img_name, ' test');
($img_name is the full path to the image on the server), nothing happens, neither the image nor the message is sent
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question