Chatbot using R

Greetings !

I happen to try creating a chatbot with R lately in Telegram, by following the steps in the link below -

Code :

install.packages("telegram.bot")

library(telegram.bot)

bot <- Bot(token = "TOKEN")

print(bot$getMe())

However, I got stuck with an error in the third line, when I type print(bot$getMe()) which reads as -

*Error in curl::curl_fetch_memory(url, handle = handle) : **
** schannel: failed to receive handshake, SSL/TLS connection failed

Any idea why this error happens and how to resolve it ?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.