I want to send an APK file from my server (URL) to my telegram bot
<?php 
    if ($update->callback_query->data == "app_dl"){
        $chat_id = $update->callback_query->message->chat->id;
        $document = "BQADBAAD2wADHg4hUfbD3f-YYGc3Ag";
        $caption = "text";
        var_dump(
            makeHTTPRequest('sendDocument',[
                'chat_id'=>$chat_id,
                'document'=> $document,
                'caption'=> $caption
            ])
        );  
    }
?>
I tried this one and send one APK file from telegram server to my bot but I want to send one APK file from my server to boot
 
     
    