Package: telegram.bot 3.0.0

telegram.bot: Develop a 'Telegram Bot' with R

Provides a pure interface for the 'Telegram Bot API' <http://core.telegram.org/bots/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.

Authors:Ernest Benedito [aut, cre], Chris Stefano [ctb]

telegram.bot_3.0.0.tar.gz
telegram.bot_3.0.0.zip(r-4.5)telegram.bot_3.0.0.zip(r-4.4)telegram.bot_3.0.0.zip(r-4.3)
telegram.bot_3.0.0.tgz(r-4.4-any)telegram.bot_3.0.0.tgz(r-4.3-any)
telegram.bot_3.0.0.tar.gz(r-4.5-noble)telegram.bot_3.0.0.tar.gz(r-4.4-noble)
telegram.bot_3.0.0.tgz(r-4.4-emscripten)telegram.bot_3.0.0.tgz(r-4.3-emscripten)
telegram.bot.pdf |telegram.bot.html
telegram.bot/json (API)
NEWS

# Install 'telegram.bot' in R:
install.packages('telegram.bot', repos = c('https://ebeneditos.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ebeneditos/telegram.bot/issues

On CRAN:

r-telegram-bottelegram-bot

8.56 score 107 stars 1 packages 125 scripts 702 downloads 35 exports 15 dependencies

Last updated 2 years agofrom:2e0964da65. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-winNOTEOct 29 2024
R-4.5-linuxNOTEOct 29 2024
R-4.4-winNOTEOct 29 2024
R-4.4-macNOTEOct 29 2024
R-4.3-winOKOct 29 2024
R-4.3-macOKOct 29 2024

Exports:as.BaseFilterBaseFilterBotbot_tokenCallbackQueryHandlerCommandHandlerDispatcherErrorHandlerForceReplyHandlerInlineKeyboardButtonInlineKeyboardMarkupInlineQueryResultis.BaseFilteris.Botis.Dispatcheris.ErrorHandleris.Handleris.InlineKeyboardButtonis.InlineQueryResultis.KeyboardButtonis.TelegramObjectis.Updateis.Updateris.WebhookKeyboardButtonMessageFiltersMessageHandlerReplyKeyboardMarkupReplyKeyboardRemoveTelegramObjectUpdateUpdateruser_idWebhook

Dependencies:askpasscurlfastmaphttpuvhttrjsonlitelatermagrittrmimeopensslpromisesR6Rcpprlangsys

Advanced Filters

Rendered fromtelegrambot-advanced-filters.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2019-04-27
Started: 2018-12-01

Basic Functionalities

Rendered fromtelegrambot-basic-functionalities.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2018-12-01
Started: 2018-11-10

Introduction to the API

Rendered fromtelegrambot-introduction.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2019-04-27
Started: 2018-11-10

Set a Proxy

Rendered fromtelegrambot-set-a-proxy.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2018-12-01
Started: 2018-11-12

The add operator

Rendered fromtelegrambot-the-add-operator.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2019-04-27
Started: 2018-12-01

Tutorial – Building an R Bot in 3 steps

Rendered fromtelegrambot-building-a-bot.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2022-08-17
Started: 2018-11-10

Readme and manuals

Help Manual

Help pageTopics
Constructing an Updater+.TelegramObject add
Add an error handleradd_error_handler
Add a handleradd_handler
Send answers to callback queriesanswerCallbackQuery
Send answers to an inline queryanswerInlineQuery
The base of all filtersas.BaseFilter BaseFilter is.BaseFilter
Creating a BotBot is.Bot
Get a token from environmentbot_token
Handling callback queriesCallbackQueryHandler
Check an updatecheck_update
Clean any pending updatesclean_updates
Handling commandsCommandHandler
Delete a messagedeleteMessage
Remove webhook integrationdeleteWebhook
The dispatcher of all updatesDispatcher is.Dispatcher
Edit a captioneditMessageCaption
Edit a reply markupeditMessageReplyMarkup
Edit a text messageeditMessageText
Get the effective chateffective_chat
Get the effective messageeffective_message
Get the effective usereffective_user
Handling errorsErrorHandler is.ErrorHandler
Combining filters! !.BaseFilter & &.BaseFilter filtersLogic | |.BaseFilter
Display a replyForceReply
Forward messages of any kindforwardMessage
Get an update's chat IDfrom_chat_id
Get an update's user IDfrom_user_id
Prepare a file for downloadinggetFile
Check your bot's informationgetMe
Receive incoming updatesgetUpdates
Get a user's profile photosgetUserProfilePhotos
Get current webhook statusgetWebhookInfo
Handle an updatehandle_update
The base of all handlersHandler is.Handler
Create an inline keyboard buttonInlineKeyboardButton is.InlineKeyboardButton
Create an inline keyboard markupInlineKeyboardMarkup
The base of inline query resultsInlineQueryResult is.InlineQueryResult
Create a keyboard buttonis.KeyboardButton KeyboardButton
Leave a chatleaveChat
Filter message updatesMessageFilters
Handling messagesMessageHandler
Create a keyboard markupReplyKeyboardMarkup
Remove a keyboardReplyKeyboardRemove
Retrieve the status of the Webhook.running
Send animation filessendAnimation
Send audio filessendAudio
Send a chat actionsendChatAction
Send general filessendDocument
Send point on the mapsendLocation
Send text messagessendMessage
Send image filessendPhoto
Send a stickersendSticker
Send a videosendVideo
Send video messagessendVideoNote
Send voice filessendVoice
Change your bot's auth tokenset_token
Set a webhooksetWebhook
Start pollingstart_polling
Start the webhook server.start_server
Stop pollingstop_polling
Stop the webhook server.stop_server
The base of telegram.bot objectsis.TelegramObject TelegramObject
Represent an updateis.Update Update
Building a Telegram Bot with Update Pollingis.Updater Updater
Get a user from environmentuser_id
Building a Telegram Bot with a Webhookis.Webhook Webhook