This updates the telegram package by:
-
Adding
timeoutargument to thegetUpdatesfunction, so to use Long Polling. -
Keyboard displaying, which includes parameter
reply_markupfromsendMessagefunction with its objects:- ReplyKeyboardMarkup
- InlineKeyboardMarkup
- ReplyKeyboardRemove
- ForceReply
-
Adding
answerCallbackQuerymethod. -
Adding
sendChatActionmethod.
This version is being reviewed so to update the stable version, for now you can download its developers one with:
devtools::install_github('ebeneditos/telegram')Make sure you have the devtools package updated.