sendDocument: sendDocument

Description Usage Arguments

View source: R/TGBot.R

Description

Send general files

Usage

1
2
3
4
5
6
sendDocument(
  document = NULL,
  disable_notification = NULL,
  reply_to_message_id = NULL,
  chat_id = NULL
)

Arguments

document

path to the file to send (required)

disable_notification

Sends the message silently. Users will receive a notification with no sound

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)


lbraglia/telegram documentation built on June 28, 2021, 3:34 a.m.