yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.35k stars 1.52k forks source link

How to trigger an Is Typing or Recording Event?? #1088

Closed fmPeretti closed 1 year ago

fmPeretti commented 1 year ago

Question

How to trigger an Is Typing or Recording Event??

fmPeretti commented 1 year ago

bot.sendChatAction(chatId, "record_audio"); this works

this are the other available actions // Type of action to broadcast. typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data.