node-telegram-bot-api
node-telegram-bot-api copied to clipboard
How can I enable bot status sending a photo
I have a bot I need to add bot status sending a photo
You need to use the method "sendChatAction"
bot.sendChatAction(chatId, "upload_photo")
Ok I have the status but it doesn't show when the user generates another image
You need to call the sendChatAction and wait some seconds before send the image. Or the status is not show to user. Becuase you send the chatAction + the file at the same time. So the chatAction is not display in the client because you send the media in the end