| Update {telegram.bot} | R Documentation |
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_idTo get the
idfrom the update's effective chat.from_user_idTo get the
idfrom the update's effective user.effective_chatTo get the chat that this update was sent in, no matter what kind of update this is.
effective_userTo get the user that sent this update, no matter what kind of update this is.
effective_messageTo get the message included in this update, no matter what kind of update this is.
[Package telegram.bot version 3.0.0 Index]