{"repo":"ebeneditos/telegram.bot","free":true,"listed":false,"github":"https://github.com/ebeneditos/telegram.bot","clone":"git clone https://github.com/ebeneditos/telegram.bot.git","description":"Develop a Telegram Bot with R","language":"R","stars":112,"topics":["telegram-bot","r","cran","package","r-telegram-bot"],"license":"GPL-3.0","category":"ai-agents","readme_excerpt":"telegram.bot Develop a Telegram Bot with R This package provides a pure R interface for the Telegram Bot API. In addition to the pure API implementation, it features a number of tools to make the development of Telegram bots with R easy and straightforward, providing an easy-to-use interface that takes some work off the programmer. Installation You can install telegram.bot from CRAN: Or the development version from GitHub: Usage You can quickly build a chatbot with a few lines! If you don't have an access token ( TOKEN ), please follow the steps explained below to generate one. Updater Updater polls for new messages using the Telegram getUpdates API method and invokes your handlers when new messages are found. Replace TOKEN with the access token you generated. Webhook Webhook listens for messages POST'd to a webhook end-point URL, configured using the Telegram setWebhook API method, and invokes your handlers when new messages are received. Note that this method requires a publicly accessible end-point which Telegram is able to access. Replace TOKEN with the access token you generated and https://example.com/webhook with your end-point's publicly accessible URL. Security Consideration : It is recommended that you run the Webhook server behind a reverse proxy since it needs to be publicly accessible on the internet and thus needs to be secured. Telegram API Methods One of the core instances from the package is Bot , which represents a Telegram Bot. You can find a full list of t","default_branch":null,"files":null,"tree":[],"storefront":"/r/ebeneditos","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ebeneditos/telegram.bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}