Closed mhmmdq closed 3 years ago
Hi. Is it possible for the robot to send the Html file to the user? If yes I could not send the Html file using sendDocument, thank you for your help
Did you find a solution ?
hi yes
$content = ['chat_id' => $chat_id, 'document' => new CURLFile("file.html"), 'caption'=>$caption , 'reply_markup'=>$keyboard]; $telegram->sendDocument($content);
Hi. Is it possible for the robot to send the Html file to the user? If yes I could not send the Html file using sendDocument, thank you for your help