Eleirbag89/TelegramBotPHP

error send photo in update.php file

NZ62AN opened this issue · 2 comments

i use update.php and get error Undefined variable '$message' in line:
//Download the file just sended
$file_id = $message['photo'][0]['file_id'];

Can you write your bot's code ?

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.