sendChatAction: sendChatAction

Description Usage Arguments

View source: R/TGBot.R

Description

Tell the user that something is happening on the bot's side

Usage

1
sendChatAction(action = NULL, chat_id = NULL)

Arguments

action

type of action to broadcast. Choose one, depending on what the user is about to receive: "typing" for text messages, "upload_photo" for photos, "record_video" or "upload_video" for videos, "record_voice" or "upload_voice" for voice notes, "upload_document" for general files, "find_location" for location data, "record_video_note" or "upload_video_note" for video notes.

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.