sendDocument {telegram}R Documentation

sendDocument

Description

Send general files

Usage

sendDocument(document = NULL, reply_to_message_id = NULL, chat_id = NULL)

Arguments

document

path to the file to send (required)

reply_to_message_id

if the message is a reply, ID of the original message

chat_id

Unique identifier for the target chat or username of the target channel (required)


[Package telegram version 0.6.0 Index]