your code probably looks ok i dont think there is problem in it... maybe the problem is in the request itself, are you certain that the botToken provided is valid ?
try by curling a request there :
$ curl https://api.telegram.org/bot<token>/getMe
it should return a response with no error if the token we valid.