Eleirbag89/TelegramBotPHP

send photo with base64 url

ZalTVco opened this issue · 2 comments

Hi

how can send message with base64 url of image ? when i use base64, api not work

$content = array('chat_id' => $chat_id, 'photo' => $img );
$telegram->sendPhoto($content);

Are you sure should work ? Can you link me the docs ? You can only use a file_id or an InputFile.
Check the examples to see how I made it work

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.