Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Update

Represent an update


Description

This object represents an incoming Update.

Usage

Update(data)

is.Update(x)

Arguments

data

Data of the update.

x

Object to be tested.

Format

An R6Class object.

Methods

from_chat_id

To get the id from the update's effective chat.

from_user_id

To get the id from the update's effective user.

effective_chat

To get the chat that this update was sent in, no matter what kind of update this is.

effective_user

To get the user that sent this update, no matter what kind of update this is.

effective_message

To get the message included in this update, no matter what kind of update this is.


telegram.bot

Develop a 'Telegram Bot' with R

v2.4.0
GPL-3
Authors
Ernest Benedito [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.