| TGBot {telegram} | R Documentation |
TGBot
Description
Package main class (implementing the Telegram bot).
Usage
TGBot
Format
An R6Class generator object.
API Methods
forwardMessageforward messages of any kind
getFileget info about a file and download it
getMetest your bot's auth token
getUpdatesreceive incoming updates
getUserProfilePhotosget a list of profile pictures for a user
sendAudiosend
mp3filessendDocumentsend general files
sendLocationsend point on the map
sendMessagesend text messages
sendPhotosend image files
sendStickersend
.webpstickerssendVideosend
mp4videossendVoicesend ogg files encoded with OPUS
References
Bots: An introduction for developers and Telegram Bot API
Examples
## Not run:
bot <- TGBot$new(token = bot_token('RBot'))
## End(Not run)
[Package telegram version 0.6.0 Index]